Home
last modified time | relevance | path

Searched refs:signedData (Results 1 – 9 of 9) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dmbedtls_pkcs7.c581 static int ParseSignedData(unsigned char *buf, size_t bufLen, SignedData *signedData) in ParseSignedData() argument
595 rc = ParseSignedDataVersion(&p, end, &signedData->version); in ParseSignedData()
601 rc = ParseSignedDataDigestAlgs(&p, end, &signedData->digestAlgIds); in ParseSignedData()
607 rc = ParseSignedDataContentInfo(&p, end, &signedData->content); in ParseSignedData()
616 rc = ParseSignedDataCerts(&p, end, &signedData->certs); in ParseSignedData()
622 rc = ParseSignedDataCrl(&p, end, &signedData->crl); in ParseSignedData()
628 rc = ParseSignedDataSignerInfos(&p, end, &signedData->signers); in ParseSignedData()
640 DigestAlgId *alg = pkcs7->signedData.digestAlgIds.next; in FreeSignedDataDigestAlgs()
648 pkcs7->signedData.digestAlgIds.next = NULL; in FreeSignedDataDigestAlgs()
675 SignerInfo *signer = pkcs7->signedData.signers.next; in FreeSignersInfo()
[all …]
Dapp_verify.c1133 ret = GetCertInfo(pkcs7->signedData.signers.certPath.crt, signCert); in VerifyBinSign()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/
Dhks_cross_test.cpp263 struct HksBlob signedData = { CROSS_COMMON_SIZE, sign }; variable
265 ret = HksSign(&keyAlias, signParamSet, &inData, &signedData);
268 ret = HksCrossTestSignVerify(&newKeyAlias, verifyParamSet, &inData, &signedData);
307 struct HksBlob signedData = { CROSS_COMMON_SIZE, sign }; variable
309 ret = HksCrossTestSignVerify(&keyAlias, signParamSet, &inData, &signedData);
312 ret = HksVerify(&newKeyAlias, verifyParamSet, &inData, &signedData);
353 struct HksBlob signedData = { CROSS_COMMON_SIZE, sign }; variable
355 ret = HksSign(&keyAlias, signParamSet, &inData, &signedData);
358 ret = HksCrossTestSignVerify(&newKeyAlias, verifyParamSet, &inData, &signedData);
398 struct HksBlob signedData = { CROSS_COMMON_SIZE, sign }; variable
[all …]
Dhks_cross_test_common.cpp145 …t struct HksParamSet *signVerifyParamSet, const struct HksBlob *inData, struct HksBlob *signedData) in HksCrossTestSignVerify() argument
162 ret = TestUpdateFinish(&handle, signVerifyParamSet, tmpParam->uint32Param, inData, signedData); in HksCrossTestSignVerify()
/base/update/updater/test/unittest/package/
Dpkg_verify_unittest.cpp160 Pkcs7SignedData signedData; in TestPkcs7SignedDataFailed() local
165 int32_t ret = signedData.Verify(); in TestPkcs7SignedDataFailed()
167 ret = signedData.GetHashFromSignBlock(nullptr, 0, hash); in TestPkcs7SignedDataFailed()
169 ret = signedData.GetHashFromSignBlock(srcData, 0, hash); in TestPkcs7SignedDataFailed()
171 ret = signedData.GetHashFromSignBlock(srcData, 1, hash); in TestPkcs7SignedDataFailed()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dmbedtls_pkcs7.h139 SignedData signedData; member
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp742 std::vector<uint8_t> signedData(signLen, 0); in CreatePkgStream() local
744 PkgBuffer signBuffer(signedData); in CreatePkgStream()
747 signedData.clear(); in CreatePkgStream()
749 ret = signAlgorithm->SignBuffer(digest, signedData, signDataLen); in CreatePkgStream()
760 stream->Flush(offset + signedData.size()); in CreatePkgStream()
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/include/
Dhks_cross_test_common.h52 const struct HksBlob *inData, struct HksBlob *signedData);