summaryrefslogtreecommitdiff
path: root/chacha-poly1305.c
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-05-05 23:21:20 +0200
committerNiels Möller <nisse@lysator.liu.se>2014-05-05 23:21:20 +0200
commit28302cb772a62225c4ddf0f0f35dfee935781854 (patch)
treef81acf4e93e83864fe584ce33996c364e25cffd6 /chacha-poly1305.c
parent46e3e9a0c5fc89378dd22448a057d81276f4c97a (diff)
downloadnettle-28302cb772a62225c4ddf0f0f35dfee935781854.tar.gz
Added FIXME comment. Auto-increment for chacha-poly1305 nonce?
Diffstat (limited to 'chacha-poly1305.c')
-rw-r--r--chacha-poly1305.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/chacha-poly1305.c b/chacha-poly1305.c
index cb95bf7b..83be9ee8 100644
--- a/chacha-poly1305.c
+++ b/chacha-poly1305.c
@@ -44,6 +44,8 @@
#define CHACHA_ROUNDS 20
+/* FIXME: Also set nonce to zero, and implement nonce
+ auto-increment? */
void
chacha_poly1305_set_key (struct chacha_poly1305_ctx *ctx,
const uint8_t *key)