Searched refs:icv_len (Results 1 – 6 of 6) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_ikev2_common.c | 73 size_t icv_len; in eap_ikev2_validate_icv() local 83 icv_len = integ->hash_len; in eap_ikev2_validate_icv() 85 if (end - pos < (int) icv_len) { in eap_ikev2_validate_icv() 98 wpabuf_len(msg) - icv_len, icv) < 0) { in eap_ikev2_validate_icv() 103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) { in eap_ikev2_validate_icv() 106 icv, icv_len); in eap_ikev2_validate_icv() 108 end - icv_len, icv_len); in eap_ikev2_validate_icv() 115 return icv_len; in eap_ikev2_validate_icv()
|
D | eap_eke_common.c | 609 size_t block_size, icv_len, pad; in eap_eke_prot() local 618 icv_len = SHA1_MAC_LEN; in eap_eke_prot() 620 icv_len = SHA256_MAC_LEN; in eap_eke_prot() 628 if (*prot_len < block_size + data_len + pad + icv_len) { in eap_eke_prot() 652 pos += icv_len; in eap_eke_prot() 663 size_t block_size, icv_len; in eap_eke_decrypt_prot() local 672 icv_len = SHA1_MAC_LEN; in eap_eke_decrypt_prot() 674 icv_len = SHA256_MAC_LEN; in eap_eke_decrypt_prot() 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() [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_ikev2.c | 141 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 172 icv_len = integ->hash_len; in eap_ikev2_build_msg() 174 plen += icv_len; in eap_ikev2_build_msg() 195 msg, len, wpabuf_put(resp, icv_len)); in eap_ikev2_build_msg() 252 int icv_len = eap_ikev2_validate_icv( in eap_ikev2_process_icv() local 255 if (icv_len < 0) in eap_ikev2_process_icv() 258 *end -= icv_len; in eap_ikev2_process_icv()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ikev2.c | 138 size_t send_len, plen, icv_len = 0; in eap_ikev2_build_msg() local 167 icv_len = integ->hash_len; in eap_ikev2_build_msg() 169 plen += icv_len; in eap_ikev2_build_msg() 190 msg, len, wpabuf_put(req, icv_len)); in eap_ikev2_build_msg() 263 int icv_len = eap_ikev2_validate_icv( in eap_ikev2_process_icv() local 266 if (icv_len < 0) in eap_ikev2_process_icv() 269 *end -= icv_len; in eap_ikev2_process_icv()
|
/external/wpa_supplicant_8/src/pae/ |
D | ieee802_1x_kay_i.h | 163 size_t icv_len; member
|
D | ieee802_1x_kay.c | 1706 length += mka_alg_tbl[participant->kay->mka_algindex].icv_len; in ieee802_1x_mka_get_icv_length() 1778 < mka_alg_tbl[participant->kay->mka_algindex].icv_len) { in ieee802_1x_mka_decode_icv_body() 2947 buf, len - mka_alg_tbl[kay->mka_algindex].icv_len, icv)) { in ieee802_1x_kay_mkpdu_sanity_check() 2956 mka_alg_tbl[kay->mka_algindex].icv_len) != in ieee802_1x_kay_mkpdu_sanity_check()
|