/external/wpa_supplicant_8/src/eap_common/ |
eap_ikev2_common.c | 103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
|
/external/wpa_supplicant_8/src/eap_peer/ |
mschapv2.c | 120 os_memcmp_const(auth_response, recv_response,
|
eap_pax.c | 281 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { 418 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
|
/external/wpa_supplicant_8/src/utils/ |
os_none.c | 221 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
os_win32.c | 249 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
os.h | 588 * os_memcmp_const - Constant time memory comparison 597 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to 599 * os_memcmp_const() does not depend on the contents of the compared memory 602 int os_memcmp_const(const void *a, const void *b, size_t len);
|
os_internal.c | 466 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
/external/wpa_supplicant_8/src/crypto/ |
milenage.c | 220 os_memcmp_const(mac_s, auts + 6, 8) != 0) 315 if (os_memcmp_const(mac_a, autn + 8, 8) != 0) {
|
aes-ccm.c | 206 if (os_memcmp_const(x, t, M) != 0) {
|
aes-gcm.c | 313 if (os_memcmp_const(tag, T, 16) != 0) {
|
/external/wpa_supplicant_8/src/wps/ |
wps_attr_process.c | 44 if (os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { 74 if (os_memcmp_const(hash, key_wrap_auth, WPS_KWA_LEN) != 0) {
|
wps_enrollee.c | 528 if (os_memcmp_const(hash, wps->peer_pubkey_hash, 608 if (os_memcmp_const(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { 648 if (os_memcmp_const(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) { [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_ttls.c | 512 os_memcmp_const(sm->user->password, user_password, 561 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) 575 if (os_memcmp_const(hash, password + 1, EAP_TTLS_CHAP_PASSWORD_LEN) == 621 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) 637 if (os_memcmp_const(nt_response, response + 2 + 24, 24) == 0) { 709 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) 743 if (os_memcmp_const(nt_response, rx_resp, 24) == 0) {
|
eap_server_md5.c | 129 if (os_memcmp_const(hash, pos, CHAP_MD5_LEN) == 0) {
|
eap_server_pax.c | 271 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) { 398 if (os_memcmp_const(mac, pos, EAP_PAX_MAC_LEN) != 0) { 420 if (os_memcmp_const(icvbuf, pos, EAP_PAX_ICV_LEN) != 0) {
|
eap_server_sake.c | 354 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { 391 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) {
|
eap_server_gtc.c | 178 os_memcmp_const(pos, sm->user->password, rlen) != 0) {
|
eap_server_gpsk.c | 436 if (os_memcmp_const(mic, pos, miclen) != 0) { 505 if (os_memcmp_const(mic, pos, miclen) != 0) {
|
/external/wpa_supplicant_8/src/rsn_supp/ |
wpa_ft.c | 445 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 462 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r0_name, WPA_PMK_NAME_LEN)) 732 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 748 if (os_memcmp_const(parse.r1kh_id, sm->r1kh_id, FT_R1KH_ID_LEN) != 0) { 755 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 782 if (os_memcmp_const(mic, ftie->mic, 16) != 0) {
|
pmksa_cache.c | 155 os_memcmp_const(pos->pmk, pmk, pmk_len) == 0 && 156 os_memcmp_const(pos->pmkid, entry->pmkid,
|
peerkey.c | 677 if (os_memcmp_const(ie.pmkid, peerkey->smkid, PMKID_LEN) != 0) { 781 if (os_memcmp_const(kde.pmkid, peerkey->smkid, PMKID_LEN) != 0) { 932 if (os_memcmp_const(mic, key->key_mic, 16) != 0) { 948 if (os_memcmp_const(mic, key->key_mic, 16) != 0) { [all...] |
/external/wpa_supplicant_8/src/ap/ |
wpa_auth_ft.c | 238 os_memcmp_const(r0->pmk_r0_name, pmk_r0_name, 288 os_memcmp_const(r1->pmk_r1_name, pmk_r1_name, 313 os_memcmp_const(r0kh->id, sm->r0kh_id, sm->r0kh_id_len) == 1017 if (os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) 1064 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 1080 if (os_memcmp_const(parse.r1kh_id, sm->wpa_auth->conf.r1_key_holder, 1092 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 1119 if (os_memcmp_const(mic, ftie->mic, 16) != 0) { [all...] |
/external/wpa_supplicant_8/src/tls/ |
pkcs1.c | 301 os_memcmp_const(hdr.payload, hash, hdr.length) != 0) {
|
tlsv1_record.c | 459 os_memcmp_const(hash, out_data + plen, hlen) != 0 ||
|
/external/wpa_supplicant_8/src/radius/ |
radius.c | 522 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; 549 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0) 582 return os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0; 815 if (os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0) { 852 if (os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) { [all...] |