Searched refs:hashAlg (Results 1 – 7 of 7) sorted by relevance
/base/security/appverify/interfaces/innerkits/appverify_lite/include/ |
D | app_verify.h | 124 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/ |
D | pkcs7_generator.cpp | 27 …_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/ |
D | pkcs7_generator.h | 30 static int32_t GenerateSignature(const std::string& ownerID, SignKey &key, const char *hashAlg,
|
/base/startup/init/interfaces/innerkits/fs_manager/libfs_hvb/ |
D | fs_hvb.c | 130 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/ |
D | hks_rkc_v1.c | 134 static int32_t RkcPbkdf2Hmac(const uint32_t hashAlg, const struct HksBlob *rawKey, in RkcPbkdf2Hmac() argument 140 .digestAlg = RkcDigestToHks(hashAlg), in RkcPbkdf2Hmac()
|
D | hks_rkc.c | 151 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/ |
D | app_verify.c | 245 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()
|