coreboot/src
Julius Werner 22e49e5c1c rk3288: Implement support for CRYPTO module and use it in vboot hashing
This patch implements support for the CRYPTO module in RK3288 and ties
it into the new vboot vb2ex_hwcrypto API. We only implement SHA256 for
now, since the engine doesn't support SHA512 and it's very unlikely that
we'll ever use SHA1 for anything again.

BRANCH=None
BUG=chrome-os-partner:32987
TEST=Booted Pinky, confirmed that it uses the hardware crypto engine and
that firmware body hashing time dropped to about 1.5ms (from over 70ms).

Change-Id: I92510082b311a48a56224a4fc44b1bbce39b17ac
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/236436
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/242139
2015-01-21 01:16:58 +00:00
..
arch arm, arm64, mips: Add rough static stack size checks with -Wstack-usage 2015-01-21 01:16:47 +00:00
console Avoid 64bit math on MIPS platforms 2014-12-02 01:57:08 +00:00
cpu cbmem: Unify random on-CBMEM-init tasks under common CBMEM_INIT_HOOK() API 2014-12-04 04:01:59 +00:00
device Broadwell FSP: Add new finalize functions for devices and chips 2014-11-20 20:49:36 +00:00
drivers arm, arm64, mips: Add rough static stack size checks with -Wstack-usage 2015-01-21 01:16:47 +00:00
ec chromeec: Add wakeup delay after SPI /CS assertion 2014-10-01 06:53:27 +00:00
include FSP: Properly display the FSP HOB List pointer in the tables 2014-12-12 23:16:17 +00:00
lib arm, arm64, mips: Add rough static stack size checks with -Wstack-usage 2015-01-21 01:16:47 +00:00
mainboard rk3288: Add a config variable hack to skip display init 2015-01-21 01:16:42 +00:00
northbridge cbmem: Unify random on-CBMEM-init tasks under common CBMEM_INIT_HOOK() API 2014-12-04 04:01:59 +00:00
soc rk3288: Implement support for CRYPTO module and use it in vboot hashing 2015-01-21 01:16:58 +00:00
southbridge timestamp: remove conditional #if CONFIG_COLLECT_TIMESTAMPS 2014-11-07 01:24:01 +00:00
superio superio: ite8772f: Exit extemp busy state 2014-09-27 07:09:25 +00:00
vendorcode vboot2: Implement new vb2ex_hwcrypto API 2015-01-21 01:16:51 +00:00
Kconfig Kconfig: Fix incorrect CONFIG_STACK_SIZE values for X86 and ARM64 2014-12-20 06:35:28 +00:00