Home
last modified time | relevance | path

Searched refs:nonces (Results 1 – 8 of 8) 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.c510 u8 nonces[2 * EAP_EKE_MAX_NONCE_LEN]; in eap_eke_process_confirm() local
534 decrypt_len = sizeof(nonces); in eap_eke_process_confirm()
536 nonces, &decrypt_len) < 0) { in eap_eke_process_confirm()
547 nonces, 2 * data->sess.nonce_len); in eap_eke_process_confirm()
548 if (os_memcmp(data->nonce_p, nonces, data->sess.nonce_len) != 0) { in eap_eke_process_confirm()
554 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/tpm2/
DSessionProcess.c1786 TPM2B_NONCE nonces[] // OUT: nonceTPM in UpdateTPMNonce() argument
1797 nonces[i].t.size = 0; in UpdateTPMNonce()
1803 nonces[i] = session->nonceTPM; in UpdateTPMNonce()
Dpart4.txt2689 Array of nonces provided by the caller for the corresponding sessions
3310 3) update the audit sessions and nonces
4372 483 // session that uses an HMAC, then check if additional session nonces are to be
5818 1632 UINT16 noncesSize, // IN: number of elements in 'nonces' array
5819 1633 TPM2B_NONCE nonces[] // OUT: nonceTPM
5830 1644 nonces[i].t.size = 0;
5836 1650 nonces[i] = session->nonceTPM;
/external/srtp/
DChanges27 Change interface to nonces (xtd_seq_num_t) so that it uses
/external/tpm2/generator/
Draw_structures.txt4345 When a command fails, the TPM shall not update the authorization-session nonces associated with the
Draw_structures_fixed.txt4336 When a command fails, the TPM shall not update the authorization-session nonces associated with the