Home
last modified time | relevance | path

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

/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/signature/src/
Dsignature_rsa_openssl.c47 int32_t mgf1md; member
65 int32_t mgf1md; member
187 …ic HcfResult SetPaddingAndDigest(EVP_PKEY_CTX *ctx, int32_t hcfPadding, int32_t md, int32_t mgf1md) in SetPaddingAndDigest() argument
199 (void)GetOpensslDigestAlg(mgf1md, &opensslAlg); in SetPaddingAndDigest()
229 if (SetPaddingAndDigest(ctx, impl->padding, impl->md, impl->mgf1md) != HCF_SUCCESS) { in SetSignParams()
292 if (SetPaddingAndDigest(ctx, impl->padding, impl->md, impl->mgf1md) != HCF_SUCCESS) { in SetVerifyParams()
477 EVP_MD *mgf1md = NULL; in CheckSignatureParams() local
478 (void)GetOpensslDigestAlg(params->mgf1md, &mgf1md); in CheckSignatureParams()
479 if (mgf1md == NULL) { in CheckSignatureParams()
589 ret = GetRsaSpecStringMd((const HcfAlgParaValue)(impl->mgf1md), returnString); in EngineGetSignSpecString()
[all …]
/base/security/crypto_framework/plugin/openssl_plugin/crypto_operation/cipher/src/
Dcipher_rsa_openssl.c198 EVP_MD *mgf1md = NULL; in SetDetailParams() local
200 (void)GetOpensslDigestAlg(attr.mgf1md, &mgf1md); in SetDetailParams()
203 || Openssl_EVP_PKEY_CTX_set_rsa_mgf1_md(impl->ctx, mgf1md) != HCF_OPENSSL_SUCCESS) { in SetDetailParams()
341 ret = GetRsaSpecStringMd((const HcfAlgParaValue)(attr.mgf1md), returnString); in GetRsaCipherSpecString()
494 EVP_MD *mgf1md = NULL; in CheckRsaCipherParams() local
496 (void)GetOpensslDigestAlg(params->mgf1md, &mgf1md); in CheckRsaCipherParams()
501 if (mgf1md == NULL) { in CheckRsaCipherParams()
/base/security/crypto_framework/common/inc/
Dparams_parser.h141 HcfAlgParaValue mgf1md; member
154 HcfAlgParaValue mgf1md; member
/base/security/crypto_framework/test/unittest/src/
Dcrypto_rsa_cipher_test.cpp2355 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2371 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2388 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2409 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2444 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2469 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2490 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2512 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2533 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2555 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
[all …]
Dcrypto_ecc_sign_test.cpp2719 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2732 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2752 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2772 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2797 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2822 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2842 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2868 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
2887 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
Dcrypto_ecc_verify_test.cpp3390 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3403 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3423 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3443 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3468 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3493 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3513 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3539 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3564 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
3583 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
Dcrypto_dsa_exception_test.cpp509 .mgf1md = HCF_OPENSSL_DIGEST_SHA256
Dcrypto_ecc_no_length_sign_test.cpp2683 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
Dcrypto_ecc_no_length_verify_test.cpp3365 .mgf1md = HCF_OPENSSL_DIGEST_SHA256,
/base/security/crypto_framework/frameworks/crypto_operation/
Dcipher.c137 cipher->mgf1md = value; in SetMgf1Digest()
Dsignature.c173 paramsObj->mgf1md = config->paraValue; in ParseSignatureParams()