/external/wpa_supplicant_8/src/crypto/ |
D | aes-eax.c | 28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_encrypt() argument 38 if (nonce_len > data_len) in aes_128_eax_encrypt() 39 buf_len = nonce_len; in aes_128_eax_encrypt() 53 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_encrypt() 54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) in aes_128_eax_encrypt() 92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_decrypt() argument 102 if (nonce_len > data_len) in aes_128_eax_decrypt() 103 buf_len = nonce_len; in aes_128_eax_decrypt() 117 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_decrypt() 118 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) { in aes_128_eax_decrypt()
|
D | aes_wrap.h | 30 const u8 *nonce, size_t nonce_len, 34 const u8 *nonce, size_t nonce_len,
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | aes_wrap.c | 345 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_encrypt() argument 354 if (nonce_len > data_len) in aes_128_eax_encrypt() 355 buf_len = nonce_len; in aes_128_eax_encrypt() 369 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_encrypt() 370 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) in aes_128_eax_encrypt() 408 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, in aes_128_eax_decrypt() argument 417 if (nonce_len > data_len) in aes_128_eax_decrypt() 418 buf_len = nonce_len; in aes_128_eax_decrypt() 432 os_memcpy(buf + 16, nonce, nonce_len); in aes_128_eax_decrypt() 433 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) { in aes_128_eax_decrypt()
|
D | aes_wrap.h | 36 const u8 *nonce, size_t nonce_len, 40 const u8 *nonce, size_t nonce_len,
|
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/ |
D | wpa_ie.h | 32 size_t nonce_len; member
|
D | wpa_ie.c | 452 ie->nonce_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
|
D | peerkey.c | 547 kde.nonce == NULL || kde.nonce_len < WPA_NONCE_LEN || in wpa_supplicant_process_smk_m45()
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.h | 26 size_t nonce_len; member
|
D | peerkey_auth.c | 270 kde.nonce == NULL || kde.nonce_len < WPA_NONCE_LEN) { in wpa_smk_m3()
|
D | wpa_auth_ie.c | 725 ie->nonce_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ie.h | 28 size_t nonce_len; member
|
D | wpa_ie.c | 320 ie->nonce_len = pos[1] - RSN_SELECTOR_LEN; in wpa_parse_generic()
|
D | peerkey.c | 542 kde.nonce == NULL || kde.nonce_len < WPA_NONCE_LEN || in wpa_supplicant_process_smk_m45()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/ |
D | ikev2_common.c | 385 payloads->nonce_len = pdatalen; in ikev2_parse_payloads() 440 const u8 *nonce, size_t nonce_len, in ikev2_derive_auth_data() argument 469 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len; in ikev2_derive_auth_data() 476 os_memcpy(pos, nonce, nonce_len); in ikev2_derive_auth_data() 477 pos += nonce_len; in ikev2_derive_auth_data()
|
D | ikev2_common.h | 300 const u8 *nonce, size_t nonce_len, 319 size_t nonce_len; member
|
/external/wpa_supplicant_8/src/eap_common/ |
D | ikev2_common.c | 380 payloads->nonce_len = pdatalen; in ikev2_parse_payloads() 435 const u8 *nonce, size_t nonce_len, in ikev2_derive_auth_data() argument 464 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len; in ikev2_derive_auth_data() 471 os_memcpy(pos, nonce, nonce_len); in ikev2_derive_auth_data() 472 pos += nonce_len; in ikev2_derive_auth_data()
|
D | ikev2_common.h | 294 const u8 *nonce, size_t nonce_len, 313 size_t nonce_len; member
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | ikev2.c | 492 ikev2_process_nr(data, pl->nonce, pl->nonce_len) < 0) in ikev2_process_sa_init()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | ikev2.c | 487 ikev2_process_nr(data, pl->nonce, pl->nonce_len) < 0) in ikev2_process_sa_init()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | ikev2.c | 487 ikev2_process_ni(data, pl->nonce, pl->nonce_len) < 0) in ikev2_process_sa_init()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | ikev2.c | 482 ikev2_process_ni(data, pl->nonce, pl->nonce_len) < 0) in ikev2_process_sa_init()
|