summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaisuke Nojiri <dnojiri@chromium.org>2018-06-01 14:40:54 +0000
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2018-06-01 14:44:39 +0000
commit2fb994d165bea5f93d8708526d3b2b252a105611 (patch)
tree6ca89fa887c90f2bb346a2917e5b093b607c585c
parent0cf09d21ed76a48e1295f16d456e48893fd802ae (diff)
downloadchrome-ec-2fb994d165bea5f93d8708526d3b2b252a105611.tar.gz
Revert "fizz: Enable optimized SHA256/RSA in RO only"
This reverts commit 0cf09d21ed76a48e1295f16d456e48893fd802ae. Reason for revert: <INSERT REASONING HERE> Original change's description: > fizz: Enable optimized SHA256/RSA in RO only > > Decreases verification time from 923ms to 785ms. > > Optimized version do not really help in RW, as they just increase > the image size (which also increases verification time). > > BRANCH=fizz > BUG=b:77608104 > TEST=make BOARD=fizz -j, flash fizz, check timing. > > Change-Id: Ia8c36c35c0321c1995dc1cede7b27f7636037795 > Signed-off-by: Nicolas Boichat <drinkcat@chromium.org> > Reviewed-on: https://chromium-review.googlesource.com/1075908 > Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> > (cherry picked from commit 3c4a912e67ad0f0635c77ef4a30f07397fb06be7) > Reviewed-on: https://chromium-review.googlesource.com/1079470 > Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org> > Tested-by: Daisuke Nojiri <dnojiri@chromium.org> Bug: b:77608104 Change-Id: Idebbfc5735d1d52e23d08a1ca5c14b866f312126 Reviewed-on: https://chromium-review.googlesource.com/1081973 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org> Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
-rw-r--r--board/fizz/board.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/board/fizz/board.h b/board/fizz/board.h
index 37bc04055f..06834c6e5b 100644
--- a/board/fizz/board.h
+++ b/board/fizz/board.h
@@ -171,13 +171,7 @@
#define CONFIG_RWSIG
#define CONFIG_RWSIG_TYPE_RWSIG
#define CONFIG_RSA
-#ifdef SECTION_IS_RO
-#define CONFIG_RSA_OPTIMIZED
-#endif
#define CONFIG_SHA256
-#ifdef SECTION_IS_RO
-#define CONFIG_SHA256_UNROLLED
-#endif
#define CONFIG_RSA_KEY_SIZE 3072
#define CONFIG_RSA_EXPONENT_3