Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_eke_common.c615 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()
Deap_eke_common.h107 u8 *prot, size_t *prot_len);
109 const u8 *prot, size_t prot_len,
/external/wpa_supplicant_8/src/eap_peer/
Deap_eke.c363 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/
Deap_server_eke.c307 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()