On Sat, 24 Jun 2023 at 09:47, Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote: > > On Sat, Jun 24, 2023 at 09:40:59AM +0200, Ard Biesheuvel wrote: > > > > How is this supposed to work when > > CONFIG_ASYMMETRIC_PUBLIC_KEY_SUBTYPE=y but SM2 is configured as a > > module? > > It will fail as it did previously. I'm just rearranging the code. > Perhaps when another algorithm that requires a non-standard digest > comes up we can think up of a proper abstraction. > Fair enough.