Searched refs:prot_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 585 u8 *prot, size_t *prot_len) in eap_eke_prot() argument 606 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot() 632 *prot_len = pos - prot; in eap_eke_prot() 638 const u8 *prot, size_t prot_len, in eap_eke_decrypt_prot() argument 656 if (prot_len < 2 * block_size + icv_len || in eap_eke_decrypt_prot() 657 (prot_len - icv_len) % block_size) in eap_eke_decrypt_prot() 661 prot_len - block_size - icv_len, icv) < 0) in eap_eke_decrypt_prot() 663 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) { in eap_eke_decrypt_prot() 668 if (*data_len < prot_len - block_size - icv_len) { in eap_eke_decrypt_prot() 673 *data_len = prot_len - block_size - icv_len; in eap_eke_decrypt_prot()
|
D | eap_eke_common.h | 107 u8 *prot, size_t *prot_len); 109 const u8 *prot, size_t prot_len,
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_eke.c | 361 size_t prot_len; in eap_eke_process_commit() local 471 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit() 473 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_commit() 479 wpabuf_put(resp, 0), prot_len); in eap_eke_process_commit() 480 wpabuf_put(resp, prot_len); in eap_eke_process_commit() 507 size_t prot_len; in eap_eke_process_confirm() local 587 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm() 589 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_confirm() 594 wpabuf_put(resp, prot_len); in eap_eke_process_confirm()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_eke.c | 307 size_t plen, prot_len; in eap_eke_build_confirm() local 331 prot_len = wpabuf_tailroom(msg); in eap_eke_build_confirm() 333 wpabuf_put(msg, 0), &prot_len) < 0) { in eap_eke_build_confirm() 338 wpabuf_put(msg, prot_len); in eap_eke_build_confirm()
|