summaryrefslogtreecommitdiff
path: root/test/test_config.h
diff options
context:
space:
mode:
authorNicolas Boichat <drinkcat@google.com>2017-06-10 10:44:46 +0800
committerchrome-bot <chrome-bot@chromium.org>2017-06-14 05:59:37 -0700
commitc5b31e3868079b50d3f0db72632271d2b1eedea8 (patch)
tree1fa198885df7630128e6735d0ea613ee9de122ce /test/test_config.h
parent98dc270b23ae2fc931ffb4960dd1c2127fed4c8f (diff)
downloadchrome-ec-c5b31e3868079b50d3f0db72632271d2b1eedea8.tar.gz
sha256: add support for hmac_sha256, and add test for sha256
BRANCH=none BUG=b:38486828 TEST=make run-sha256 TEST=make buildall -j Change-Id: I4c5b5d81ae5650ebfbdc989a0d860eeb0a60f68b Reviewed-on: https://chromium-review.googlesource.com/530207 Commit-Ready: Nicolas Boichat <drinkcat@chromium.org> Tested-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Nicolas Boichat <drinkcat@chromium.org> Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'test/test_config.h')
-rw-r--r--test/test_config.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_config.h b/test/test_config.h
index d59652ec2b..bbcd1172ee 100644
--- a/test/test_config.h
+++ b/test/test_config.h
@@ -67,6 +67,10 @@
#define CONFIG_RWSIG_TYPE_RWSIG
#endif
+#ifdef TEST_SHA256
+#define CONFIG_SHA256
+#endif
+
#ifdef TEST_SHMALLOC
#define CONFIG_MALLOC
#endif