summaryrefslogtreecommitdiffstats
path: root/include/crypto
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2016-07-12 13:17:32 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2016-07-18 17:35:37 +0800
commita0129733a3f5eaa973c1ea76848d905b851548f1 (patch)
tree38cc14bf68e805cf0c5a7ea2b5998961fb10f63a /include/crypto
parent4e6c3df4d729f85997cbf276bfa8ffd8579b8e77 (diff)
downloadblackbird-op-linux-a0129733a3f5eaa973c1ea76848d905b851548f1.tar.gz
blackbird-op-linux-a0129733a3f5eaa973c1ea76848d905b851548f1.zip
crypto: null - Add new default null skcipher
Current the default null skcipher is actually a crypto_blkcipher. This patch creates a synchronous crypto_skcipher version of the null cipher which unfortunately has to settle for the name skcipher2. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r--include/crypto/null.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/null.h b/include/crypto/null.h
index 06dc30d9f56e..dda87cbb62b2 100644
--- a/include/crypto/null.h
+++ b/include/crypto/null.h
@@ -10,5 +10,7 @@
struct crypto_blkcipher *crypto_get_default_null_skcipher(void);
void crypto_put_default_null_skcipher(void);
+struct crypto_skcipher *crypto_get_default_null_skcipher2(void);
+void crypto_put_default_null_skcipher2(void);
#endif
OpenPOWER on IntegriCloud