9
0
Fork 0
barebox/arch/arm/crypto
Sascha Hauer fedba5aaef crypto: add digest_alloc_by_algo()
In barebox the function digest_alloc() allocates a digest based on a string.
When a subsystem already uses an integer value to identify a digest it makes no
sense to create a string and pass it to digest_alloc(), where it is parsed
again. This patch adds the possibility to get a digest by an enum.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2016-01-26 22:45:41 +01:00
..
.gitignore arm/crypto: add generated sha256-core.S to gitignore 2015-05-26 14:21:48 +02:00
Makefile arm: crypto: add sha256 assembly support 2015-03-27 07:49:45 +01:00
sha1-armv4-large.S arm: crypto: add sha1 assembly support 2015-03-27 07:49:45 +01:00
sha1_glue.c crypto: add digest_alloc_by_algo() 2016-01-26 22:45:41 +01:00
sha256-armv4.pl arm: crypto: add sha256 assembly support 2015-03-27 07:49:45 +01:00
sha256-core.S_shipped arm: crypto: add sha256 assembly support 2015-03-27 07:49:45 +01:00
sha256_glue.c crypto: add digest_alloc_by_algo() 2016-01-26 22:45:41 +01:00
sha256_glue.h arm: crypto: add sha256 assembly support 2015-03-27 07:49:45 +01:00