/ohos5.0/base/security/crypto_framework/test/unittest/src/aes_cipher/ |
H A D | crypto_aes_gcm_cipher_test.cpp | 48 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 D | crypto_aes_ccm_cipher_test.cpp | 48 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 D | crypto_sm4_gcm_cipher_test.cpp | 50 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 D | hks_keyblob.c | 169 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 D | hks_keynode.c | 505 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 D | detailed_ccm_params.h | 28 HcfBlob aad; member
|
H A D | detailed_gcm_params.h | 28 HcfBlob aad; member
|
/ohos5.0/base/security/asset/test/unittest/module_test/src/ |
H A D | huks_wrapper_test.cpp | 109 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 D | auth_info.c | 76 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 D | common.rs | 144 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 D | lib.rs | 70 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 D | huks_wrapper.c | 217 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 D | adaptor_algorithm.h | 44 Buffer *aad; member
|
/ohos5.0/base/security/crypto_framework/plugin/openssl_plugin/common/inc/ |
H A D | aes_openssl_common.h | 35 unsigned char *aad; member
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_aes_helper.c | 242 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 D | lib.rs | 87 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 D | adaptor_algorithm.h | 45 Buffer *aad; member
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/module_test/framework_test/common_test/src/ |
H A D | hks_base_check_test.cpp | 294 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 D | nstackx_mbedtls.h | 54 uint8_t aad[GCM_MAX_AAD_LENGTH]; member
|
H A D | nstackx_openssl.h | 60 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 D | iso_task_common.c | 84 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 D | softbus_adapter_crypto.h | 45 unsigned char *aad; member
|
/ohos5.0/base/security/crypto_framework/test/unittest/src/native/ |
H A D | native_sym_cipher_test.cpp | 148 uint8_t aad[8] = {0}; variable
|
/ohos5.0/base/security/device_auth/frameworks/deviceauth_lite/test/unittest/ |
H A D | huks_adapter_test.cpp | 940 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 D | common_standard_bind_exchange.c | 219 const Uint8Buff *signInfo, const char *aad) in EncryptAuthAndSignInfo() 278 Uint8Buff *signInfo, const char *aad) in DecryptAuthAndSignInfo()
|