From 626464da77810731495d34325989057a0dc9b38b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Tue, 4 Mar 2014 14:01:38 +0100 Subject: Drop support for 128-bit chacha keys. --- chacha.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'chacha.h') 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 @@ -70,9 +68,6 @@ struct chacha_ctx uint32_t state[_CHACHA_STATE_LENGTH]; }; -void -chacha128_set_key(struct chacha_ctx *ctx, const uint8_t *key); - void chacha256_set_key(struct chacha_ctx *ctx, const uint8_t *key); -- cgit v1.2.1