Searched defs:nonce_len (Results 1 - 19 of 19) sorted by relevance

/external/wpa_supplicant_8/hostapd/src/crypto/
H A Daes-eax.c20 * @nonce_len: Nonce length in bytes
28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
38 if (nonce_len > data_len)
39 buf_len = nonce_len;
53 os_memcpy(buf + 16, nonce, nonce_len);
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
84 * @nonce_len: Nonce length in bytes
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
102 if (nonce_len > data_len)
103 buf_len = nonce_len;
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Daes-eax.c20 * @nonce_len: Nonce length in bytes
28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
38 if (nonce_len > data_len)
39 buf_len = nonce_len;
53 os_memcpy(buf + 16, nonce, nonce_len);
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
84 * @nonce_len: Nonce length in bytes
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
102 if (nonce_len > data_len)
103 buf_len = nonce_len;
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Daes-eax.c20 * @nonce_len: Nonce length in bytes
28 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
38 if (nonce_len > data_len)
39 buf_len = nonce_len;
53 os_memcpy(buf + 16, nonce, nonce_len);
54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
84 * @nonce_len: Nonce length in bytes
92 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
102 if (nonce_len > data_len)
103 buf_len = nonce_len;
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.h32 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwpa_auth_ie.h26 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/src/ap/
H A Dwpa_auth_ie.h26 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwpa_auth_ie.h26 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/hostapd/src/rsn_supp/
H A Dwpa_ie.h28 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/src/rsn_supp/
H A Dwpa_ie.h28 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_8/wpa_supplicant/src/rsn_supp/
H A Dwpa_ie.h28 size_t nonce_len; member in struct:wpa_eapol_ie_parse
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
H A Daes_wrap.c337 * @nonce_len: Nonce length in bytes
345 int aes_128_eax_encrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
354 if (nonce_len > data_len)
355 buf_len = nonce_len;
369 os_memcpy(buf + 16, nonce, nonce_len);
370 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac))
400 * @nonce_len: Nonce length in bytes
408 int aes_128_eax_decrypt(const u8 *key, const u8 *nonce, size_t nonce_len, argument
417 if (nonce_len > data_len)
418 buf_len = nonce_len;
[all...]
/external/wpa_supplicant_6/wpa_supplicant/src/eap_common/
H A Dikev2_common.c385 payloads->nonce_len = pdatalen;
440 const u8 *nonce, size_t nonce_len,
469 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len;
476 os_memcpy(pos, nonce, nonce_len);
477 pos += nonce_len;
436 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
H A Dikev2_common.h300 const u8 *nonce, size_t nonce_len,
319 size_t nonce_len; member in struct:ikev2_payloads
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Dikev2_common.c380 payloads->nonce_len = pdatalen;
435 const u8 *nonce, size_t nonce_len,
464 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len;
471 os_memcpy(pos, nonce, nonce_len);
472 pos += nonce_len;
431 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
H A Dikev2_common.h294 const u8 *nonce, size_t nonce_len,
313 size_t nonce_len; member in struct:ikev2_payloads
/external/wpa_supplicant_8/src/eap_common/
H A Dikev2_common.c380 payloads->nonce_len = pdatalen;
435 const u8 *nonce, size_t nonce_len,
464 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len;
471 os_memcpy(pos, nonce, nonce_len);
472 pos += nonce_len;
431 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
H A Dikev2_common.h294 const u8 *nonce, size_t nonce_len,
313 size_t nonce_len; member in struct:ikev2_payloads
/external/wpa_supplicant_8/wpa_supplicant/src/eap_common/
H A Dikev2_common.c380 payloads->nonce_len = pdatalen;
435 const u8 *nonce, size_t nonce_len,
464 sign_len = wpabuf_len(sign_msg) + nonce_len + prf->hash_len;
471 os_memcpy(pos, nonce, nonce_len);
472 pos += nonce_len;
431 ikev2_derive_auth_data(int prf_alg, const struct wpabuf *sign_msg, const u8 *ID, size_t ID_len, u8 ID_type, struct ikev2_keys *keys, int initiator, const u8 *shared_secret, size_t shared_secret_len, const u8 *nonce, size_t nonce_len, const u8 *key_pad, size_t key_pad_len, u8 *auth_data) argument
H A Dikev2_common.h294 const u8 *nonce, size_t nonce_len,
313 size_t nonce_len; member in struct:ikev2_payloads

Completed in 868 milliseconds