Searched refs:prot_len (Results 1 – 4 of 4) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_eke_common.c | 615 u8 *prot, size_t *prot_len) in eap_eke_prot() argument 636 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot() 663 *prot_len = pos - prot; in eap_eke_prot() 669 const u8 *prot, size_t prot_len, in eap_eke_decrypt_prot() argument 687 if (prot_len < 2 * block_size + icv_len) in eap_eke_decrypt_prot() 689 if ((prot_len - icv_len) % block_size) in eap_eke_decrypt_prot() 693 prot_len - block_size - icv_len, icv) < 0) in eap_eke_decrypt_prot() 695 if (os_memcmp_const(icv, prot + prot_len - icv_len, icv_len) != 0) { in eap_eke_decrypt_prot() 700 if (*data_len < prot_len - block_size - icv_len) { in eap_eke_decrypt_prot() 705 *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 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 586 prot_len = wpabuf_tailroom(resp); in eap_eke_process_confirm() 588 wpabuf_put(resp, 0), &prot_len) < 0) { in eap_eke_process_confirm() 593 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()
|