aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2011-11-27 21:36:56 +0200
committerJouni Malinen <j@w1.fi>2011-11-27 21:36:56 +0200
commit6c67d77fefed8484dbabd70af0bf1adf279b5378 (patch)
tree1539dcfe80296fbd5c515f9d0a695034cd5b94c2 /src/tls
parentd0485a6208ea787a4ceb8c2111e292abe96b224b (diff)
downloadexternal_wpa_supplicant_8_ti-6c67d77fefed8484dbabd70af0bf1adf279b5378.zip
external_wpa_supplicant_8_ti-6c67d77fefed8484dbabd70af0bf1adf279b5378.tar.gz
external_wpa_supplicant_8_ti-6c67d77fefed8484dbabd70af0bf1adf279b5378.tar.bz2
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 <j@w1.fi>
Diffstat (limited to 'src/tls')
-rw-r--r--src/tls/tlsv1_record.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tls/tlsv1_record.h b/src/tls/tlsv1_record.h
index 0d62816..d3941ae 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 + \