/base/security/crypto_framework/test/unittest/src/ |
D | crypto_ecc_verify_test.cpp | 135 HcfVerify *verify = NULL; variable 136 int32_t res = HcfVerifyCreate("ECC224|SHA1", &verify); 139 ASSERT_NE(verify, nullptr); 141 HcfObjDestroy(verify); 146 HcfVerify *verify = NULL; variable 147 int32_t res = HcfVerifyCreate("ECC224|SHA224", &verify); 150 ASSERT_NE(verify, nullptr); 152 HcfObjDestroy(verify); 157 HcfVerify *verify = NULL; variable 158 int32_t res = HcfVerifyCreate("ECC224|SHA256", &verify); [all …]
|
D | crypto_rsa_verify_test.cpp | 44 HcfVerify *verify = NULL; variable 45 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256", &verify); 47 ASSERT_EQ(verify, nullptr); 49 HcfObjDestroy(verify); 54 HcfVerify *verify = NULL; variable 55 int32_t res = HcfVerifyCreate("RSA1024|PSS|SHA256|MGF1_SHA256", &verify); 57 ASSERT_NE(verify, nullptr); 59 HcfObjDestroy(verify); 66 HcfVerify *verify = NULL; variable 67 res = HcfVerifyCreate("RSA1024|PSS|SHA256|MGF1_SHA256", &verify); [all …]
|
D | crypto_ecc_sign_test.cpp | 2670 HcfVerify *verify = NULL; variable 2671 res = HcfVerifyCreate("ECC256|SHA256", &verify); 2673 ASSERT_NE(verify, nullptr); 2675 verify->init(verify, NULL, ecc256KeyPair_->pubKey); 2678 verify->update(verify, &input); 2681 bool flag = verify->verify(verify, NULL, &out); 2684 verify->update(verify, &input); 2687 flag = verify->verify(verify, NULL, &out2); 2693 HcfObjDestroy(verify);
|
D | crypto_x509_certificate_test.cpp | 343 ret = g_x509CertObj->base.verify((HcfCertificate *)g_x509CertObj, keyOut); 372 ret = secondCert->base.verify((HcfCertificate *)secondCert, rootkeyOut); 395 ret = g_x509CertObj->base.verify((HcfCertificate *)g_x509CertObj, rootkeyOut); 404 HcfResult ret = g_x509CertObj->base.verify((HcfCertificate *)g_x509CertObj, nullptr); 782 ret = g_x509CertObj->base.verify(nullptr, nullptr); 911 HcfResult ret = g_x509CertObj->base.verify(&(invalidCert.base), &keyOut);
|
/base/security/crypto_framework/test/fuzztest/crypto_operation/hcfverifycreate_fuzzer/ |
D | hcfverifycreate_fuzzer.cpp | 59 HcfVerify *verify = NULL; in TestVerify() local 60 res = HcfVerifyCreate("ECC224|SHA384", &verify); in TestVerify() 71 (void)verify->init(verify, NULL, ecc224KeyPair->pubKey); in TestVerify() 72 (void)verify->update(verify, &mockInput); in TestVerify() 73 (void)verify->verify(verify, NULL, &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/ota_lite/frameworks/source/ |
D | BUILD.gn | 18 "//base/update/ota_lite/frameworks/source/verify/app_rsa.c", 19 "//base/update/ota_lite/frameworks/source/verify/app_sha256.c", 20 "//base/update/ota_lite/frameworks/source/verify/hota_verify.c", 26 "//base/update/ota_lite/frameworks/source/verify", 42 "//base/update/ota_lite/frameworks/source/verify/app_rsa.c", 43 "//base/update/ota_lite/frameworks/source/verify/app_sha256.c", 44 "//base/update/ota_lite/frameworks/source/verify/hota_verify.c", 50 "//base/update/ota_lite/frameworks/source/verify",
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_verify.cpp | 38 HcfVerify *verify; member 54 HcfVerify *verify; member 69 HcfVerify *verify; member 173 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsInitCtx() 214 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsUpdateCtx() 284 ctx->verify = napiVerify->GetVerify(); in BuildVerifyJsDoFinalCtx() 385 HcfResult res = ctx->verify->init(ctx->verify, ctx->params, ctx->pubKey); in VerifyJsInitAsyncWorkProcess() 409 HcfResult res = ctx->verify->update(ctx->verify, ctx->data); in VerifyJsUpdateAsyncWorkProcess() 433 ctx->isVerifySucc = ctx->verify->verify(ctx->verify, ctx->data, ctx->signatureData); in VerifyJsDoFinalAsyncWorkProcess() 543 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/ |
D | dslm_cred_tool.py | 375 …verify = ssl.digest_verify_with_pub_key(root_pk_bytes, root_pk_bytes, root_self_sign_bytes, '-sha3… 376 if not verify: 381 … verify = ssl.digest_verify_with_pub_key(root_pk_bytes, oem_pk_bytes, oem_sign_bytes, '-sha384') 382 if not verify: 387 …verify = ssl.digest_verify_with_pub_key(oem_pk_bytes, device_pk_bytes, device_sign_bytes, '-sha384… 388 if not verify: 392 verify = ssl.digest_verify_with_pub_key(device_pk_bytes, payload.encode('utf8'), 394 if not verify: 395 verify = ssl.digest_verify_with_pub_key(device_pk_bytes, payload.encode('utf8'), 397 if not verify:
|
/base/security/crypto_framework/interfaces/innerkits/certificate/ |
D | certificate.h | 30 HcfResult (*verify)(HcfCertificate *self, HcfPubKey *key); member
|
D | x509_crl.h | 35 HcfResult (*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 | 34 shared_library("verify") { 54 group("verify") {
|
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/ |
D | napi_verify.h | 29 explicit NapiVerify(HcfVerify *verify);
|
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/ |
D | signature.h | 48 bool (*verify)(HcfVerify *self, HcfBlob *data, HcfBlob *signatureData); member
|
/base/security/appverify/ |
D | BUILD.gn | 38 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
|
/base/update/ota_lite/frameworks/test/unittest/common/ |
D | BUILD.gn | 20 "//base/update/ota_lite/frameworks/source/verify",
|
/base/update/ota_lite/ |
D | README_zh.md | 29 │ │ └── verify # 效验算法代码目录
|
/base/useriam/user_auth_framework/test/unittest/services/src/ |
D | state_machine_test.cpp | 166 …auto verify = [](FiniteStateMachine &machine) { return machine.GetCurrentState() == EVENT_VERIFY_S… in __anon8fce03b30202() variable 169 EXPECT_CALL(action2, Call(Truly(verify), EVENT_VERIFY_STARTED)).Times(Exactly(1)); 200 …auto verify = [](FiniteStateMachine &machine) { return machine.GetCurrentState() == EVENT_VERIFY_S… in __anon8fce03b30602() variable 204 EXPECT_CALL(action2, Call(Truly(verify), EVENT_VERIFY_STARTED)).Times(Exactly(1));
|
/base/security/appverify/interfaces/innerkits/appverify_lite/unittest/ |
D | BUILD.gn | 48 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
|
/base/security/crypto_framework/test/fuzztest/certificate/x509certificate_fuzzer/ |
D | x509certificate_fuzzer.cpp | 73 (void)x509CertObj->base.verify(&(x509CertObj->base), keyOut); in TestVerify()
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_upgradefile.h | 98 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
|
/base/security/appverify/interfaces/innerkits/appverify/ |
D | BUILD.gn | 48 "src/verify/hap_verify_v2.cpp",
|
/base/security/appverify/interfaces/innerkits/appverify/test/ |
D | BUILD.gn | 16 module_output_path = "appverify/verify"
|