projects
/
mech_eap.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0485a6
)
TLS: Increase maximum MAC key from 20 to 32 octets
author
Jouni Malinen
<j@w1.fi>
Sun, 27 Nov 2011 19:36:56 +0000
(21:36 +0200)
committer
Jouni Malinen
<j@w1.fi>
Sun, 27 Nov 2011 19:36:56 +0000
(21:36 +0200)
This is in prepartion of adding support for SHA256-based operations
with TLS v1.2.
Signed-hostap: Jouni Malinen <j@w1.fi>
src/tls/tlsv1_record.h
patch
|
blob
|
history
diff --git
a/src/tls/tlsv1_record.h
b/src/tls/tlsv1_record.h
index
0d62816
..
d3941ae
100644
(file)
--- 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 + \