Go to file
Nicolas Boichat 15dd79c1a2 aes-gcm: Adapt AES-GCM to build for EC
Update header, C code, trim unnecessary bits.

Also add a test with vectors taken from BoringSSL tests.

BRANCH=none
BUG=b:111160949
TEST=make run-aes -j
TEST=make BOARD=nocturne_fp test-aes -j
     flash_fp_mcu aes.bin
     runtest => pass
     (C implementation speed: 909555 us for 1000 iterations)
     (ASM implementation speed: 596690 us for 1000 iterations)

Change-Id: Ief54a8441d26ba44de4c3ac81e203cab7472269f
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1141446
Commit-Ready: Nicolas Norvez <norvez@chromium.org>
Reviewed-by: Nicolas Norvez <norvez@chromium.org>
2018-09-21 00:50:59 -07:00
baseboard meep: Add clamshell Suspend LED Behavior 2018-09-20 05:15:20 -07:00
board Fizz: Remove remote temp sensor 2 2018-09-20 21:30:13 -07:00
builtin fuzz: Hide conflicts with cstdlib and use clang++ for linking. 2018-09-07 18:36:33 -07:00
chip g: fix i2cm NACK processing 2018-09-20 11:39:53 -07:00
common aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
core aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
cts eCTS: Run openocd and lsusb as a root 2017-07-08 20:38:53 -07:00
docs docs: Document low-battery compatibility config. 2018-08-31 05:23:10 -07:00
driver driver/led/lm3630a: Only set brightness after 100+ms. 2018-09-20 21:30:00 -07:00
extra gsctool: refactor USB interface 2018-09-17 21:34:52 -07:00
fuzz cr50_fuzz: Add missing include and define. 2018-09-12 23:19:11 +00:00
include aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
power power: add chipset_in_or_transitioning_to_state 2018-09-07 18:37:06 -07:00
test aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
third_party/boringssl aes-gcm: Adapt AES-GCM to build for EC 2018-09-21 00:50:59 -07:00
util rollback: Add host command to query rollback information 2018-09-20 21:30:02 -07:00
.checkpatch.conf checkpatch: prevent stupid complaints about description title 2016-07-21 13:13:27 -07:00
.clang-format ec: Add .clang-format 2018-05-02 22:20:48 -07:00
.gitignore Makefile.rules: Add targets to see file size differences 2016-11-15 17:43:21 -08:00
COMMIT-QUEUE.ini kevin/gru: remove board almost completely 2018-06-21 19:56:34 -07:00
LICENSE Add LICENSE file to project 2012-05-11 09:11:52 -07:00
Makefile Add rules for building protocol buffers. 2018-09-07 18:36:35 -07:00
Makefile.rules Add rules for building protocol buffers. 2018-09-07 18:36:35 -07:00
Makefile.toolchain Add rules for building protocol buffers. 2018-09-07 18:36:35 -07:00
OWNERS Add OWNERS files 2014-04-02 19:58:53 +00:00
PRESUBMIT.cfg presubmit_check: disable SPDX_LICENSE_TAG check 2018-06-12 21:50:39 -07:00
README README: Add link to quick-build instructions 2015-12-07 13:49:35 -08:00
README.fmap Update EC config and FMAP to reserve room for vboot signatures 2012-05-04 14:42:58 -07:00
setup.py util: correct unpack_ftb 2018-06-19 03:48:52 -07:00

README

For an overview of the Embedded Controller firmware, refer to

http://www.chromium.org/chromium-os/2014-firmware-summit

For instructions on building from source, refer to

http://www.chromium.org/chromium-os/ec-development/getting-started-building-ec-images-quickly