Home
last modified time | relevance | path

Searched refs:signatureLen (Results 1 – 6 of 6) sorted by relevance

/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_crl_openssl.c540 int32_t signatureLen = ASN1_STRING_length(asn1Signature); in GetSignature() local
541 if (signatureLen <= 0) { in GetSignature()
547 if ((signatureStr == NULL) || (signatureLen > MAX_SIGNATURE_LEN)) { in GetSignature()
552 signature->data = (uint8_t *)HcfMalloc(signatureLen, 0); in GetSignature()
557 (void)memcpy_s(signature->data, signatureLen, signatureStr, signatureLen); in GetSignature()
558 signature->size = signatureLen; in GetSignature()
/base/update/updater/test/unittest/test_data/applypatch/
DTestDecompressGzip.new.gz1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c201 uint32_t signatureLen = pkInfoSignature->length; in GenerateCertInfo() local
202 certInfo->pkInfoSignature.val = (uint8_t *)HcMalloc(signatureLen, 0); in GenerateCertInfo()
208 …if (memcpy_s(certInfo->pkInfoSignature.val, signatureLen, pkInfoSignature->val, signatureLen) != E… in GenerateCertInfo()
214 certInfo->pkInfoSignature.length = signatureLen; in GenerateCertInfo()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp768 size_t signatureLen = DigestAlgorithm::GetSignatureLen(digestMethod); in DoCreatePkgStream() local
804 …if (memcpy_s(digestInfos[DIGEST_INFO_SIGNATURE].data(), signatureLen, buffer, signatureLen) != EOK… in DoCreatePkgStream()
999 size_t signatureLen = DigestAlgorithm::GetSignatureLen(digestMethod); in DoCreatePkgStream() local
1008 digestInfos[DIGEST_INFO_SIGNATURE].resize(signatureLen); in DoCreatePkgStream()
/base/update/updater/services/package/pkg_package/
Dpkg_zipfile.cpp201 size_t signatureLen = 0; in LoadPackage() local
218 signatureLen = pkgSignComment.signCommentTotalLen; in LoadPackage()
225 endDirPos -= signatureLen; in LoadPackage()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dasy_token_manager.c447 uint32_t signatureLen = HcStrlen(signatureStr) / BYTE_TO_HEX_OPER_LENGTH; in VerifyPkInfoSignature() local
450 .length = signatureLen in VerifyPkInfoSignature()