Home
last modified time | relevance | path

Searched defs:aad_len (Results 1 – 25 of 30) 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.c21 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 Dcipher_rc4_hmac_md5_hw.c166 unsigned char *aad, size_t aad_len) in cipher_hw_rc4_hmac_md5_tls_init()
H A Dciphercommon_gcm.c451 static int gcm_tls_init(PROV_GCM_CTX *dat, unsigned char *aad, size_t aad_len) in gcm_tls_init()
H A Dcipher_aes_cbc_hmac_sha256_hw.c717 unsigned char *aad_rec, int aad_len) in aesni_cbc_hmac_sha256_set_tls1_aad()
H A Dcipher_aes_cbc_hmac_sha1_hw.c664 unsigned char *aad_rec, int aad_len) in aesni_cbc_hmac_sha1_set_tls1_aad()
/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()
H A Dcrypto_openssl.c5098 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 Dcryptocheck.c909 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 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()
H A Dpoly1305_ctmulq.c317 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 Dzio_crypt.c435 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 Dqat_crypt.c157 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 Dzio_crypt.c496 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 Dccm.c59 uint64_t aad_len, uint64_t data_len, size_t tag_len) in br_ccm_reset()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dmesh_rsn.c559 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 Dktls_test.c366 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 Dacvp_test.c720 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 Dtest_crypto.c5118 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 Dcryptodev.c588 cod_alloc(struct csession *cse, size_t aad_len, size_t len) in cod_alloc()
/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth.c2073 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 Dgcm.c626 size_t aad_len = gcm_param->ulAADLen; in gcm_init_ctx() local

12