summaryrefslogtreecommitdiffstats
path: root/crypto/Makefile
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2016-01-06 18:01:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2016-01-26 22:45:41 +0100
commitfedba5aaef6d980a57380c7caf9a545b4457b29e (patch)
treec8366903dbbdd4f268071c77630aac6b3dfd0a8d /crypto/Makefile
parentbc94fb379a46f9b4dabc982953a8d553c909bedb (diff)
downloadbarebox-fedba5aaef6d980a57380c7caf9a545b4457b29e.tar.gz
barebox-fedba5aaef6d980a57380c7caf9a545b4457b29e.tar.xz
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>
Diffstat (limited to 'crypto/Makefile')
0 files changed, 0 insertions, 0 deletions