/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/asymmetric_alg_test/ |
D | hks_rsa_cipher_part4_test.cpp | 710 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 742 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 775 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 807 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 839 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 872 struct HksBlob inData = { g_inData_512.length(), variable 905 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 938 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 970 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 1003 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable
|
D | hks_rsa_cipher_part2_test.cpp | 708 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 740 struct HksBlob inData = { g_inData_12.length(), variable 772 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 804 struct HksBlob inData = { g_inData_5.length(), variable 837 struct HksBlob inData = { g_inData_128.length(), variable 871 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 903 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 935 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 967 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 999 struct HksBlob inData = { (uint32_t)g_inData_5.length(), variable
|
D | hks_rsa_cipher_part3_test.cpp | 713 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 746 struct HksBlob inData = { g_inData_256.length(), variable 779 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 812 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 844 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 877 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 909 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 941 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 974 struct HksBlob inData = { g_inData_384.length(), variable 1007 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable
|
D | hks_rsa_cipher_part1_test.cpp | 706 struct HksBlob inData = { g_inData_64.length(), variable 739 struct HksBlob inData = { g_inData_32.length(), variable 771 struct HksBlob inData = { g_inData_14.length(), variable 803 struct HksBlob inData = { g_inData_5.length(), variable 835 struct HksBlob inData = { g_inData_20.length(), variable 867 struct HksBlob inData = { g_inData_20.length(), variable 899 struct HksBlob inData = { g_inData_20.length(), variable 932 struct HksBlob inData = { g_inData_96.length(), variable 965 struct HksBlob inData = { g_inData_32.length(), variable 997 struct HksBlob inData = { g_inData_32.length(), variable
|
D | hks_sm2_cipher_test.cpp | 359 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksSm2CipherTestEncrypt() 387 const struct HksBlob *cipherText, struct HksBlob *plainText, const struct HksBlob *inData) in HksSm2CipherTestDecrypt() 424 const struct HksBlob *inData, struct HksBlob *cipherText) in HksSm2CipherTestRun() 488 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable 512 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable 554 struct HksBlob inData = { sizeof(DATA_AFTER_SHA256_HASH), (uint8_t *)DATA_AFTER_SHA256_HASH }; variable 574 struct HksBlob inData = { g_inDataArr[i].length(), (uint8_t *)g_inDataArr[i].c_str() }; variable 585 …const struct HksParamSet *encryptParamSet, const struct OH_Huks_Blob *inData, struct OH_Huks_Blob … in HksSm2CipherTestEncryptByNdk() 606 struct OH_Huks_Blob *plainText, const struct OH_Huks_Blob *inData) in HksSm2CipherTestDecryptByNdk() 625 const struct OH_Huks_Blob *inData) in HksSm2CipherTestRunByNdk() [all …]
|
D | hks_rsa_cipher_test_common.cpp | 21 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksRsaCipherTestEncryptAbnormal() 53 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksRsaCipherTestEncrypt() 83 const struct HksBlob *inData) in HksRsaCipherTestDecrypt() 113 …ct HksParamSet *encryptParamSet, struct HksParamSet *decryptParamSet, const struct HksBlob *inData) in HksRsaCipherTestCase() 149 const struct HksBlob *inData) in HksRsaCipherTestCaseAbnormal()
|
D | hks_rsa_cipher_part5_test.cpp | 319 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 351 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 383 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 456 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 562 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable 594 struct HksBlob inData = { (uint32_t)g_inData_32.length(), variable
|
/base/notification/common_event_service/frameworks/extension/test/static_subscriber_proxy_test/ |
D | static_subscriber_proxy_test.cpp | 66 ErrCode OnReceiveEvent(CommonEventData* inData) override in OnReceiveEvent() 85 ErrCode OnReceiveEvent(CommonEventData* inData) override in OnReceiveEvent() 105 CommonEventData* inData = nullptr; variable 122 CommonEventData* inData = nullptr; variable
|
/base/security/huks/interfaces/kits/liteapi/src/ |
D | hks_lite_api_update_finish_session.cpp | 33 … HksCallUpdateSession(struct HksBlob *handle, struct HksParamSet *paramSet, struct HksBlob *inData, in HksCallUpdateSession() 45 … HksCallFinishSession(struct HksBlob *handle, struct HksParamSet *paramSet, struct HksBlob *inData, in HksCallFinishSession() 57 static int32_t InitOutDataBuffer(struct HksBlob *inData, struct HksBlob *outData) in InitOutDataBuffer() 80 struct HksBlob inData = { 0, nullptr }; in InnerUpdateFinishSession() local
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_update_test.cpp | 108 struct CmBlob *inData = nullptr; variable 121 struct CmBlob inData = { 0, (uint8_t *)g_inDataBuf }; variable 134 struct CmBlob inData = { DEFAULT_INDATA_SIZE, nullptr }; variable
|
D | cm_finish_test.cpp | 210 struct CmBlob inData = { 0, nullptr }; variable 227 struct CmBlob inData = { 0, nullptr }; variable 244 struct CmBlob inData = { 0, nullptr }; variable 261 struct CmBlob *inData = nullptr; variable 278 struct CmBlob inData = { 0, nullptr }; variable 295 struct CmBlob inData = { 0, nullptr }; variable
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_sm2_sign_verify_test.cpp | 339 const struct HksBlob *inData, struct HksBlob *outData) in HksTestSignVerify() 412 const bool isTestSignData, const struct HksBlob *inData) in HksSm2SignVerifyTestRun() 483 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable 499 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable 531 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable 550 struct HksBlob inData = { sizeof(DATA_AFTER_SHA256_HASH), (uint8_t *)DATA_AFTER_SHA256_HASH }; variable 568 struct HksBlob inData = { g_inData.length(), (uint8_t *)g_inData.c_str() }; variable
|
D | hks_sm4_cipher_test_common.cpp | 24 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksSm4CipherTestEncrypt() 46 const struct HksBlob *inData) in HksSm4CipherTestDecrypt() 69 struct HksBlob inData = { in HksSm4CipherTestCaseOther() local 109 struct HksBlob inData = { in HksSm4CipherTestCaseGcm() local
|
D | hks_three_stage_test_common.c | 42 uint32_t purpose, const struct HksBlob *inData, struct HksBlob *outData) in TestLessThanMaxSeg() 76 …ate(const struct HksBlob *handle, const struct HksParamSet *paramSet, const struct HksBlob *inData) in HksTestUpdate() 115 const struct HksBlob *inData, struct HksBlob *outData) in TestBatchUpdateLoopFinish() 171 const struct HksBlob *inData, struct HksBlob *outData) in TestUpdateLoopFinish() 231 uint32_t purpose, const struct HksBlob *inData, struct HksBlob *outData) in TestUpdateFinish()
|
D | hks_cross_test.cpp | 76 struct HksBlob inData = { g_inData.length(), variable 119 struct HksBlob inData = { g_inData.length(), variable 166 struct HksBlob inData = { g_inData_32.length(), variable 214 struct HksBlob inData = { g_inData_32.length(), variable 264 struct HksBlob inData = { g_inData.length(), variable 308 struct HksBlob inData = { g_inData.length(), variable 355 struct HksBlob inData = { g_hashData.length(), variable 400 struct HksBlob inData = { g_hashData.length(), variable 444 struct HksBlob inData = { g_inData.length(), variable 488 struct HksBlob inData = { g_inData.length(), variable [all …]
|
D | hks_hkdf_derive_x25519_part2_test.cpp | 263 struct HksBlob inData = { g_inData.length(), variable 313 struct HksBlob inData = { g_inData.length(), variable 363 struct HksBlob inData = { g_inData.length(), variable 423 struct HksBlob inData = { g_inData.length(), variable
|
D | hks_cross_test_common.cpp | 43 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksCrossTestAesEncrypt() 94 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksCrossTestRsaEncrypt() 145 …const struct HksParamSet *signVerifyParamSet, const struct HksBlob *inData, struct HksBlob *signed… in HksCrossTestSignVerify() 173 struct HksBlob inData = { in HksCrossTestHmac() local 273 struct HksBlob inData = { in HksCrossTestAgree() local 305 struct HksBlob inData = { in HksCrossTestDerive() local
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/symmetric_alg_test/ |
D | hks_aes_cipher_test_common.cpp | 29 …const struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherTex… in HksAesCipherTestEncrypt() 59 struct HksParamSet *encryptParamSet, const struct HksBlob *inData, struct HksBlob *cipherText, in HksAesCipherTestEncryptWithoutNonce() 100 const struct HksBlob *inData) in HksAesCipherTestDecrypt() 154 struct HksBlob inData = { in HksAesCipherTestCaseOther() local 193 struct HksBlob inData = { in HksAesCipherTestCaseGcm2() local 251 struct HksBlob inData = { in HksAesCipherTestCaseGcm3() local 338 struct HksBlob inData = { in HksAesCipherTestCaseGcm4() local 397 const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesEncryptThreeStage() 405 const struct HksBlob *inData, struct HksBlob *cipherText, struct HksBlob *plainText) in HksAesDecryptThreeStage()
|
D | hks_aes_cipher_ccm_test.cpp | 518 …struct HksBlob inData = {dataLen, const_cast<uint8_t *>(reinterpret_cast<const uint8_t *>(g_AesCcm… in TestAesCcmAbort() local 559 const struct HksBlob *inData, struct HksBlob *outData) in TestAesCcmUpdateLoopFinish() 608 const struct HksParamSet *encParamSet, const struct HksBlob *inData, struct HksBlob *cipherText) in HksAesCcmCipherTestEncrypt() 635 const struct HksBlob *inData, uint32_t aeadLen) in HksAesCcmCipherTestDecrypt() 691 struct HksBlob inData = {dataLen, tempData}; in HksAesCmcCipherTestCaseRun() local 944 struct HksBlob inData = {sizeof(tempInData), tempInData}; variable 1003 struct HksBlob inData = {sizeof(tempInData), tempInData}; variable 1242 struct HksBlob inData = {CCM_MAX_DATA_LEN_FOR_MAX_NONCE + AES_COMMON_SIZE, tempData}; variable 1369 struct HksBlob inData = {tempLen, tempData}; variable 1467 struct HksBlob inData = {sizeof(g_testPlain), g_testPlain}; variable [all …]
|
/base/security/huks/frameworks/huks_standard/main/os_dependency/ipc/src/ |
D | hks_ipc_slice.c | 55 static uint32_t GetDataSize(uint32_t cmdId, const struct HksBlob *inData, const struct HksBlob *out… in GetDataSize() 76 struct HksBlob *inData, struct HksBlob *outData) in ProcessDataOnce() 119 struct HksBlob *inData, struct HksBlob *outData) in HksSliceDataEntry()
|
/base/security/huks/services/huks_standard/huks_engine/main/core/src/ |
D | hks_core_service_three_stage.c | 99 …ckSm2CipherData(bool isEncrypt, const struct HksUsageSpec *usageSpec, const struct HksBlob *inData, in CheckSm2CipherData() 120 static int32_t CheckAesCipherAead(bool isEncrypt, const struct HksBlob *inData, in CheckAesCipherAead() 139 …heckBlockCipherOther(uint32_t mode, bool isEncrypt, uint32_t padding, const struct HksBlob *inData, in CheckBlockCipherOther() 174 const struct HksBlob *inData, const struct HksBlob *outData) in CheckBlockCipherData() 197 const struct HksBlob *inData, const struct HksBlob *outData) in HksCheckFinishOutSize() 322 static int32_t CopyNewCachedData(const struct HksBlob *cachedBlob, const struct HksBlob *inData, in CopyNewCachedData() 340 static int32_t GetNewCachedData(const struct HksBlob *cachedBlob, const struct HksBlob *inData, in GetNewCachedData() 420 …tic int32_t CheckCachedDataMaxSize(const struct HuksKeyNode *keyNode, const struct HksBlob *inData, in CheckCachedDataMaxSize() 523 static int32_t CoreSignVerify(const struct HuksKeyNode *keyNode, const struct HksBlob *inData, in CoreSignVerify() 752 static int32_t CoreCipherUpdate(const struct HuksKeyNode *keyNode, const struct HksBlob *inData, in CoreCipherUpdate() [all …]
|
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
D | openssl_aes_helper.c | 125 int32_t AesEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBl… in AesEncrypt() 179 int32_t AesDecrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct HksBl… in AesDecrypt() 233 int32_t AesGcmEncrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct Hk… in AesGcmEncrypt() 288 int32_t AesGcmDecrypt(const struct HksParamSet *paramSetIn, const struct HksBlob *inData, struct Hk… in AesGcmDecrypt()
|
/base/security/code_signature/test/unittest/mock/src/ |
D | hks_api.cpp | 58 const struct HksBlob *inData, struct HksBlob *outData) in HksUpdate() 65 const struct HksBlob *inData, struct HksBlob *outData) in HksFinish()
|
/base/notification/common_event_service/services/test/unittest/static_subscriber_connection_unit_test/ |
D | mock_static_subscriber_proxy.cpp | 34 ErrCode StaticSubscriberProxy::OnReceiveEvent(CommonEventData* inData) in OnReceiveEvent()
|
/base/security/asset/services/crypto_manager/src/ |
D | huks_wrapper.c | 214 …2_t EncryptData(const struct KeyId *keyId, const struct HksBlob *aad, const struct HksBlob *inData, in EncryptData() 249 …2_t DecryptData(const struct KeyId *keyId, const struct HksBlob *aad, const struct HksBlob *inData, in DecryptData() 316 const struct HksBlob *inData, struct HksBlob *outData) in ExecCrypt() 350 struct HksBlob inData = { 0, NULL }; in Drop() local
|