Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_ikev2_common.c23 u8 *nonces; in eap_ikev2_derive_keymat() local
31 nonces = os_malloc(nlen); in eap_ikev2_derive_keymat()
32 if (nonces == NULL) in eap_ikev2_derive_keymat()
34 os_memcpy(nonces, i_nonce, i_nonce_len); in eap_ikev2_derive_keymat()
35 os_memcpy(nonces + i_nonce_len, r_nonce, r_nonce_len); in eap_ikev2_derive_keymat()
37 if (ikev2_prf_plus(prf, keys->SK_d, keys->SK_d_len, nonces, nlen, in eap_ikev2_derive_keymat()
39 os_free(nonces); in eap_ikev2_derive_keymat()
42 os_free(nonces); in eap_ikev2_derive_keymat()
/external/wpa_supplicant_8/src/eap_peer/
Deap_eke.c509 u8 nonces[2 * EAP_EKE_MAX_NONCE_LEN]; in eap_eke_process_confirm() local
533 decrypt_len = sizeof(nonces); in eap_eke_process_confirm()
535 nonces, &decrypt_len) < 0) { in eap_eke_process_confirm()
546 nonces, 2 * data->sess.nonce_len); in eap_eke_process_confirm()
547 if (os_memcmp(data->nonce_p, nonces, data->sess.nonce_len) != 0) { in eap_eke_process_confirm()
553 os_memcpy(data->nonce_s, nonces + data->sess.nonce_len, in eap_eke_process_confirm()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_eke.c308 u8 nonces[2 * EAP_EKE_MAX_NONCE_LEN]; in eap_eke_build_confirm() local
328 os_memcpy(nonces, data->nonce_p, data->sess.nonce_len); in eap_eke_build_confirm()
329 os_memcpy(nonces + data->sess.nonce_len, data->nonce_s, in eap_eke_build_confirm()
332 if (eap_eke_prot(&data->sess, nonces, 2 * data->sess.nonce_len, in eap_eke_build_confirm()
/external/srtp/
DChanges27 Change interface to nonces (xtd_seq_num_t) so that it uses