Home
last modified time | relevance | path

Searched refs:mgf1md (Results 1 – 5 of 5) sorted by relevance

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsignature_rsa_openssl.c37 int32_t mgf1md; member
51 int32_t mgf1md; member
140 …ic HcfResult SetPaddingAndDigest(EVP_PKEY_CTX *ctx, int32_t hcfPadding, int32_t md, int32_t mgf1md) in SetPaddingAndDigest() argument
154 if (EVP_PKEY_CTX_set_rsa_mgf1_md(ctx, GetOpensslDigestAlg(mgf1md)) != HCF_OPENSSL_SUCCESS) { in SetPaddingAndDigest()
177 if (SetPaddingAndDigest(ctx, impl->padding, impl->md, impl->mgf1md) != HCF_SUCCESS) { in SetSignParams()
229 if (SetPaddingAndDigest(ctx, impl->padding, impl->md, impl->mgf1md) != HCF_SUCCESS) { in SetVerifyParams()
403 …if (params->padding == HCF_OPENSSL_RSA_PSS_PADDING && GetOpensslDigestAlg(params->mgf1md) == NULL)… in CheckSignatureParams()
434 returnImpl->mgf1md = params->mgf1md; in HcfSignSpiRsaCreate()
466 returnImpl->mgf1md = params->mgf1md; in HcfVerifySpiRsaCreate()
/base/security/crypto_framework/common/inc/
Dparams_parser.h109 HCF_ALG_PARA_VALUE mgf1md; member
123 HCF_ALG_PARA_VALUE mgf1md; member
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/rsa/src/
Dcipher_rsa_openssl.c133 const EVP_MD *mgf1md = GetOpensslDigestAlg(attr.mgf1md); in SetDetailParams() local
134 if (mgf1md == NULL && attr.paddingMode == HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING) { in SetDetailParams()
151 || EVP_PKEY_CTX_set_rsa_mgf1_md(impl->ctx, mgf1md) != HCF_OPENSSL_SUCCESS) { in SetDetailParams()
292 GetOpensslDigestAlg(params->mgf1md) != NULL)) { in CheckRsaCipherParams()
301 …paddingMode == HCF_OPENSSL_RSA_PKCS1_OAEP_PADDING && GetOpensslDigestAlg(params->mgf1md) == NULL) { in CheckRsaCipherParams()
/base/security/crypto_framework/frameworks/crypto_operation/
Dcipher.c100 cipher->mgf1md = value; in SetMgf1Digest()
Dsignature.c136 paramsObj->mgf1md = config->paraValue; in ParseSignatureParams()