Home
last modified time | relevance | path

Searched refs:hashAlg (Results 1 – 7 of 7) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dapp_verify.h124 int32_t CalculateHash(const unsigned char *input, int32_t len, int32_t hashAlg, unsigned char *outp…
125 int32_t GetHashUnitLen(int32_t hashAlg);
/base/security/code_signature/utils/src/
Dpkcs7_generator.cpp27 …_t PKCS7Generator::GenerateSignature(const std::string &ownerID, SignKey &key, const char *hashAlg, in GenerateSignature() argument
44 const EVP_MD *md = EVP_get_digestbyname(hashAlg); in GenerateSignature()
/base/security/code_signature/utils/include/
Dpkcs7_generator.h30 static int32_t GenerateSignature(const std::string& ownerID, SignKey &key, const char *hashAlg,
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/
Dfs_hvb.c130 char hashAlg[FS_HVB_HASH_ALG_STR_MAX] = {0}; in FsHvbCheckCertChainDigest() local
135 ret = FsHvbGetHashStr(&hashAlg[0], sizeof(hashAlg)); in FsHvbCheckCertChainDigest()
152 if (strcmp(&hashAlg[0], "sha256") == 0) { in FsHvbCheckCertChainDigest()
156 BEGET_LOGE("error, not support alg %s", &hashAlg[0]); in FsHvbCheckCertChainDigest()
/base/security/huks/frameworks/huks_standard/main/crypto_engine/rkc/src/
Dhks_rkc_v1.c134 static int32_t RkcPbkdf2Hmac(const uint32_t hashAlg, const struct HksBlob *rawKey, in RkcPbkdf2Hmac() argument
140 .digestAlg = RkcDigestToHks(hashAlg), in RkcPbkdf2Hmac()
Dhks_rkc.c151 static int32_t RkcHkdfHmac(const uint32_t hashAlg, const struct HksBlob *rawKey, in RkcHkdfHmac() argument
157 .digestAlg = RkcDigestToHks(hashAlg), in RkcHkdfHmac()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_verify.c245 int32_t GetHashUnitLen(int32_t hashAlg) in GetHashUnitLen() argument
247 LOG_INFO("algId: %d", hashAlg); in GetHashUnitLen()
248 return mbedtls_md_get_size(mbedtls_md_info_from_type((mbedtls_md_type_t)hashAlg)); in GetHashUnitLen()