Home
last modified time | relevance | path

Searched refs:verify (Results 1 – 25 of 53) sorted by relevance

123

/base/security/crypto_framework/test/unittest/src/
Dcrypto_ecc_verify_test.cpp135 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 …]
Dcrypto_rsa_verify_test.cpp44 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 …]
Dcrypto_ecc_sign_test.cpp2670 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);
Dcrypto_x509_certificate_test.cpp343 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/
Dhcfverifycreate_fuzzer.cpp59 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/
DBUILD.gn18 "//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/
Dnapi_verify.cpp38 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/
DREADME.md5 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/
Ddslm_credential.c60 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/
Ddslm_cred_tool.py375verify = ssl.digest_verify_with_pub_key(root_pk_bytes, root_pk_bytes, root_self_sign_bytes, '-sha3…
376 if not verify:
381verify = ssl.digest_verify_with_pub_key(root_pk_bytes, oem_pk_bytes, oem_sign_bytes, '-sha384')
382 if not verify:
387verify = 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/
Dcertificate.h30 HcfResult (*verify)(HcfCertificate *self, HcfPubKey *key); member
Dx509_crl.h35 HcfResult (*verify)(HcfX509Crl *self, HcfPubKey *key); member
/base/security/huks/services/huks_standard/huks_service/main/os_dependency/ca/
Dhks_teec.h68 const struct HksBlob *verify, bool isVerify);
79 int32_t HksTeeProvisionVerify(const struct HksBlob *verify, struct HksBlob *challenge,
/base/security/appverify/interfaces/innerkits/appverify_lite/
DBUILD.gn34 shared_library("verify") {
54 group("verify") {
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/
Dnapi_verify.h29 explicit NapiVerify(HcfVerify *verify);
/base/security/crypto_framework/interfaces/innerkits/crypto_operation/
Dsignature.h48 bool (*verify)(HcfVerify *self, HcfBlob *data, HcfBlob *signatureData); member
/base/security/appverify/
DBUILD.gn38 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
/base/update/ota_lite/frameworks/test/unittest/common/
DBUILD.gn20 "//base/update/ota_lite/frameworks/source/verify",
/base/update/ota_lite/
DREADME_zh.md29 │   │   └── verify # 效验算法代码目录
/base/useriam/user_auth_framework/test/unittest/services/src/
Dstate_machine_test.cpp166 …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/
DBUILD.gn48 "//base/security/appverify/interfaces/innerkits/appverify_lite:verify",
/base/security/crypto_framework/test/fuzztest/certificate/x509certificate_fuzzer/
Dx509certificate_fuzzer.cpp73 (void)x509CertObj->base.verify(&(x509CertObj->base), keyOut); in TestVerify()
/base/update/updater/services/package/pkg_package/
Dpkg_upgradefile.h98 …int32_t LoadPackage(std::vector<std::string> &fileNames, VerifyFunction verify = nullptr) override;
/base/security/appverify/interfaces/innerkits/appverify/
DBUILD.gn48 "src/verify/hap_verify_v2.cpp",
/base/security/appverify/interfaces/innerkits/appverify/test/
DBUILD.gn16 module_output_path = "appverify/verify"

123