Searched refs:signAlgorithm (Results 1 – 6 of 6) sorted by relevance
52 int32_t GetDigestAlgorithmId(uint32_t signAlgorithm);
25 int32_t GetDigestAlgorithmId(uint32_t signAlgorithm) in GetDigestAlgorithmId() argument27 switch (signAlgorithm & ALGORITHM_MASK) { in GetDigestAlgorithmId()38 LOG_ERROR("signAlgorithm: %u error", signAlgorithm); in GetDigestAlgorithmId()
64 DLL_EXPORT static int32_t GetDigestAlgorithmId(int32_t signAlgorithm);
628 int32_t HapVerifyOpensslUtils::GetDigestAlgorithmId(int32_t signAlgorithm) in GetDigestAlgorithmId() argument630 switch (signAlgorithm) { in GetDigestAlgorithmId()647 HAPVERIFY_LOG_ERROR(LABEL, "signAlgorithm: %{public}d error", signAlgorithm); in GetDigestAlgorithmId()
1/* 2 * Copyright (c) 2021 Huawei Device Co., Ltd. 3 * ...
815 SignAlgorithm::SignAlgorithmPtr signAlgorithm = PkgAlgorithmFactory::GetVerifyAlgorithm( in DoCreatePkgStream() local817 if (signAlgorithm == nullptr) { in DoCreatePkgStream()821 return signAlgorithm->VerifyDigest(digest, signature); in DoCreatePkgStream()842 SignAlgorithm::SignAlgorithmPtr signAlgorithm = in DoCreatePkgStream() local844 if (signAlgorithm == nullptr) { in DoCreatePkgStream()856 ret = signAlgorithm->SignBuffer(digest, signedData, signDataLen); in DoCreatePkgStream()