Re: [PATCH v12 06/10] crypto: Add supplementary info param to asymmetric key signature verification
From: David Howells
Date: Tue Jan 20 2026 - 18:39:59 EST
Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> As I'm sure you're aware, C has native support for function parameters.
And we have a syscall interface to honour that takes a parameter string *for
this very purpose*. It just wasn't threaded into the akcipher API.
> This is yet another example of a case where trying to fit different
> algorithms into a generic API doesn't work well.
Well enough.
> We should just have a library API for each signature algorithm, with
> each algorithm taking the parameters it needs.
No, we shouldn't. We have a library that allows demand loadable modules. We
should use that.
David