u-boot/drivers/crypto/fsl
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
..
desc.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
desc_constr.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
error.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
fsl_blob.c crypto: fsl: blob: Flush dcache range for destination address 2021-04-08 09:18:29 +02:00
fsl_hash.c crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
fsl_hash.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
fsl_mfgprot.c fsl_mfgprot: Fix typo in sign_mppubk() 2021-04-08 20:29:52 +02:00
fsl_rsa.c dm: Rename U_BOOT_DEVICE() to U_BOOT_DRVINFO() 2021-01-05 12:26:35 -07:00
jobdesc.c crypto/fsl: fix missed dma_addr_t -> caam_dma_addr_t conversion 2021-08-18 15:55:15 +05:30
jobdesc.h crypto/fsl: add RNG support 2020-07-27 14:16:29 +05:30
jr.c crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
jr.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00
Kconfig image: Drop if/elseif hash selection in calculate_hash() 2021-09-08 16:12:09 -04:00
Makefile imx8m: Add DEK blob encapsulation for imx8m 2021-04-08 20:29:52 +02:00
rng.c dm: treewide: Rename auto_alloc_size members to be shorter 2020-12-13 08:00:25 -07:00
rsa_caam.h SPDX: Convert all of our single license tags to Linux Kernel style 2018-05-07 09:34:12 -04:00
sec.c crypto/fsl: export caam_get_era() 2020-07-27 14:16:29 +05:30
type.h crypto: fsl: refactor for 32 bit version CAAM support on ARM64 2021-04-08 20:29:53 +02:00