| /src/external/bsd/wpa/dist/src/eap_common/ |
| eap_ikev2_common.c | 103 if (os_memcmp_const(icv, end - icv_len, icv_len) != 0) {
|
| /src/external/bsd/wpa/dist/src/eap_peer/ |
| mschapv2.c | 120 os_memcmp_const(auth_response, recv_response,
|
| eap_pax.c | 288 if (os_memcmp_const(pos, mac, EAP_PAX_MAC_LEN) != 0) { 428 if (os_memcmp_const(icv, icvbuf, EAP_PAX_ICV_LEN) != 0) {
|
| eap_leap.c | 254 if (os_memcmp_const(pos, expected, LEAP_RESPONSE_LEN) != 0) {
|
| /src/external/bsd/wpa/dist/src/utils/ |
| os_none.c | 227 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
| os_win32.c | 268 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
| os.h | 621 * os_memcmp_const - Constant time memory comparison 630 * does not behave like os_memcmp(), i.e., os_memcmp_const() cannot be used to 632 * os_memcmp_const() does not depend on the contents of the compared memory 635 int os_memcmp_const(const void *a, const void *b, size_t len);
|
| os_internal.c | 464 int os_memcmp_const(const void *a, const void *b, size_t len) function
|
| /src/external/bsd/wpa/dist/src/ap/ |
| comeback_token.c | 61 os_memcmp_const(token + 2, &mac[2], SHA256_MAC_LEN - 2) != 0)
|
| wpa_auth_ft.c | 1431 os_memcmp_const(r0->pmk_r0_name, pmk_r0_name, 1526 os_memcmp_const(r1->pmk_r1_name, pmk_r1_name, 1594 os_memcmp_const(f_r0kh_id, r0kh->id, f_r0kh_id_len) == 0) 1642 os_memcmp_const(r1kh->id, f_r1kh_id, FT_R1KH_ID_LEN) == 0) 1658 os_memcmp_const(f_r0kh_id, wpa_auth->conf.r0_key_holder, 1669 if (os_memcmp_const(f_r1kh_id, wpa_auth->conf.r1_key_holder, 3006 os_memcmp_const(pmk_r1_name, req_pmk_r1_name, 3526 if (os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN) 3589 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 3607 if (os_memcmp_const(parse.r1kh_id, conf->r1_key_holder [all...] |
| /src/external/bsd/wpa/dist/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) {
|
| /src/external/bsd/wpa/dist/src/wps/ |
| wps_attr_process.c | 45 os_memcmp_const(hash, authenticator, WPS_AUTHENTICATOR_LEN) != 0) { 75 os_memcmp_const(hash, key_wrap_auth, WPS_KWA_LEN) != 0) {
|
| wps_enrollee.c | 569 if (os_memcmp_const(hash, wps->peer_pubkey_hash, 649 if (os_memcmp_const(wps->peer_hash1, hash, WPS_HASH_LEN) != 0) { 689 if (os_memcmp_const(wps->peer_hash2, hash, WPS_HASH_LEN) != 0) {
|
| /src/external/bsd/wpa/dist/src/eap_server/ |
| eap_server_gtc.c | 177 os_memcmp_const(pos, sm->user->password, rlen) != 0) {
|
| eap_server_md5.c | 129 if (os_memcmp_const(hash, pos, CHAP_MD5_LEN) == 0) {
|
| eap_server_ttls.c | 543 os_memcmp_const(sm->user->password, user_password, 593 if (os_memcmp_const(challenge, chal, EAP_TTLS_CHAP_CHALLENGE_LEN) 607 if (os_memcmp_const(hash, password + 1, EAP_TTLS_CHAP_PASSWORD_LEN) == 660 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAP_CHALLENGE_LEN) 679 if (os_memcmp_const(nt_response, response + 2 + 24, 24) == 0) { 752 if (os_memcmp_const(challenge, chal, EAP_TTLS_MSCHAPV2_CHALLENGE_LEN) 798 if (os_memcmp_const(nt_response, rx_resp, 24) == 0) {
|
| eap_server_pax.c | 291 if (os_memcmp_const(icvbuf, icv, EAP_PAX_ICV_LEN) != 0) { 427 if (os_memcmp_const(mac, pos, EAP_PAX_MAC_LEN) != 0) { 453 if (os_memcmp_const(icvbuf, pos, EAP_PAX_ICV_LEN) != 0) {
|
| eap_server_gpsk.c | 453 if (os_memcmp_const(mic, pos, miclen) != 0) { 522 if (os_memcmp_const(mic, pos, miclen) != 0) {
|
| eap_server_sake.c | 362 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) { 402 if (os_memcmp_const(attr.mic_p, mic_p, EAP_SAKE_MIC_LEN) != 0) {
|
| /src/external/bsd/wpa/dist/src/rsn_supp/ |
| wpa_ft.c | 658 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 675 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r0_name, WPA_PMK_NAME_LEN)) 1104 os_memcmp_const(parse.r0kh_id, sm->r0kh_id, parse.r0kh_id_len) != 0) 1120 if (os_memcmp_const(parse.r1kh_id, sm->r1kh_id, FT_R1KH_ID_LEN) != 0) { 1127 os_memcmp_const(parse.rsn_pmkid, sm->pmk_r1_name, WPA_PMK_NAME_LEN)) 1167 if (os_memcmp_const(mic, parse.fte_mic, mic_len) != 0) {
|
| /src/external/bsd/wpa/dist/src/tls/ |
| pkcs1.c | 319 os_memcmp_const(hdr.payload, hash, hdr.length) != 0) {
|
| tlsv1_record.c | 459 os_memcmp_const(hash, out_data + plen, hlen) != 0 ||
|
| /src/external/bsd/wpa/dist/src/radius/ |
| radius.c | 618 return os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0; 646 if (os_memcmp_const(msg->hdr->authenticator, hash, MD5_MAC_LEN) != 0) 683 return os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0; 983 if (os_memcmp_const(orig, auth, MD5_MAC_LEN) != 0) { 1034 os_memcmp_const(hash, msg->hdr->authenticator, MD5_MAC_LEN) != 0) {
|