summaryrefslogtreecommitdiff
path: root/chacha.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2014-03-04 14:01:38 +0100
committerNiels Möller <nisse@lysator.liu.se>2014-03-04 14:01:38 +0100
commit626464da77810731495d34325989057a0dc9b38b (patch)
treeaba8104d33997118408d3d94250f3f51871e754c /chacha.h
parent2c09c732222df4d25cb9e943201d05726feb73e2 (diff)
downloadnettle-626464da77810731495d34325989057a0dc9b38b.tar.gz
Drop support for 128-bit chacha keys.
Diffstat (limited to 'chacha.h')
-rw-r--r--chacha.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/chacha.h b/chacha.h
index ae393435..8f703dec 100644
--- a/chacha.h
+++ b/chacha.h
@@ -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