Home
last modified time | relevance | path

Searched defs:aad (Results 1 – 25 of 49) sorted by relevance

12

/freebsd/sys/crypto/
H A Dchacha20_poly1305.c39 const size_t src_len, const uint8_t *aad, const size_t aad_len, in chacha20_poly1305_encrypt()
86 const size_t src_len, const uint8_t *aad, const size_t aad_len, in chacha20_poly1305_decrypt()
142 const size_t src_len, const uint8_t *aad, const size_t aad_len, in xchacha20_poly1305_encrypt()
189 const size_t src_len, const uint8_t *aad, const size_t aad_len, in xchacha20_poly1305_decrypt()
/freebsd/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_gcm_hw.c20 int ossl_gcm_aad_update(PROV_GCM_CTX *ctx, const unsigned char *aad, in ossl_gcm_aad_update()
51 int ossl_gcm_one_shot(PROV_GCM_CTX *ctx, unsigned char *aad, size_t aad_len, in ossl_gcm_one_shot()
H A Dcipher_chacha20_poly1305.h25 struct { uint64_t aad, text; } len; member
26 unsigned int aad : 1; member
H A Dciphercommon_ccm_hw.c19 int ossl_ccm_generic_setaad(PROV_CCM_CTX *ctx, const unsigned char *aad, in ossl_ccm_generic_setaad()
H A Dcipher_rc4_hmac_md5_hw.c166 unsigned char *aad, size_t aad_len) in cipher_hw_rc4_hmac_md5_tls_init()
H A Dcipher_chacha20_poly1305_hw.c16 unsigned char *aad, size_t alen) in chacha_poly1305_tls_init()
H A Dciphercommon_ccm.c21 static int ccm_tls_init(PROV_CCM_CTX *ctx, unsigned char *aad, size_t alen) in ccm_tls_init()
/freebsd/contrib/libfido2/src/
H A Daes256.c116 const fido_blob_t *aad, const fido_blob_t *in, fido_blob_t *out, in aes256_gcm()
206 const fido_blob_t *aad, const fido_blob_t *in, fido_blob_t *out) in aes256_gcm_enc()
213 const fido_blob_t *aad, const fido_blob_t *in, fido_blob_t *out) in aes256_gcm_dec()
H A Dlargeblob.c50 largeblob_aad(fido_blob_t *aad, uint64_t size) in largeblob_aad()
67 fido_blob_t *plaintext = NULL, *aad = NULL; in largeblob_decrypt() local
121 fido_blob_t *plaintext = NULL, *aad = NULL; in largeblob_seal() local
/freebsd/contrib/wpa/src/crypto/
H A Daes-gcm.c229 static void aes_gcm_ghash(const u8 *H, const u8 *aad, size_t aad_len, in aes_gcm_ghash()
256 const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) in aes_gcm_ae()
290 const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) in aes_gcm_ad()
323 const u8 *aad, size_t aad_len, u8 *tag) in aes_gmac()
H A Daes-ccm.c29 const u8 *aad, size_t aad_len, size_t plain_len, in aes_ccm_auth_start()
150 const u8 *aad, size_t aad_len, u8 *crypt, u8 *auth) in aes_ccm_ae()
180 const u8 *aad, size_t aad_len, const u8 *auth, u8 *plain) in aes_ccm_ad()
/freebsd/tests/sys/opencrypto/
H A Dcryptodev.py255 def _doaead(self, op, src, aad, iv, tag=None): argument
338 def encrypt(self, data, iv, aad=None): argument
345 def decrypt(self, data, iv, aad=None, tag=None): argument
652 aad = _spdechex('24825602bd12a984e0092d3e448eda5f') variable
690 aad = _spdechex('24825602bd12a984e0092d3e448eda5f') variable
/freebsd/crypto/openssl/crypto/evp/
H A De_chacha20_poly1305.c158 struct { uint64_t aad, text; } len; member
159 int aad, mac_inited, tag_len, nonce_len; member
574 unsigned char *aad = ptr; in chacha20_poly1305_ctrl() local
/freebsd/contrib/bearssl/src/symcipher/
H A Dpoly1305_i15.c130 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_i15_run()
H A Dpoly1305_ctmul32.c167 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_ctmul32_run()
H A Dpoly1305_ctmul.c149 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_ctmul_run()
/freebsd/tools/tools/crypto/
H A Dcryptocheck.c909 const char *aad, size_t aad_len, const char *input, char *output, in ocf_eta()
1319 const char *key, const char *iv, size_t iv_len, const char *aad, in openssl_aead_encrypt()
1393 const char *key, const char *iv, const char *aad, size_t aad_len, in openssl_aead_decrypt()
1437 const char *key, const char *iv, size_t iv_len, const char *aad, in openssl_ccm_encrypt()
1544 const char *aad, size_t aad_len, const char *input, char *output, in ocf_aead()
1602 char *aad, *buffer, *cleartext, *ciphertext; in run_aead_test() local
/freebsd/tests/sys/kern/
H A Dktls_test.c365 compute_hash(const EVP_MD *md, const void *key, size_t key_len, const void *aad, in compute_hash() argument
406 verify_hash(const EVP_MD *md, const void *key, size_t key_len, const void *aad, in verify_hash() argument
424 const void *aad, size_t aad_len, const char *input, char *output, in aead_encrypt() argument
486 const void *aad, size_t aad_len, const char *input, char *output, in aead_decrypt() argument
797 struct tls_mac_data aad; decrypt_tls_aes_cbc_mte() local
863 struct tls_aead_data aad; decrypt_tls_12_aead() local
898 struct tls_aead_data_13 aad; decrypt_tls_13_aead() local
993 struct tls_mac_data aad; encrypt_tls_aes_cbc_mte() local
1054 struct tls_aead_data aad; encrypt_tls_12_aead() local
1095 struct tls_aead_data_13 aad; encrypt_tls_13_aead() local
[all...]
/freebsd/sys/crypto/openssl/
H A Dossl_aes_gcm.h39 int (*aad)(struct ossl_gcm_context *ctx, const unsigned char *aad, member
/freebsd/sys/crypto/openssl/amd64/
H A Dossl_aes_gcm.c93 gcm_aad_avx512(struct ossl_gcm_context *ctx, const unsigned char *aad, in gcm_aad_avx512()
283 gcm_aad_aesni(struct ossl_gcm_context *ctx, const unsigned char *aad, in gcm_aad_aesni()
/freebsd/sys/net80211/
H A Dieee80211_crypto_ccmp.c454 uint8_t aad[2 * AES_BLOCK_LEN], b0[AES_BLOCK_LEN], b[AES_BLOCK_LEN], in ccmp_encrypt() local
598 uint8_t aad[2 * AES_BLOCK_LEN]; in ccmp_decrypt() local
/freebsd/sys/crypto/openssl/arm/
H A Dossl_aes_gcm.c113 gcm_aad(struct ossl_gcm_context *ctx, const unsigned char *aad, size_t len) in gcm_aad()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c558 const u8 *aad[] = { rsn->wpa_s->own_addr, sta->addr, cat }; in mesh_rsn_protect_frame() local
658 const u8 *aad[] = { sta->addr, wpa_s->own_addr, cat }; in mesh_rsn_process_ampe() local
/freebsd/sys/opencrypto/
H A Dcryptodev.c127 uint32_t aad; member
282 char *aad; member
/freebsd/crypto/openssl/crypto/modes/
H A Dccm128.c69 const unsigned char *aad, size_t alen) in CRYPTO_ccm128_aad()

12