/base/security/appverify/interfaces/innerkits/appverify_lite/src/ |
D | mbedtls_pkcs7.c | 581 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 …]
|
D | app_verify.c | 1133 ret = GetCertInfo(pkcs7->signedData.signers.certPath.crt, signCert); in VerifyBinSign()
|
/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
D | hks_cross_test.cpp | 263 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 …]
|
D | hks_cross_test_common.cpp | 145 …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/ |
D | pkg_verify_unittest.cpp | 160 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/ |
D | mbedtls_pkcs7.h | 139 SignedData signedData; member
|
/base/update/updater/test/unittest/test_data/applypatch/ |
D | TestDecompressGzip.new.gz |
|
/base/update/updater/services/package/pkg_manager/ |
D | pkg_managerImpl.cpp | 742 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/ |
D | hks_cross_test_common.h | 52 const struct HksBlob *inData, struct HksBlob *signedData);
|