[PATCH RFC 03/10] image: Add support for placing crypto_algo in linker lists

Simon Glass sjg at chromium.org
Sat May 15 17:20:12 CEST 2021


On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc <mr.nuke.me at gmail.com> wrote:
>
> 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 <mr.nuke.me at gmail.com>
> ---
>  common/image-sig.c | 9 +++++++++
>  include/image.h    | 5 +++++
>  2 files changed, 14 insertions(+)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list