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. Cheers, -- Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt