* A mea culpa undefined reference in v2021.10-rc2, padding_algos, linker lists
@ 2021-08-18 19:10 Alex G.
2021-08-19 15:56 ` Simon Glass
0 siblings, 1 reply; 2+ messages in thread
From: Alex G. @ 2021-08-18 19:10 UTC (permalink / raw)
To: Simon Glass; +Cc: u-boot
Hi Simon,
I'm seeing an undefined reference to padding_pkcs_15_verify with
v2021.10-rc2. It happens when enabling FIT_SIGNATURE. I've tracked it
down to the following two commits:
commit 92c960bc1d ("lib: rsa: Remove #ifdefs from rsa.h")
commit 61416fe9df ("Kconfig: FIT_SIGNATURE should not select RSA_VERIFY")
Individually, each commit is fine, but when put together, they cause the
issue, as the static inline padding_pkcs_15_verify() implementation is
removed from rsa.h.
My hypothesis is that moving padding_algos to a linker list will solve
this specific problem. I realize you might be working on the same part
of the code. Should I address this issue, or should I wait for your series?
Alex
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: A mea culpa undefined reference in v2021.10-rc2, padding_algos, linker lists
2021-08-18 19:10 A mea culpa undefined reference in v2021.10-rc2, padding_algos, linker lists Alex G.
@ 2021-08-19 15:56 ` Simon Glass
0 siblings, 0 replies; 2+ messages in thread
From: Simon Glass @ 2021-08-19 15:56 UTC (permalink / raw)
To: Alex G.; +Cc: u-boot
Hi Alex,
On Wed, 18 Aug 2021 at 13:11, Alex G. <mr.nuke.me@gmail.com> wrote:
>
> Hi Simon,
>
> I'm seeing an undefined reference to padding_pkcs_15_verify with
> v2021.10-rc2. It happens when enabling FIT_SIGNATURE. I've tracked it
> down to the following two commits:
>
> commit 92c960bc1d ("lib: rsa: Remove #ifdefs from rsa.h")
> commit 61416fe9df ("Kconfig: FIT_SIGNATURE should not select RSA_VERIFY")
>
> Individually, each commit is fine, but when put together, they cause the
> issue, as the static inline padding_pkcs_15_verify() implementation is
> removed from rsa.h.
>
> My hypothesis is that moving padding_algos to a linker list will solve
> this specific problem. I realize you might be working on the same part
> of the code. Should I address this issue, or should I wait for your series?
No I'm not doing anything here actually. I did rebase my image series
but have not touched it since. One day.
Regards,
Simon
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-08-19 15:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-18 19:10 A mea culpa undefined reference in v2021.10-rc2, padding_algos, linker lists Alex G.
2021-08-19 15:56 ` Simon Glass
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.