diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-12 01:17:32 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-18 05:35:37 -0400 |
commit | a0129733a3f5eaa973c1ea76848d905b851548f1 (patch) | |
tree | 38cc14bf68e805cf0c5a7ea2b5998961fb10f63a /include/crypto | |
parent | 4e6c3df4d729f85997cbf276bfa8ffd8579b8e77 (diff) |
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.h | 2 |
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 @@ | |||
10 | 10 | ||
11 | struct crypto_blkcipher *crypto_get_default_null_skcipher(void); | 11 | struct crypto_blkcipher *crypto_get_default_null_skcipher(void); |
12 | void crypto_put_default_null_skcipher(void); | 12 | void crypto_put_default_null_skcipher(void); |
13 | struct crypto_skcipher *crypto_get_default_null_skcipher2(void); | ||
14 | void crypto_put_default_null_skcipher2(void); | ||
13 | 15 | ||
14 | #endif | 16 | #endif |