/base/security/crypto_framework/test/unittest/src/ |
D | crypto_ecc_verify_test.cpp | 138 HcfVerify *verify = nullptr; variable 139 int32_t res = HcfVerifyCreate("ECC224|SHA1", &verify); 142 ASSERT_NE(verify, nullptr); 144 HcfObjDestroy(verify); 149 HcfVerify *verify = nullptr; variable 150 int32_t res = HcfVerifyCreate("ECC224|SHA224", &verify); 153 ASSERT_NE(verify, nullptr); 155 HcfObjDestroy(verify); 160 HcfVerify *verify = nullptr; variable 161 int32_t res = HcfVerifyCreate("ECC224|SHA256", &verify); [all …]
|
D | crypto_sm2_verify_test.cpp | 87 HcfVerify *verify = nullptr; variable 88 int32_t res = HcfVerifyCreate("SM2|SM3", &verify); 91 ASSERT_NE(verify, nullptr); 93 HcfObjDestroy(verify); 98 HcfVerify *verify = nullptr; variable 99 int32_t res = HcfVerifyCreate(nullptr, &verify); 102 ASSERT_EQ(verify, nullptr); 107 HcfVerify *verify = nullptr; variable 109 "ABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCDABCD", &verify); 112 ASSERT_EQ(verify, nullptr); [all …]
|
D | crypto_dsa_verify_test.cpp | 42 HcfVerify *verify = nullptr; variable 43 HcfResult ret = HcfVerifyCreate("DSA2048|NoHash", &verify); 46 ASSERT_NE(verify, nullptr); 48 const char *verifyClassName = verify->base.getClass(); 49 HcfObjDestroy(verify); 55 HcfVerify *verify = nullptr; variable 56 HcfResult ret = HcfVerifyCreate("DSA2048|NoHash", &verify); 59 ASSERT_NE(verify, nullptr); 61 verify->base.destroy(&(verify->base)); 66 HcfVerify *verify = nullptr; variable [all …]
|
D | crypto_ecc_no_length_verify_test.cpp | 308 HcfVerify *verify = nullptr; variable 309 int32_t res = HcfVerifyCreate("ECC|SHA1", &verify); 312 ASSERT_NE(verify, nullptr); 314 HcfObjDestroy(verify); 319 HcfVerify *verify = nullptr; variable 320 int32_t res = HcfVerifyCreate("ECC|SHA224", &verify); 323 ASSERT_NE(verify, nullptr); 325 HcfObjDestroy(verify); 330 HcfVerify *verify = nullptr; variable 331 int32_t res = HcfVerifyCreate("ECC|SHA256", &verify); [all …]
|
D | crypto_rsa_verify_test.cpp | 155 HcfVerify *verify = nullptr; variable 156 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256", &verify); 158 ASSERT_EQ(verify, nullptr); 160 HcfObjDestroy(verify); 165 HcfVerify *verify = nullptr; variable 166 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256|MGF1_SHA256", &verify); 168 ASSERT_NE(verify, nullptr); 170 HcfObjDestroy(verify); 177 HcfVerify *verify = nullptr; variable 178 res = HcfVerifyCreate("RSA1024|PSS|SHA256|MGF1_SHA256", &verify); [all …]
|
D | crypto_dsa_sign_test.cpp | 544 HcfVerify *verify = nullptr; variable 545 ret = HcfVerifyCreate("DSA2048|NoHash", &verify); 547 EXPECT_NE(verify, nullptr); 549 ret = verify->init(verify, nullptr, dsa2048KeyPair_->pubKey); 552 EXPECT_EQ(verify->verify(verify, &srcData, &signData), true); 554 HcfObjDestroy(verify); 586 HcfVerify *verify = nullptr; variable 587 ret = HcfVerifyCreate("DSA2048|NoHash", &verify); 589 EXPECT_NE(verify, nullptr); 591 ret = verify->init(verify, nullptr, dsa2048KeyPair_->pubKey); [all …]
|
D | crypto_signature_exception_test.cpp | 201 HcfVerify *verify = nullptr; variable 202 HcfResult res = HcfVerifyCreate("DSA1024|SHA256", &verify); 204 ASSERT_NE(verify, nullptr); 206 HcfVerifySpi verifyObj { .base = *(HcfObjectBase *)verify }; 217 verify->base.destroy((HcfObjectBase *)verify);
|
D | crypto_sm2_sign_test.cpp | 622 HcfVerify *verify = nullptr; variable 623 res = HcfVerifyCreate("SM2|SM3", &verify); 625 ASSERT_NE(verify, nullptr); 627 verify->init(verify, nullptr, sm2256KeyPair_->pubKey); 630 verify->update(verify, &input); 633 bool flag = verify->verify(verify, nullptr, &out); 636 verify->update(verify, &input); 639 flag = verify->verify(verify, nullptr, &out2); 645 HcfObjDestroy(verify);
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfverifycreate_fuzzer/ |
D | hcfverifycreate_fuzzer.cpp | 59 HcfVerify *verify = nullptr; in TestVerify() local 60 res = HcfVerifyCreate("ECC224|SHA384", &verify); in TestVerify() 71 (void)verify->init(verify, nullptr, ecc224KeyPair->pubKey); in TestVerify() 72 (void)verify->update(verify, &mockInput); in TestVerify() 73 (void)verify->verify(verify, nullptr, &out); in TestVerify() 77 HcfObjDestroy(verify); in TestVerify() 83 HcfVerify *verify = nullptr; in HcfVerifyCreateFuzzTest() local 85 HcfResult res = HcfVerifyCreate(algoName.c_str(), &verify); in HcfVerifyCreateFuzzTest() 89 HcfObjDestroy(verify); in HcfVerifyCreateFuzzTest()
|
/base/update/sys_installer_lite/frameworks/source/ |
D | BUILD.gn | 18 "//base/update/sys_installer_lite/frameworks/source/verify/app_rsa.c", 19 "//base/update/sys_installer_lite/frameworks/source/verify/app_sha256.c", 20 "//base/update/sys_installer_lite/frameworks/source/verify/hota_verify.c", 26 "//base/update/sys_installer_lite/frameworks/source/verify", 42 "//base/update/sys_installer_lite/frameworks/source/verify/app_rsa.c", 43 "//base/update/sys_installer_lite/frameworks/source/verify/app_sha256.c", 44 "//base/update/sys_installer_lite/frameworks/source/verify/hota_verify.c", 50 "//base/update/sys_installer_lite/frameworks/source/verify",
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_verify.cpp | 38 HcfVerify *verify = nullptr; member 55 HcfVerify *verify = nullptr; member 71 HcfVerify *verify = nullptr; member 173 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsInitCtx() 211 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsUpdateCtx() 275 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsDoFinalCtx() 375 ctx->errCode = ctx->verify->init(ctx->verify, ctx->params, ctx->pubKey); in VerifyJsInitAsyncWorkProcess() 398 ctx->errCode = ctx->verify->update(ctx->verify, ctx->data); in VerifyJsUpdateAsyncWorkProcess() 421 ctx->isVerifySucc = ctx->verify->verify(ctx->verify, ctx->data, ctx->signatureData); in VerifyJsDoFinalAsyncWorkProcess() 524 NapiVerify::NapiVerify(HcfVerify *verify) in NapiVerify() argument [all …]
|
/base/startup/hvb/ |
D | README.md | 5 Open**H**armony **V**erified **B**oot (HVB) component is used to verify and authenticate system ima… 19 … library. It will be integrated by Bootloader to verify initial images, and integrated by init to …
|
/base/security/device_security_level/services/dslm/ |
D | dslm_credential.c | 60 VerifyDslmCredFunc *verify = cb->verifyFunc; in DefaultVerifyDslmCred() local 61 if (verify != NULL) { in DefaultVerifyDslmCred() 62 return verify(device, challenge, credBuff, credInfo); in DefaultVerifyDslmCred()
|
/base/security/device_security_level/oem_property/ohos/standard/ |
D | dslm_cred_tool.py | 377 …verify = ssl.digest_verify_with_pub_key(root_pk_bytes, root_pk_bytes, root_self_sign_bytes, '-sha3… 378 if not verify: 383 … verify = ssl.digest_verify_with_pub_key(root_pk_bytes, oem_pk_bytes, oem_sign_bytes, '-sha384') 384 if not verify: 389 …verify = ssl.digest_verify_with_pub_key(oem_pk_bytes, device_pk_bytes, device_sign_bytes, '-sha384… 390 if not verify: 394 verify = ssl.digest_verify_with_pub_key(device_pk_bytes, payload.encode('utf8'), 396 if not verify: 397 verify = ssl.digest_verify_with_pub_key(device_pk_bytes, payload.encode('utf8'), 399 if not verify:
|
/base/security/certificate_framework/interfaces/innerkits/certificate/ |
D | certificate.h | 30 CfResult (*verify)(HcfCertificate *self, HcfPubKey *key); member
|
D | x509_crl.h | 35 CfResult (*verify)(HcfX509Crl *self, HcfPubKey *key); member
|
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/ |
D | hks_teec.h | 68 const struct HksBlob *verify, bool isVerify); 79 int32_t HksTeeProvisionVerify(const struct HksBlob *verify, struct HksBlob *challenge,
|
/base/security/appverify/interfaces/innerkits/appverify_lite/ |
D | BUILD.gn | 35 shared_library("verify") { 55 group("verify") {
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
D | napi_verify.h | 29 explicit NapiVerify(HcfVerify *verify);
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_sm2_sign_verify_test.cpp | 435 struct GenerateKeyCaseParam verify; member 477 ret = InitParamSet(&verifyParamSet, param.verify.params.data(), param.verify.params.size()); in HksSm2SignVerifyTestRun() 481 ret = ((ret == param.verify.result) ? HKS_SUCCESS : ret); in HksSm2SignVerifyTestRun() 491 ret = ((ret == param.verify.result) ? HKS_SUCCESS : ret); in HksSm2SignVerifyTestRun()
|
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
D | signature.h | 62 bool (*verify)(HcfVerify *self, HcfBlob *data, HcfBlob *signatureData); member
|
/base/update/sys_installer_lite/frameworks/test/unittest/common/ |
D | BUILD.gn | 20 "//base/update/sys_installer_lite/frameworks/source/verify",
|
/base/security/appverify/ |
D | BUILD.gn | 38 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
|
/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/ |
D | BUILD.gn | 45 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
|
/base/security/code_signature/ |
D | README.md | 5 …ity mechanism on OpenHarmony to protect integrity of the application and verify the validity of th…
|