From: Jouni Malinen Date: Sun, 27 Nov 2011 19:36:56 +0000 (+0200) Subject: TLS: Increase maximum MAC key from 20 to 32 octets X-Git-Tag: aosp-jb-start~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c67d77fefed8484dbabd70af0bf1adf279b5378;p=thirdparty%2Fhostap.git TLS: Increase maximum MAC key from 20 to 32 octets This is in prepartion of adding support for SHA256-based operations with TLS v1.2. Signed-hostap: Jouni Malinen --- diff --git a/src/tls/tlsv1_record.h b/src/tls/tlsv1_record.h index 0d6281622..d3941ae94 100644 --- a/src/tls/tlsv1_record.h +++ b/src/tls/tlsv1_record.h @@ -17,7 +17,7 @@ #include "crypto/crypto.h" -#define TLS_MAX_WRITE_MAC_SECRET_LEN 20 +#define TLS_MAX_WRITE_MAC_SECRET_LEN 32 #define TLS_MAX_WRITE_KEY_LEN 32 #define TLS_MAX_IV_LEN 16 #define TLS_MAX_KEY_BLOCK_LEN (2 * (TLS_MAX_WRITE_MAC_SECRET_LEN + \