u-boot/drivers/crypto
Alexandru Gagniuc 92055e138f image: Drop if/elseif hash selection in calculate_hash()
calculate_hash() would try to select the appropriate hashing function
by a if/elseif contruct. But that is exactly why hash_lookup_algo()
exists, so use it instead.

This does mean that we now have to 'select HASH' to make sure we get
the hash_lookup_algo() symbol. However, the change makes sense because
even basic FITs will have to deal with "hash" nodes.

My only concern is that the 'select SPL_HASH' might cause some
platform to grow above its SPL size allowance

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
[trini: Make FSL_CAAM be implied only on ARM && SPL]
Signed-off-by: Tom Rini <trini@konsulko.com>
2021-09-08 16:12:09 -04:00
..
fsl image: Drop if/elseif hash selection in calculate_hash() 2021-09-08 16:12:09 -04:00
rsa_mod_exp dm: define LOG_CATEGORY for all uclass 2021-07-06 10:38:03 -06:00
ace_sha.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
ace_sha.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
Kconfig drivers: hierarchize drivers Kconfig menu 2015-08-12 20:47:44 -04:00
Makefile SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00