Searched defs:nonce_len (Results 1 - 22 of 22) 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/chromium_org/third_party/openssl/openssl/crypto/evp/
H A Devp_aead.c73 return aead->nonce_len;
127 const unsigned char *nonce, size_t nonce_len,
148 r = ctx->aead->seal(ctx, out, max_out_len, nonce, nonce_len,
162 const unsigned char *nonce, size_t nonce_len,
180 r = ctx->aead->open(ctx, out, max_out_len, nonce, nonce_len,
125 EVP_AEAD_CTX_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
160 EVP_AEAD_CTX_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
H A De_chacha20poly1305.c131 const unsigned char *nonce, size_t nonce_len,
159 if (nonce_len != CHACHA20_NONCE_LEN)
187 const unsigned char *nonce, size_t nonce_len,
217 if (nonce_len != CHACHA20_NONCE_LEN)
129 aead_chacha20_poly1305_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
185 aead_chacha20_poly1305_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
H A Devp_locl.h354 unsigned char nonce_len; member in struct:evp_aead_st
364 const unsigned char *nonce, size_t nonce_len,
370 const unsigned char *nonce, size_t nonce_len,
H A De_aes.c1375 const unsigned char *nonce, size_t nonce_len,
1390 CRYPTO_gcm128_setiv(&gcm, nonce, nonce_len);
1414 const unsigned char *nonce, size_t nonce_len,
1439 CRYPTO_gcm128_setiv(&gcm, nonce, nonce_len);
1373 aead_aes_128_gcm_seal(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
1412 aead_aes_128_gcm_open(const EVP_AEAD_CTX *ctx, unsigned char *out, size_t max_out_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *in, size_t in_len, const unsigned char *ad, size_t ad_len) argument
/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/eap_common/
H A Deap_eke_common.h74 int nonce_len; member in struct:eap_eke_session
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/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/eap_common/
H A Deap_eke_common.h74 int nonce_len; member in struct:eap_eke_session
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/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/eap_common/
H A Deap_eke_common.h74 int nonce_len; member in struct:eap_eke_session
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/rsn_supp/
H A Dwpa_ie.h28 size_t nonce_len; member in struct:wpa_eapol_ie_parse

Completed in 996 milliseconds