Home
last modified time | relevance | path

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

12

/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/
H A Dcrypto_aes_gcm_cipher_test.cpp48 uint8_t aad[8] = {0}; variable
102 uint8_t aad[8] = {0}; variable
156 uint8_t aad[8] = {0}; variable
210 uint8_t aad[8] = {0}; variable
264 uint8_t aad[8] = {0}; variable
318 uint8_t aad[8] = {0}; variable
372 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
425 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
546 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
945 uint8_t aad[8] = {0}; variable
[all …]
H A Dcrypto_aes_ccm_cipher_test.cpp48 uint8_t aad[8] = {0}; variable
101 uint8_t aad[8] = {0}; variable
154 uint8_t aad[8] = {0}; variable
207 uint8_t aad[8] = {0}; variable
260 uint8_t aad[8] = {0}; variable
314 uint8_t aad[8] = {0}; variable
367 uint8_t aad[CCM_AAD_LEN] = { 0 }; variable
419 uint8_t aad[CCM_AAD_LEN] = { 0 }; variable
503 uint8_t aad[CCM_AAD_LEN] = { 0 }; variable
545 uint8_t aad[CCM_AAD_LEN] = { 0 }; variable
[all …]
/ohos5.0/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_sm4_gcm_cipher_test.cpp50 uint8_t aad[8] = {0}; variable
104 uint8_t aad[8] = {0}; variable
158 uint8_t aad[8] = {0}; variable
212 uint8_t aad[8] = {0}; variable
266 uint8_t aad[8] = {0}; variable
320 uint8_t aad[8] = {0}; variable
442 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
486 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
529 uint8_t aad[GCM_AAD_LEN] = { 0 }; variable
841 uint8_t aad[8] = {0}; variable
[all …]
/ohos5.0/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_keyblob.c169 static int32_t BuildKeyBlobUsageSpec(const struct HksBlob *aad, const struct HksParam *keyParam, in BuildKeyBlobUsageSpec()
197 static int32_t EncryptAndDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet, bo… in EncryptAndDecryptKeyBlob()
261 static int32_t EncryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet) in EncryptKeyBlob()
274 static int32_t DecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet) in DecryptKeyBlob()
376 static int32_t GetAadAndParamSet(const struct HksBlob *inData, struct HksBlob *aad, struct HksParam… in GetAadAndParamSet()
421 struct HksBlob aad = { 0, NULL }; in HksGenerateKeyNode() local
545 …struct HksBlob aad = { keyBlobParamSet->paramSetSize - keyParam->blob.size, (uint8_t *)keyBlobPara… in HksBuildKeyBlob2() local
595 int32_t HksGetAadAndParamSet(const struct HksBlob *inData, struct HksBlob *aad, struct HksParamSet … in HksGetAadAndParamSet()
600 int32_t HksDecryptKeyBlob(const struct HksBlob *aad, struct HksParamSet *paramSet) in HksDecryptKeyBlob()
H A Dhks_keynode.c505 static void FreeParamsForBuildKeyNode(struct HksBlob *aad, struct HksParamSet **runtimeParamSet, in FreeParamsForBuildKeyNode()
531 struct HksBlob aad = { 0, NULL }; in HksCreateKeyNode() local
/ohos5.0/base/security/crypto_framework/interfaces/innerkits/algorithm_parameter/
H A Ddetailed_ccm_params.h28 HcfBlob aad; member
H A Ddetailed_gcm_params.h28 HcfBlob aad; member
/ohos5.0/base/security/asset/test/unittest/module_test/src/
H A Dhuks_wrapper_test.cpp109 uint8_t aad[8] = { 0 }; variable
134 uint8_t aad[8] = { 0 }; variable
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/source/auth_info/
H A Dauth_info.c76 const char *aad, struct uint8_buff *payload) in encrypt_payload()
94 const char *aad, struct uint8_buff *plain) in decrypt_payload()
/ohos5.0/base/security/asset/services/core_service/src/operations/
H A Dcommon.rs144 let mut aad = Vec::new(); in build_aad_v1() localVariable
171 let mut aad = Vec::new(); in build_aad_v2() localVariable
/ohos5.0/base/security/asset/services/db_key_operator/src/
H A Dlib.rs70 let aad: Vec<u8> = TRIVIAL_AAD_FOR_DB_KEY.as_bytes().to_vec(); in decrypt_db_key_cipher() localVariable
88 let aad: Vec<u8> = TRIVIAL_AAD_FOR_DB_KEY.as_bytes().to_vec(); in encrypt_db_key() localVariable
/ohos5.0/base/security/asset/services/crypto_manager/src/
H A Dhuks_wrapper.c217 int32_t EncryptData(const struct KeyId *keyId, const struct HksBlob *aad, const struct HksBlob *inD… in EncryptData()
252 int32_t DecryptData(const struct KeyId *keyId, const struct HksBlob *aad, const struct HksBlob *inD… in DecryptData()
318 int32_t ExecCrypt(const struct HksBlob *handle, const struct HksBlob *aad, const struct HksBlob *au… in ExecCrypt()
/ohos5.0/drivers/peripheral/user_auth/hdi_service/adaptor/inc/
H A Dadaptor_algorithm.h44 Buffer *aad; member
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Daes_openssl_common.h35 unsigned char *aad; member
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_aes_helper.c242 struct HksParam *aad = NULL; in AesGcmEncrypt() local
297 struct HksParam *aad = NULL; in AesGcmDecrypt() local
/ohos5.0/base/security/asset/test/unittest/module_test/src/crypto_manager/
H A Dlib.rs87 let aad = vec![0; AAD_SIZE as usize]; in encrypt_and_decrypt() localVariable
121 let aad = vec![0; AAD_SIZE as usize]; in crypto_exec() localVariable
/ohos5.0/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/
H A Dadaptor_algorithm.h45 Buffer *aad; member
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/
H A Dhks_base_check_test.cpp294 struct HksBlob aad = { .size = strlen(aadData), .data = (uint8_t *)aadData }; variable
320 struct HksBlob aad = { .size = strlen(aadData), .data = (uint8_t *)aadData }; variable
/ohos5.0/foundation/communication/dsoftbus/components/nstackx/nstackx_util/interface/
H A Dnstackx_mbedtls.h54 uint8_t aad[GCM_MAX_AAD_LENGTH]; member
H A Dnstackx_openssl.h60 uint8_t aad[GCM_MAX_AAD_LENGTH]; member
/ohos5.0/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()
171 int GenEncResult(IsoParams *params, int message, CJson *out, const char *aad, bool isNeedReturnKey) in GenEncResult()
219 int CheckEncResult(IsoParams *params, const CJson *in, const char *aad) in CheckEncResult()
/ohos5.0/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_crypto.h45 unsigned char *aad; member
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/
H A Dnative_sym_cipher_test.cpp148 uint8_t aad[8] = {0}; variable
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/
H A Dhuks_adapter_test.cpp940 struct aes_aad aad= {64, {0}}; variable
965 struct aes_aad aad; variable
1001 struct aes_aad aad = {1, {1}}; variable
1025 struct aes_aad aad; variable
1051 struct aes_aad aad; variable
1077 struct aes_aad aad; variable
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
H A Dcommon_standard_bind_exchange.c219 const Uint8Buff *signInfo, const char *aad) in EncryptAuthAndSignInfo()
278 Uint8Buff *signInfo, const char *aad) in DecryptAuthAndSignInfo()

12