EAP-TLS: Update key derivation label per draft-ietf-emu-eap-tls13-00
The label strings used for deriving Key_Material with TLS v1.3 were changed, so update the implementation to match the new values. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
20c2ea412a
commit
f8aed720e4
2 changed files with 2 additions and 2 deletions
|
@ -183,7 +183,7 @@ static void eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data,
|
|||
}
|
||||
|
||||
if (data->ssl.tls_v13) {
|
||||
label = "client EAP encryption KM";
|
||||
label = "EXPORTER_EAP_TLS_Key_Material";
|
||||
|
||||
/* A possible NewSessionTicket may be received before
|
||||
* EAP-Success, so need to allow it to be received. */
|
||||
|
|
|
@ -308,7 +308,7 @@ static u8 * eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len)
|
|||
return NULL;
|
||||
|
||||
if (data->ssl.tls_v13)
|
||||
label = "client EAP encryption KM";
|
||||
label = "EXPORTER_EAP_TLS_Key_Material";
|
||||
else
|
||||
label = "client EAP encryption";
|
||||
eapKeyData = eap_server_tls_derive_key(sm, &data->ssl, label,
|
||||
|
|
Loading…
Reference in a new issue