Messages in this thread | | | Date | Fri, 22 Nov 2019 18:34:17 +0800 | From | Herbert Xu <> | Subject | Re: [PATCH 01/12] crypto: add helper function for akcipher_request |
| |
On Fri, Nov 22, 2019 at 10:29:01AM +0000, Iuliana Prodan wrote: > > Why can't we use this? There are similar functions for > skcipher/aead/ahash and they are all in include/crypto.
Because we don't want drivers to use the underlying crypto_request at all. All drivers should be using the aead_request and others.
Only infrastructure code such as crypto_engine may use the base type internally.
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
| |