summaryrefslogtreecommitdiff
path: root/sys/crypto
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2015-11-12 16:47:01 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2015-11-12 16:47:01 +0000
commit4faa19b6eb1496fb1e4d29ef8cb0add3d57498de (patch)
treeff47238eeea74eb340ea94ab733a5ab4af128999 /sys/crypto
parent1d63eb999cdbf5f2249c3941ba1580a0b0929e20 (diff)
spacing
Diffstat (limited to 'sys/crypto')
-rw-r--r--sys/crypto/chachapoly.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/crypto/chachapoly.c b/sys/crypto/chachapoly.c
index 013220900b0..ffaabd24312 100644
--- a/sys/crypto/chachapoly.c
+++ b/sys/crypto/chachapoly.c
@@ -88,9 +88,8 @@ Chacha20_Poly1305_Reinit(void *xctx, const uint8_t *iv, uint16_t ivlen)
int
Chacha20_Poly1305_Update(void *xctx, const uint8_t *data, uint16_t len)
{
- CHACHA20_POLY1305_CTX *ctx = xctx;
-
static const char zeroes[POLY1305_BLOCK_LEN];
+ CHACHA20_POLY1305_CTX *ctx = xctx;
size_t rem;
poly1305_update((poly1305_state *)&ctx->poly, data, len);