diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-21 15:11:09 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-22 11:25:55 +0800 |
commit | 330234638e16b7b95e8e5e6be719a61a93f074b8 (patch) | |
tree | 46ca4313bc5bfdec551d1cea785674621cbbe41b /include/crypto | |
parent | 63293c61133447249d7e5b49d333f68825d30e43 (diff) | |
download | linux-330234638e16b7b95e8e5e6be719a61a93f074b8.tar.gz linux-330234638e16b7b95e8e5e6be719a61a93f074b8.tar.bz2 linux-330234638e16b7b95e8e5e6be719a61a93f074b8.zip |
crypto: null - Add default null skcipher
This patch adds a default null skcipher for users such as gcm
to perform copies on SG lists.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/null.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/crypto/null.h b/include/crypto/null.h index b7c864cc70df..06dc30d9f56e 100644 --- a/include/crypto/null.h +++ b/include/crypto/null.h @@ -8,4 +8,7 @@ #define NULL_DIGEST_SIZE 0 #define NULL_IV_SIZE 0 +struct crypto_blkcipher *crypto_get_default_null_skcipher(void); +void crypto_put_default_null_skcipher(void); + #endif |