Re: [PATCH RFC 05/10] image: rsa: Move verification algorithm to a linker list

2021-05-15 Thread Simon Glass
On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc wrote: > > Move the RSA verification crytpo_algo structure out of the > crypto_algos array, and into a linker list. > > Although it appears we are adding an #ifdef to rsa-verify.c, the gains > outweigh this small inconvenience. This is because

[PATCH RFC 05/10] image: rsa: Move verification algorithm to a linker list

2021-05-14 Thread Alexandru Gagniuc
Move the RSA verification crytpo_algo structure out of the crypto_algos array, and into a linker list. Although it appears we are adding an #ifdef to rsa-verify.c, the gains outweigh this small inconvenience. This is because rsa_verify() is defined differently based on #ifdefs. This change allows