summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2015-03-11 17:53:08 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-13 08:32:28 +0100
commit2f3c3f512b2ff5023a4177e167eb6b55055fe883 (patch)
tree3df19abcf2a21b3909037825bed82f723901a37e /crypto/Kconfig
parent3a436924121456c1347acedac31c9e19b2893565 (diff)
downloadbarebox-2f3c3f512b2ff5023a4177e167eb6b55055fe883.tar.gz
barebox-2f3c3f512b2ff5023a4177e167eb6b55055fe883.tar.xz
digest: add HMAC support for md5, sha1, sha224, sha256, sha384, sha512
the hmac algo will be registered as hmac(%s) such as hmac(sha256) Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 3b78a147e3..e72b91ef79 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -30,4 +30,7 @@ config SHA384
config SHA512
bool "SHA512"
+config DIGEST_HMAC
+ bool "HMAC"
+
endif