/freebsd/sys/crypto/ |
H A D | chacha20_poly1305.c | 39 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 D | ciphercommon_gcm_hw.c | 21 size_t aad_len) 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 D | cipher_rc4_hmac_md5_hw.c | 166 unsigned char *aad, size_t aad_len) in cipher_hw_rc4_hmac_md5_tls_init()
|
H A D | ciphercommon_gcm.c | 451 static int gcm_tls_init(PROV_GCM_CTX *dat, unsigned char *aad, size_t aad_len) in gcm_tls_init()
|
H A D | cipher_aes_cbc_hmac_sha256_hw.c | 717 unsigned char *aad_rec, int aad_len) in aesni_cbc_hmac_sha256_set_tls1_aad()
|
H A D | cipher_aes_cbc_hmac_sha1_hw.c | 664 unsigned char *aad_rec, int aad_len) in aesni_cbc_hmac_sha1_set_tls1_aad()
|
/freebsd/contrib/wpa/src/crypto/ |
H A D | aes-gcm.c | 229 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 D | aes-ccm.c | 29 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()
|
H A D | crypto_openssl.c | 5098 hpke_aead_seal(struct hpke_context *ctx, const u8 *aad, size_t aad_len, in hpke_aead_seal() 5159 const u8 *aad, size_t aad_len, in hpke_base_seal_int() 5257 hpke_aead_open(struct hpke_context *ctx, const u8 *aad, size_t aad_len, in hpke_aead_open() 5323 const u8 *aad, size_t aad_len, in hpke_base_open_int() 5418 const u8 *aad, size_t aad_len, in hpke_base_seal() 5487 const u8 *aad, size_t aad_len, in hpke_base_open() 5555 const u8 *aad, size_t aad_len, in hpke_base_seal() 5568 const u8 *aad, size_t aad_len, in hpke_base_open()
|
/freebsd/tools/tools/crypto/ |
H A D | cryptocheck.c | 909 const char *aad, size_t aad_len, const char *input, char *output, in ocf_eta() 949 run_eta_test(const struct alg *alg, size_t aad_len, size_t size) in run_eta_test() 1320 size_t aad_len, const char *input, char *output, size_t size, char *tag) in openssl_aead_encrypt() 1393 const char *key, const char *iv, const char *aad, size_t aad_len, in openssl_aead_decrypt() 1438 size_t aad_len, const char *input, char *output, size_t size, char *tag) in openssl_ccm_encrypt() 1544 const char *aad, size_t aad_len, const char *input, char *output, in ocf_aead() 1597 run_aead_test(const struct alg *alg, size_t aad_len, size_t size, in run_aead_test() 1732 run_test(const struct alg *alg, size_t aad_len, size_t size, size_t iv_len) in run_test()
|
/freebsd/contrib/bearssl/src/symcipher/ |
H A D | poly1305_i15.c | 130 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_i15_run()
|
H A D | poly1305_ctmul32.c | 167 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_ctmul32_run()
|
H A D | poly1305_ctmul.c | 149 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_ctmul_run()
|
H A D | poly1305_ctmulq.c | 317 void *data, size_t len, const void *aad, size_t aad_len, in br_poly1305_ctmulq_run()
|
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zio_crypt.c | 435 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_wrap() local 514 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_unwrap() local 940 zio_crypt_bp_do_aad_updates(uint8_t **aadp, uint_t *aad_len, uint64_t version, in zio_crypt_bp_do_aad_updates() 1256 uint_t aad_len = 0, total_len = 0; in zio_crypt_init_uios_zil() local 1423 uint_t aad_len = 0, total_len = 0; in zio_crypt_init_uios_dnode() local
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat_crypt.c | 157 Cpa64U crypt, Cpa32U aad_len) in qat_init_crypt_session_ctx() 294 uint8_t *aad_buf, uint32_t aad_len, uint8_t *iv_buf, uint8_t *digest_buf, in qat_crypt()
|
H A D | zio_crypt.c | 496 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_wrap() local 565 uint_t enc_len, keydata_len, aad_len; in zio_crypt_key_unwrap() local 1037 zio_crypt_bp_do_aad_updates(uint8_t **aadp, uint_t *aad_len, uint64_t version, in zio_crypt_bp_do_aad_updates() 1410 uint_t aad_len = 0, nr_iovecs = 0, total_len = 0; in zio_crypt_init_uios_zil() local 1621 uint_t aad_len = 0, nr_iovecs = 0, total_len = 0; in zio_crypt_init_uios_dnode() local
|
/freebsd/contrib/bearssl/src/aead/ |
H A D | ccm.c | 59 uint64_t aad_len, uint64_t data_len, size_t tag_len) in br_ccm_reset()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | mesh_rsn.c | 559 const size_t aad_len[] = { ETH_ALEN, ETH_ALEN, ie - cat }; in mesh_rsn_protect_frame() local 659 const size_t aad_len[] = { ETH_ALEN, ETH_ALEN, in mesh_rsn_process_ampe() local
|
/freebsd/tests/sys/kern/ |
H A D | ktls_test.c | 366 size_t aad_len, const void *buffer, size_t len, void *digest, in compute_hash() argument 407 size_t aad_len, const void *buffer, size_t len, const void *digest) 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
|
/freebsd/crypto/openssl/test/ |
H A D | acvp_test.c | 720 const unsigned char *aad, size_t aad_len, in aes_ccm_enc_dec() 807 const unsigned char *aad, size_t aad_len, in aes_gcm_enc_dec()
|
/freebsd/contrib/bearssl/test/ |
H A D | test_crypto.c | 5118 size_t len, aad_len; in test_Poly1305_inner() local 7458 size_t key_len, plain_len, aad_len, iv_len; in test_GCM() local 7690 size_t plain_len, key_len, nonce_len, aad_len; in test_EAX_inner() local 7960 size_t plain_len, key_len, nonce_len, aad_len, tag_len; in test_CCM_inner() local
|
/freebsd/sys/opencrypto/ |
H A D | cryptodev.c | 588 cod_alloc(struct csession *cse, size_t aad_len, size_t len) in cod_alloc()
|
/freebsd/contrib/wpa/src/ap/ |
H A D | wpa_auth.c | 2073 size_t aad_len[1]; local 3053 size_t aad_len[1]; local 3203 size_t aad_len[5]; local 3293 size_t aad_len[5]; local
|
/freebsd/sys/contrib/openzfs/module/icp/algs/modes/ |
H A D | gcm.c | 626 size_t aad_len = gcm_param->ulAADLen; in gcm_init_ctx() local
|