Home
last modified time | relevance | path

Searched defs:aad (Results 51 - 75 of 116) sorted by relevance

12345

/third_party/node/deps/openssl/openssl/crypto/modes/
H A Dsiv128.c246 int ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, in ossl_siv128_aad() argument
H A Dgcm128.c905 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad, argument
/third_party/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; chacha20_poly1305_ctrl() local
[all...]
/third_party/openssl/crypto/modes/
H A Docb128.c268 int CRYPTO_ocb128_aad(OCB128_CONTEXT *ctx, const unsigned char *aad, in CRYPTO_ocb128_aad() argument
H A Dsiv128.c246 int ossl_siv128_aad(SIV128_CONTEXT *ctx, const unsigned char *aad, in ossl_siv128_aad() argument
H A Dgcm128.c905 int CRYPTO_gcm128_aad(GCM128_CONTEXT *ctx, const unsigned char *aad, argument
/third_party/openssl/providers/implementations/ciphers/
H A Dciphercommon_gcm.c446 static int gcm_tls_init(PROV_GCM_CTX *dat, unsigned char *aad, size_t aad_len) in gcm_tls_init() argument
H A Dcipher_chacha20_poly1305_hw.c15 chacha_poly1305_tls_init(PROV_CIPHER_CTX *bctx, unsigned char *aad, size_t alen) chacha_poly1305_tls_init() argument
[all...]
H A Dcipher_aes_ocb.c57 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 Daes-gcm.c229 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 Daes-gcm.c229 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 Diso_task_common.c84 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 Dhks_crypto_hal.h49 struct HksBlob aad; member
/base/security/huks/frameworks/huks_standard/main/crypto_engine/mbedtls/src/
H A Dhks_mbedtls_des.c49 uint8_t *aad; member
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
H A Dhks_chipset_platform_encrypt_test.cpp464 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 Dhks_keyblob_lite.c120 struct HksBlob aad = { in BuildKeyBlobUsageSpec() local
H A Dhks_keynode.c505 static void FreeParamsForBuildKeyNode(struct HksBlob *aad, struct HksParamSet **runtimeParamSet, in FreeParamsForBuildKeyNode() argument
531 struct HksBlob aad = { 0, NULL }; in HksCreateKeyNode() local
[all...]
H A Dhks_keyblob.c169 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 Dcipher_aes_ocb.c57 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 Dcoap_notls.c349 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 Dalg_defs.h64 uint8_t *aad; member
/base/security/device_auth/frameworks/deviceauth_lite/inc/base/
H A Dbase.h183 uint8_t aad[HC_AES_ADD_LEN]; member
/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhuks_adapter_test.cpp940 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 Dhks_aes_cipher_ccm_test.cpp429 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 Doscore_context.c686 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

Completed in 27 milliseconds

12345