]> Git Repo - J-u-boot.git/commit
image: Add support for placing crypto_algo in linker lists
authorAlexandru Gagniuc <[email protected]>
Wed, 14 Jul 2021 22:05:39 +0000 (17:05 -0500)
committerTom Rini <[email protected]>
Fri, 16 Jul 2021 16:58:56 +0000 (12:58 -0400)
commit0980164b1306400e91e5ac389a514111ff74fc01
tree402e82c22bfd77d66930daef21ec465c513d0734
parentcab22c8890e97e8b557295ba2177e26392720765
image: Add support for placing crypto_algo in linker lists

The purpose of this change is to enable crypto algorithms to be placed
in linker lists, rather than be declared as a static array. The goal
is to remove the crypto_algos array in a subsequent patch.

Create a new linker list named "cryptos", and search it when
image_get_crypto_algo() is invoked.

NOTE that adding support for manual relocation of crypto_algos within
linker lists is beyond the scope of this patch.

Signed-off-by: Alexandru Gagniuc <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
common/image-sig.c
include/image.h
This page took 0.035909 seconds and 4 git commands to generate.