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

From: Herbert Xu
Date: Thu Feb 28 2019 - 02:51:56 EST


On Thu, Feb 28, 2019 at 10:04:49AM +0300, Vitaly Chikunov wrote:
>
> It seems that you insist on set_params to be removed and both key and
> params to be passed into set_{pub,priv}_key. This means reworking all
> existing RSA drivers and callers, right? Can you please confirm that
> huge rework to avoid misunderstanding?

I don't understand why we even need to touch the existing RSA
drivers. Nothing needs to change as far as they're concerned.

Only the new algorithms would need to decode the extra parameters
in the key stream.

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