summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authornagendra modadugu <ngm@google.com>2016-12-13 10:20:54 -0800
committerchrome-bot <chrome-bot@chromium.org>2016-12-13 23:49:39 -0800
commitc7ea2c9125b9d6be9a52c6358e2892ff67e404c7 (patch)
tree9d5c7cfd87257346cc042bae57a32c18ae2cc3f3 /include
parentd3e662bf77234755c0483643dac5a6a74beda3ea (diff)
downloadchrome-ec-c7ea2c9125b9d6be9a52c6358e2892ff67e404c7.tar.gz
CR50: make SHA512 a config option
Turn SHA512 support into a config option so that boards may individually enable SHA512 support. BRANCH=none BUG=chromium:673778 CQ-DEPEND=CL:419578 TEST=make buildall succeeds Change-Id: Ib857a3e97f1c2ec7066ae23ac725c7bf3d194e01 Signed-off-by: nagendra modadugu <ngm@google.com> Reviewed-on: https://chromium-review.googlesource.com/419327 Commit-Ready: Nagendra Modadugu <ngm@google.com> Tested-by: Nagendra Modadugu <ngm@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'include')
-rw-r--r--include/config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h
index 7519fb6d58..43b7c141bf 100644
--- a/include/config.h
+++ b/include/config.h
@@ -762,6 +762,10 @@
* only supported on CR50.
*/
#undef CONFIG_DCRYPTO
+/*
+ * When enabled build support for SHA-384/512, requires CONFIG_DCRYPTO.
+ */
+#undef CONFIG_UPTO_SHA512
/*****************************************************************************/
/*