diff options
author | Cristian Stoica <cristian.stoica@nxp.com> | 2018-11-08 15:36:29 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-11-16 14:11:03 +0800 |
commit | e17e9c2c8b407d44f8a555f99507ec7cbf636d51 (patch) | |
tree | 0a69afda97dfcf1963d4869f1ae54b754cf145b3 /crypto | |
parent | 5284ddc46d3cca209f09835034eafee3c777a2a7 (diff) | |
download | linux-crypto-e17e9c2c8b407d44f8a555f99507ec7cbf636d51.tar.gz linux-crypto-e17e9c2c8b407d44f8a555f99507ec7cbf636d51.zip |
crypto: chacha20poly1305 - export CHACHAPOLY_IV_SIZE
Move CHACHAPOLY_IV_SIZE to header file, so it can be reused.
Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
-rw-r--r-- | crypto/chacha20poly1305.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/chacha20poly1305.c b/crypto/chacha20poly1305.c index 600afa99..f9dd5453 100644 --- a/crypto/chacha20poly1305.c +++ b/crypto/chacha20poly1305.c @@ -22,8 +22,6 @@ #include "internal.h" -#define CHACHAPOLY_IV_SIZE 12 - struct chachapoly_instance_ctx { struct crypto_skcipher_spawn chacha; struct crypto_ahash_spawn poly; |