summaryrefslogtreecommitdiff
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-05-21 10:11:09 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2015-05-22 06:25:55 +0300
commit330234638e16b7b95e8e5e6be719a61a93f074b8 (patch)
tree46ca4313bc5bfdec551d1cea785674621cbbe41b /include/crypto
parent63293c61133447249d7e5b49d333f68825d30e43 (diff)
downloadlinux-330234638e16b7b95e8e5e6be719a61a93f074b8.tar.xz
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.h3
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