diff options
author | Niels Möller <nisse@lysator.liu.se> | 2014-03-04 14:01:38 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2014-03-04 14:01:38 +0100 |
commit | 626464da77810731495d34325989057a0dc9b38b (patch) | |
tree | aba8104d33997118408d3d94250f3f51871e754c /chacha.h | |
parent | 2c09c732222df4d25cb9e943201d05726feb73e2 (diff) | |
download | nettle-626464da77810731495d34325989057a0dc9b38b.tar.gz |
Drop support for 128-bit chacha keys.
Diffstat (limited to 'chacha.h')
-rw-r--r-- | chacha.h | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -37,14 +37,12 @@ extern "C" { /* Name mangling */ #define chacha_set_key nettle_chacha_set_key -#define chacha128_set_key nettle_chacha128_set_key #define chacha256_set_key nettle_chacha256_set_key #define chacha_set_nonce nettle_chacha_set_nonce #define chacha_crypt nettle_chacha_crypt #define _chacha_core _nettle_chacha_core /* Possible keysizes, and a reasonable default. In octets. */ -#define CHACHA128_KEY_SIZE 16 #define CHACHA256_KEY_SIZE 32 #define CHACHA_KEY_SIZE 32 @@ -71,9 +69,6 @@ struct chacha_ctx }; void -chacha128_set_key(struct chacha_ctx *ctx, const uint8_t *key); - -void chacha256_set_key(struct chacha_ctx *ctx, const uint8_t *key); void |