Home
last modified time | relevance | path

Searched defs:md (Results 1 – 21 of 21) sorted by relevance

/base/security/appverify/interfaces/innerkits/appverify/include/util/
Ddigest_parameter.h35 const EVP_MD* md; variable
/base/security/crypto_framework/test/unittest/src/
Dcrypto_common_cov_test.cpp93 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_MD5; variable
100 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_MD5; variable
111 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_SHA1; variable
122 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_SHA224; variable
133 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_SHA384; variable
144 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_SHA512; variable
155 HcfAlgParaValue md = HCF_OPENSSL_DIGEST_NONE; variable
Dopenssl_adapter_mock.c940 int Openssl_EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in Openssl_EVP_PKEY_CTX_set_rsa_mgf1_md()
945 int Openssl_EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in Openssl_EVP_PKEY_CTX_set_rsa_oaep_md()
1067 int Openssl_EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in Openssl_EVP_DigestFinal_ex()
1091 int Openssl_HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl) in Openssl_HMAC_Init_ex()
1099 int Openssl_HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in Openssl_HMAC_Final()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/inc/
Dsignature_rsa_openssl.h26 int32_t md; member
/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
Dhks_openssl_kdf.c55 const EVP_MD *md = GetDeriveDigestType(deriveParam->digestAlg); in HksOpensslPbkdf2() local
68 const EVP_MD *md = GetDeriveDigestType(deriveParam->digestAlg); in HksOpensslHkdf() local
Dhks_openssl_rsa.c343 const EVP_MD *md = GetOpensslAlg(usageSpec->digest); in HksOpensslRsaCryptInit() local
/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
Dopenssl_rsa_helper.c264 const EVP_MD *md = GetOpensslDigestType(digestType); in EncryptRsa() local
312 const EVP_MD *md = GetOpensslDigestType(digestType); in DecryptRsa() local
448 const EVP_MD *md = GetOpensslDigestType(digestType); in OpensslSignRsa() local
507 const EVP_MD *md = GetOpensslDigestType(digestType); in OpensslVerifyRsa() local
Dopenssl_dsa_helper.c181 const EVP_MD *md = GetOpensslDigestType(digestType); in OpensslSignDsa() local
235 const EVP_MD *md = GetOpensslDigestType(digestType); in OpensslVerifyDsa() local
Dopenssl_ecc_helper.c262 const EVP_MD *md = GetOpensslAlg(digest); in InitEccMdCtx() local
/base/security/code_signature/utils/src/
Dpkcs7_data.cpp28 PKCS7Data::PKCS7Data(const EVP_MD *md, X509 *cert) in PKCS7Data()
Dpkcs7_generator.cpp48 const EVP_MD *md = EVP_get_digestbyname(hashAlg); in GenerateSignature() local
Dsigner_info.cpp29 bool SignerInfo::InitSignerInfo(X509 *cert, const EVP_MD *md, in InitSignerInfo()
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsignature_rsa_openssl.c45 int32_t md; member
63 int32_t md; member
187 static HcfResult SetPaddingAndDigest(EVP_PKEY_CTX *ctx, int32_t hcfPadding, int32_t md, int32_t mgf… in SetPaddingAndDigest()
470 EVP_MD *md = NULL; in CheckSignatureParams() local
/base/security/crypto_framework/frameworks/crypto_operation/
Dmd.c141 HcfResult HcfMdCreate(const char *algoName, HcfMd **md) in HcfMdCreate()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
Dnapi_md.cpp45 HcfMd *md = nullptr; member
347 HcfMd *md = napiMd->GetMd(); in JsGetMdLength() local
372 NapiMd *md = static_cast<NapiMd *>(data); in NapiWrapMd() local
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_rsa_openssl.c197 EVP_MD *md = NULL; in SetDetailParams() local
493 EVP_MD *md = NULL; in CheckRsaCipherParams() local
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Dopenssl_common.c110 HcfResult GetRsaSpecStringMd(const HcfAlgParaValue md, char **returnString) in GetRsaSpecStringMd()
Dopenssl_adapter.c625 int Openssl_EVP_PKEY_CTX_set_rsa_mgf1_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in Openssl_EVP_PKEY_CTX_set_rsa_mgf1_md()
630 int Openssl_EVP_PKEY_CTX_set_rsa_oaep_md(EVP_PKEY_CTX *ctx, const EVP_MD *md) in Openssl_EVP_PKEY_CTX_set_rsa_oaep_md()
736 int Openssl_EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *size) in Openssl_EVP_DigestFinal_ex()
751 int Openssl_HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, const EVP_MD *md, ENGINE *impl) in Openssl_HMAC_Init_ex()
756 int Openssl_HMAC_Final(HMAC_CTX *ctx, unsigned char *md, unsigned int *len) in Openssl_HMAC_Final()
/base/security/crypto_framework/common/inc/
Dparams_parser.h140 HcfAlgParaValue md; member
153 HcfAlgParaValue md; member
/base/security/dlp_permission_service/frameworks/test/mock/
Dopenssl_mock.cpp315 int EVP_Digest(const void *data, size_t count, unsigned char *md, unsigned int *size, in EVP_Digest()
400 int EVP_DigestFinal_ex(EVP_MD_CTX *ctx, unsigned char *md, unsigned int *s) in EVP_DigestFinal_ex()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_x509.c255 uint8_t md[EVP_MAX_MD_SIZE] = {0}; in GetX509Fingerprint() local