On Fri, 14 May 2021 at 13:46, Alexandru Gagniuc <mr.nuke...@gmail.com> 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 rsa_verify() is > defined differently based on #ifdefs. This change allows us to have > a single definition of rsa_verify(). > > Signed-off-by: Alexandru Gagniuc <mr.nuke...@gmail.com> > --- > common/image-sig.c | 9 --------- > lib/rsa/rsa-verify.c | 16 ++++++++++++++++ > 2 files changed, 16 insertions(+), 9 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org>