Searched refs:prot_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 607 u8 *prot, size_t *prot_len) in eap_eke_prot() argument 628 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot() 654 *prot_len = pos - prot; in eap_eke_prot() 660 const u8 *prot, size_t prot_len, in eap_eke_decrypt_prot() argument 678 if (prot_len < 2 * block_size + icv_len || in eap_eke_decrypt_prot() 679 (prot_len - icv_len) % block_size) in eap_eke_decrypt_prot() 683 prot_len - block_size - icv_len, icv) < 0) in eap_eke_decrypt_prot() 685 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) { in eap_eke_decrypt_prot() 690 if (*data_len < prot_len - block_size - icv_len) { in eap_eke_decrypt_prot() 695 *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 | 363 size_t prot_len; in eap_eke_process_commit() local 473 prot_len = wpabuf_tailroom(resp); in eap_eke_process_commit() 475 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_commit() 481 wpabuf_put(resp, 0), prot_len); in eap_eke_process_commit() 482 wpabuf_put(resp, prot_len); in eap_eke_process_commit() 509 size_t prot_len; in eap_eke_process_confirm() local 589 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm() 591 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_confirm() 596 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()
|