Re: [RFC PATCH 1/4] X.509: Parse public key parameters from x509 for akcipher

From: Herbert Xu
Date: Thu Feb 28 2019 - 01:15:42 EST


On Sun, Feb 24, 2019 at 09:48:40AM +0300, Vitaly Chikunov wrote:
>
> If we pass SubjectPublicKeyInfo into set_pub_key itself (making
> set_params not needed) we will break ABI and compatibility with RSA
> drivers, because whole SubjectPublicKeyInfo is not expected by the

This compatibility does not matter. We can always add translating
layers into the crypto API to deal with this. The only ABI that
matters is the one to user-space.

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