diff options
author | Nicolas Boichat <drinkcat@chromium.org> | 2017-09-08 09:15:52 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-11 04:43:00 -0700 |
commit | 9b9189669dcfc3996c35516fd3728e96119d9a19 (patch) | |
tree | d1b05636df71215417a99e161420bc4a0e5da94a /board | |
parent | 797d740727813c7b600e8ecd9df0bb87b0d39678 (diff) | |
download | chrome-ec-9b9189669dcfc3996c35516fd3728e96119d9a19.tar.gz |
poppy: Enable optimized SHA256 implementation
BRANCH=none
BUG=b:64196191
TEST=Boot soraka, hash done time goes down from ~1.30s to ~1.16s,
with a ~750 bytes code size increase.
Change-Id: I36c4253c4e89f35e13943041c9a0ddb61a314df8
Signed-off-by: Nicolas Boichat <drinkcat@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/656877
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/poppy/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/poppy/board.h b/board/poppy/board.h index 7d87a39d5f..63a3c0d9cb 100644 --- a/board/poppy/board.h +++ b/board/poppy/board.h @@ -45,6 +45,7 @@ #define CONFIG_SPI_FLASH_W25X40 #define CONFIG_UART_HOST 0 #define CONFIG_VBOOT_HASH +#define CONFIG_SHA256_UNROLLED #define CONFIG_VSTORE #define CONFIG_VSTORE_SLOT_COUNT 1 #define CONFIG_WATCHDOG_HELP |