crypto: akcipher - Add sync interface without SG lists
authorHerbert Xu <herbert@gondor.apana.org.au>
Thu, 15 Jun 2023 10:28:46 +0000 (18:28 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 23 Jun 2023 08:15:36 +0000 (16:15 +0800)
commitaddde1f2c966833f210e9318b17050293086b8c6
tree6d4b3a4a3f38370d69789f05fb837f9a82d70fde
parent9979c6e55d2b54ed6e0ce69b6f7faa7889549402
crypto: akcipher - Add sync interface without SG lists

The only user of akcipher does not use SG lists.  Therefore forcing
users to use SG lists only results unnecessary overhead.  Add a new
interface that supports arbitrary kernel pointers.

For the time being the copy will be performed unconditionally.  But
this will go away once the underlying interface is updated.

Note also that only encryption and decryption is addressed by this
patch as sign/verify will go into a new interface (sig).

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/akcipher.c
include/crypto/akcipher.h