summaryrefslogtreecommitdiff
path: root/chacha-poly1305.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2015-01-30 15:12:38 +0100
committerNiels Möller <nisse@lysator.liu.se>2015-01-30 15:12:38 +0100
commitbb6be1a94fe2b2652d6bd73bf2de9ef0777b8dd1 (patch)
treef6055ac6b679355c607d8f882f324fafde894799 /chacha-poly1305.h
parentc631998044731bfa576cc5cee9d45ab17b808bbf (diff)
downloadnettle-bb6be1a94fe2b2652d6bd73bf2de9ef0777b8dd1.tar.gz
Update chacha-poly1305 for draft-irtf-cfrg-chacha20-poly1305-08.chacha96
Diffstat (limited to 'chacha-poly1305.h')
-rw-r--r--chacha-poly1305.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chacha-poly1305.h b/chacha-poly1305.h
index 9c2688b1..ce40b77a 100644
--- a/chacha-poly1305.h
+++ b/chacha-poly1305.h
@@ -53,7 +53,7 @@ extern "C" {
#define CHACHA_POLY1305_BLOCK_SIZE 64
/* FIXME: Any need for 128-bit variant? */
#define CHACHA_POLY1305_KEY_SIZE 32
-#define CHACHA_POLY1305_NONCE_SIZE CHACHA_NONCE_SIZE
+#define CHACHA_POLY1305_NONCE_SIZE CHACHA_NONCE96_SIZE
#define CHACHA_POLY1305_DIGEST_SIZE 16
struct chacha_poly1305_ctx