Home
last modified time | relevance | path

Searched refs:rRK_len (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_server/
Deap_server.c476 erp->rRK_len = emsk_len; in eap_server_erp_init()
477 wpa_hexdump_key(MSG_DEBUG, "EAP: ERP rRK", erp->rRK, erp->rRK_len); in eap_server_erp_init()
479 if (hmac_sha256_kdf(erp->rRK, erp->rRK_len, in eap_server_erp_init()
481 len, sizeof(len), erp->rIK, erp->rRK_len) < 0) { in eap_server_erp_init()
485 erp->rIK_len = erp->rRK_len; in eap_server_erp_init()
758 sm->eap_if.eapKeyData = os_malloc(erp->rRK_len); in erp_send_finish_reauth()
763 WPA_PUT_BE16(&seed[2], erp->rRK_len); in erp_send_finish_reauth()
764 if (hmac_sha256_kdf(erp->rRK, erp->rRK_len, in erp_send_finish_reauth()
767 sm->eap_if.eapKeyData, erp->rRK_len) < 0) { in erp_send_finish_reauth()
769 bin_clear_free(sm->eap_if.eapKeyData, erp->rRK_len); in erp_send_finish_reauth()
[all …]
Deap.h86 size_t rRK_len; member
/external/wpa_supplicant_8/src/eap_peer/
Deap.c550 erp->rRK_len = emsk_len; in eap_peer_erp_init()
551 wpa_hexdump_key(MSG_DEBUG, "EAP: ERP rRK", erp->rRK, erp->rRK_len); in eap_peer_erp_init()
553 if (hmac_sha256_kdf(erp->rRK, erp->rRK_len, in eap_peer_erp_init()
555 len, sizeof(len), erp->rIK, erp->rRK_len) < 0) { in eap_peer_erp_init()
559 erp->rIK_len = erp->rRK_len; in eap_peer_erp_init()
1715 sm->eapKeyData = os_malloc(erp->rRK_len); in eap_peer_finish()
1718 sm->eapKeyDataLen = erp->rRK_len; in eap_peer_finish()
1721 WPA_PUT_BE16(&seed[2], erp->rRK_len); in eap_peer_finish()
1722 if (hmac_sha256_kdf(erp->rRK, erp->rRK_len, in eap_peer_finish()
1725 sm->eapKeyData, erp->rRK_len) < 0) { in eap_peer_finish()
Deap_i.h283 size_t rRK_len; member