diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2018-06-02 21:23:41 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-06-14 16:30:45 +0200 |
commit | aa54b849c102e9cc433201f849f1e8ad029a9a80 (patch) | |
tree | 45adc19bc1836ed8fe67cbcc90078b4685cad806 /lib/gnutls_int.h | |
parent | cc5c1553d44b68f99e58d13f988fff16ef4ab460 (diff) | |
download | gnutls-aa54b849c102e9cc433201f849f1e8ad029a9a80.tar.gz |
MAX_CIPHER_BLOCK_SIZE: increased to 64-bytes for CHACHA20
This was not necessary since that value was only used by block
(in TLS sense) ciphers, but that definition could also be used
for the CHACHA20.
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'lib/gnutls_int.h')
-rw-r--r-- | lib/gnutls_int.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gnutls_int.h b/lib/gnutls_int.h index 0db05af163..bc0025db30 100644 --- a/lib/gnutls_int.h +++ b/lib/gnutls_int.h @@ -122,7 +122,7 @@ typedef struct { #define MAX_MAC_KEY_SIZE 64 -#define MAX_CIPHER_BLOCK_SIZE 16 +#define MAX_CIPHER_BLOCK_SIZE 64 /* CHACHA20 */ #define MAX_CIPHER_KEY_SIZE 32 #define MAX_CIPHER_IV_SIZE 16 |