diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-02-10 19:26:51 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-02-10 19:26:51 +0100 |
commit | 764a4813828e85b47cdd955c2095e2080160b4df (patch) | |
tree | 4bc904e6da61e6a32361ef730649fcd703c37717 /nettle-internal.c | |
parent | db9a1b61a13ca2d2d8003b6ff9c9cd7f398ea7ac (diff) | |
download | nettle-764a4813828e85b47cdd955c2095e2080160b4df.tar.gz |
Renamed chacha_set_iv to chacha_set_nonce.
Diffstat (limited to 'nettle-internal.c')
-rw-r--r-- | nettle-internal.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nettle-internal.c b/nettle-internal.c index 6733a3f1..92156982 100644 --- a/nettle-internal.c +++ b/nettle-internal.c @@ -77,9 +77,9 @@ nettle_blowfish128 = static void chacha_set_key_hack(void *ctx, const uint8_t *key) { - static const uint8_t iv[CHACHA_IV_SIZE]; + static const uint8_t nonce[CHACHA_NONCE_SIZE]; chacha256_set_key (ctx, key); - chacha_set_iv (ctx, iv); + chacha_set_nonce (ctx, nonce); } /* Claim zero block size, to classify as a stream cipher. */ |