summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2015-03-17 12:53:13 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-03-19 07:46:22 +0100
commit5f5d5331bb5e029264b9bc0cfbb3c32ec3158638 (patch)
tree000e810fd69a7a6de90fc7ba88c8688068092bb4 /crypto/Kconfig
parent18d778a06efe5bfc1984b34c6bc6b79e6ed6ecd1 (diff)
downloadbarebox-5f5d5331bb5e029264b9bc0cfbb3c32ec3158638.tar.gz
barebox-5f5d5331bb5e029264b9bc0cfbb3c32ec3158638.tar.xz
crypto: add pbkdf2 hmac key generator
this will allow to generate a KEY + IV based on a password and salt for AES encryption/decryption as example or simply the key for hmac or rsa from text password 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/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index e72b91ef79..b721e3049e 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -34,3 +34,8 @@ config DIGEST_HMAC
bool "HMAC"
endif
+
+config CRYPTO_PBKDF2
+ select DIGEST
+ select SHA1
+ bool