summaryrefslogtreecommitdiffstats
path: root/include/digest.h
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 /include/digest.h
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 'include/digest.h')
-rw-r--r--include/digest.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/digest.h b/include/digest.h
index fe30cc27e0..4552e58255 100644
--- a/include/digest.h
+++ b/include/digest.h
@@ -41,6 +41,7 @@ enum hash_algo {
HASH_ALGO_TGR_128,
HASH_ALGO_TGR_160,
HASH_ALGO_TGR_192,
+ HASH_ALGO_CRC32,
HASH_ALGO__LAST
};