diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-05 16:29:57 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2013-11-05 16:29:57 +0100 |
commit | cb42b5b1fa81969e6d4056e0220374e8ded09651 (patch) | |
tree | 72b85d9cc8a551149467f770ec1752f540e3d3eb /src/methods/xsalsa20_poly1305 | |
parent | 4f9b5d66bc6b198dcf6e119fa05e891fce4e355f (diff) | |
download | fastd-cb42b5b1fa81969e6d4056e0220374e8ded09651.tar fastd-cb42b5b1fa81969e6d4056e0220374e8ded09651.zip |
Generalize cipher/MAC key/IV lengths
Diffstat (limited to 'src/methods/xsalsa20_poly1305')
-rw-r--r-- | src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c b/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c index 45bdc14..f7709bb 100644 --- a/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c +++ b/src/methods/xsalsa20_poly1305/xsalsa20_poly1305.c @@ -58,7 +58,7 @@ static size_t method_min_tail_space(fastd_context_t *ctx UNUSED) { } -static size_t method_key_length(fastd_context_t *ctx UNUSED) { +static size_t method_key_length(fastd_context_t *ctx UNUSED, const char *name UNUSED) { return crypto_secretbox_xsalsa20poly1305_KEYBYTES; } |