diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-21 03:11:09 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-21 23:25:55 -0400 |
commit | 330234638e16b7b95e8e5e6be719a61a93f074b8 (patch) | |
tree | 46ca4313bc5bfdec551d1cea785674621cbbe41b /include/crypto/null.h | |
parent | 63293c61133447249d7e5b49d333f68825d30e43 (diff) |
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/null.h')
-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 @@ | |||
8 | #define NULL_DIGEST_SIZE 0 | 8 | #define NULL_DIGEST_SIZE 0 |
9 | #define NULL_IV_SIZE 0 | 9 | #define NULL_IV_SIZE 0 |
10 | 10 | ||
11 | struct crypto_blkcipher *crypto_get_default_null_skcipher(void); | ||
12 | void crypto_put_default_null_skcipher(void); | ||
13 | |||
11 | #endif | 14 | #endif |