summaryrefslogtreecommitdiffstats
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2016-05-25 09:51:13 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2016-05-25 10:41:30 +0200
commit61ddbd35207af8dbd9b1a0c17619148179235203 (patch)
tree5cabed596de7a799467f2571a610dd044adb1fd2 /crypto/Kconfig
parent57a648aabbb3e399cde3dcda749f8cb34b53b569 (diff)
downloadbarebox-61ddbd35207af8dbd9b1a0c17619148179235203.tar.gz
barebox-61ddbd35207af8dbd9b1a0c17619148179235203.tar.xz
crypto: add CRC32 digest
CRC32 digest can be used to check CRC32 hashes in FIT images etc. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 9b347f872f..6d65c24d4f 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -36,6 +36,10 @@ config SHA512
config DIGEST_HMAC
bool
+config DIGEST_CRC32_GENERIC
+ bool "CRC32"
+ select CRC32
+
config DIGEST_MD5_GENERIC
bool "MD5"
select MD5