Messages in this thread | | | Date | Thu, 21 Mar 2019 20:11:24 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH v7 02/11] crypto: akcipher - check the presence of callback before the call |
| |
On Thu, Mar 21, 2019 at 02:42:10PM +0300, Vitaly Chikunov wrote: > > I guess patch "PATCH v7 01/11] KEYS: report to keyctl only actually > supported key ops" should also be removed and will infer anything from > presence of the callbacks.
Indeed. Especially if this is exposed to user-space then you need to be careful changing the user-space API by clearing the verify/sign bits for raw RSA.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |