diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-12 08:17:32 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-18 12:35:37 +0300 |
commit | a0129733a3f5eaa973c1ea76848d905b851548f1 (patch) | |
tree | 38cc14bf68e805cf0c5a7ea2b5998961fb10f63a /include/crypto | |
parent | 4e6c3df4d729f85997cbf276bfa8ffd8579b8e77 (diff) | |
download | linux-a0129733a3f5eaa973c1ea76848d905b851548f1.tar.xz |
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 @@ 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 |