| /third_party/node/deps/openssl/openssl/crypto/modes/ |
| H A D | siv128.c | 246 int ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, in ossl_siv128_aad() argument
|
| H A D | gcm128.c | 905 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad, argument
|
| /third_party/openssl/crypto/evp/ |
| H A D | e_chacha20_poly1305.c | 158 struct { uint64_t aad, text; } len; member 159 int aad, mac_inited, tag_len, nonce_len; member 574 unsigned char *aad = ptr; chacha20_poly1305_ctrl() local [all...] |
| /third_party/openssl/crypto/modes/ |
| H A D | ocb128.c | 268 int CRYPTO_ocb128_aad(OCB128_CONTEXT *ctx, const unsigned char *aad, in CRYPTO_ocb128_aad() argument
|
| H A D | siv128.c | 246 int ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, in ossl_siv128_aad() argument
|
| H A D | gcm128.c | 905 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad, argument
|
| /third_party/openssl/providers/implementations/ciphers/ |
| H A D | ciphercommon_gcm.c | 446 static int gcm_tls_init(PROV_GCM_CTX *dat, unsigned char *aad, size_t aad_len) in gcm_tls_init() argument
|
| H A D | cipher_chacha20_poly1305_hw.c | 15 chacha_poly1305_tls_init(PROV_CIPHER_CTX *bctx, unsigned char *aad, size_t alen) chacha_poly1305_tls_init() argument [all...] |
| H A D | cipher_aes_ocb.c | 57 aes_generic_ocb_setaad(PROV_AES_OCB_CTX *ctx, const unsigned char *aad, size_t alen) aes_generic_ocb_setaad() argument
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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() argument 254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) aes_gcm_ae() argument 288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) aes_gcm_ad() argument 322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) aes_gmac() argument
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/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() argument 254 aes_gcm_ae(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *plain, size_t plain_len, const u8 *aad, size_t aad_len, u8 *crypt, u8 *tag) aes_gcm_ae() argument 288 aes_gcm_ad(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *crypt, size_t crypt_len, const u8 *aad, size_t aad_len, const u8 *tag, u8 *plain) aes_gcm_ad() argument 322 aes_gmac(const u8 *key, size_t key_len, const u8 *iv, size_t iv_len, const u8 *aad, size_t aad_len, u8 *tag) aes_gmac() argument
|
| /base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/ |
| H A D | iso_task_common.c | 84 int GenerateEncResult(const IsoParams *params, int message, CJson *sendToPeer, const char *aad) in GenerateEncResult() argument 171 int GenEncResult(IsoParams *params, int message, CJson *out, const char *aad, bool isNeedReturnKey) in GenEncResult() argument 219 int CheckEncResult(IsoParams *params, const CJson *in, const char *aad) in CheckEncResult() argument [all...] |
| /base/security/huks/frameworks/huks_standard/main/common/include/ |
| H A D | hks_crypto_hal.h | 49 struct HksBlob aad; member
|
| /base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/ |
| H A D | hks_mbedtls_des.c | 49 uint8_t *aad; member
|
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
| H A D | hks_chipset_platform_encrypt_test.cpp | 464 struct HksBlob aad = { .size = PLATFORM_KEY_AAD_SIZE, .data = res.aad.data() }; in Encrypt() local 378 AesGcmEncrypt(const struct HksBlob &wrapKey, const struct HksBlob &plainText, struct HksBlob iv, struct HksBlob aad, struct HksBlob cipherText) AesGcmEncrypt() argument [all...] |
| /base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
| H A D | hks_keyblob_lite.c | 120 struct HksBlob aad = {
in BuildKeyBlobUsageSpec() local
|
| H A D | hks_keynode.c | 505 static void FreeParamsForBuildKeyNode(struct HksBlob *aad, struct HksParamSet **runtimeParamSet, in FreeParamsForBuildKeyNode() argument 531 struct HksBlob aad = { 0, NULL }; in HksCreateKeyNode() local [all...] |
| H A D | hks_keyblob.c | 169 static int32_t BuildKeyBlobUsageSpec(const struct HksBlob *aad, const struct HksParam *keyParam,
in BuildKeyBlobUsageSpec() argument 197 static int32_t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bool isEncrypt)
in EncryptAndDecryptKeyBlob() argument 261 static int32_t EncryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet)
in EncryptKeyBlob() argument 274 static int32_t DecryptKeyBlob(const struct HksBlob *aad, struc argument 376 GetAadAndParamSet(const struct HksBlob *inData, struct HksBlob *aad, struct HksParamSet **paramSet) GetAadAndParamSet() argument 421 struct HksBlob aad = { 0, NULL }; HksGenerateKeyNode() local 545 struct HksBlob aad = { keyBlobParamSet->paramSetSize - keyParam->blob.size, (uint8_t *)keyBlobParamSet }; HksBuildKeyBlob2() local 595 HksGetAadAndParamSet(const struct HksBlob *inData, struct HksBlob *aad, struct HksParamSet **paramSet) HksGetAadAndParamSet() argument 600 HksDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet) HksDecryptKeyBlob() argument [all...] |
| /third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
| H A D | cipher_aes_ocb.c | 57 aes_generic_ocb_setaad(PROV_AES_OCB_CTX *ctx, const unsigned char *aad, size_t alen) aes_generic_ocb_setaad() argument
|
| /third_party/libcoap/src/ |
| H A D | coap_notls.c | 349 coap_crypto_aead_encrypt(const coap_crypto_param_t *params, coap_bin_const_t *data, coap_bin_const_t *aad, uint8_t *result, size_t *max_result_len) coap_crypto_aead_encrypt() argument 363 coap_crypto_aead_decrypt(const coap_crypto_param_t *params, coap_bin_const_t *data, coap_bin_const_t *aad, uint8_t *result, size_t *max_result_len) coap_crypto_aead_decrypt() argument
|
| /base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
| H A D | alg_defs.h | 64 uint8_t *aad; member
|
| /base/security/device_auth/frameworks/deviceauth_lite/inc/base/ |
| H A D | base.h | 183 uint8_t aad[HC_AES_ADD_LEN]; member
|
| /base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
| H A D | huks_adapter_test.cpp | 940 struct aes_aad aad= {64, {0}}; in HWTEST_F() local 965 struct aes_aad aad; in HWTEST_F() local 1001 struct aes_aad aad = {1, {1}}; HWTEST_F() local 1025 struct aes_aad aad; HWTEST_F() local 1051 struct aes_aad aad; HWTEST_F() local 1077 struct aes_aad aad; HWTEST_F() local [all...] |
| /base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
| H A D | hks_aes_cipher_ccm_test.cpp | 429 static int32_t HksAesSetAadLen(HksParam *param, uint32_t cnt, uint32_t len, const uint8_t *aad)
in HksAesSetAadLen() argument [all...] |
| /third_party/libcoap/src/oscore/ |
| H A D | oscore_context.c | 686 oscore_new_association(coap_session_t *session, coap_pdu_t *sent_pdu, coap_bin_const_t *token, oscore_recipient_ctx_t *recipient_ctx, coap_bin_const_t *aad, coap_bin_const_t *nonce, coap_bin_const_t *partial_iv, int is_observe) oscore_new_association() argument
|