Home
last modified time | relevance | path

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

/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
Dopenssl_common.h53 HcfResult BigIntegerToBigNum(const HcfBigInteger *src, BIGNUM **dest);
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Decc_asy_key_generator_openssl.c166 if (BigIntegerToBigNum(&(field->p), &p) != HCF_SUCCESS || in CheckParamsSpecToGetCurveId()
167 BigIntegerToBigNum(&(ecParams->b), &b) != HCF_SUCCESS || in CheckParamsSpecToGetCurveId()
168 BigIntegerToBigNum(&(ecParams->g.x), &x) != HCF_SUCCESS || in CheckParamsSpecToGetCurveId()
169 BigIntegerToBigNum(&(ecParams->g.y), &y) != HCF_SUCCESS) { in CheckParamsSpecToGetCurveId()
217 if (BigIntegerToBigNum(&(field->p), &p) != HCF_SUCCESS || in NewGroupFromCurveGFp()
218 BigIntegerToBigNum(&(ecParams->a), &a) != HCF_SUCCESS || in NewGroupFromCurveGFp()
219 BigIntegerToBigNum(&(ecParams->b), &b) != HCF_SUCCESS) { in NewGroupFromCurveGFp()
255 if (BigIntegerToBigNum(&(ecParams->g.x), &x) != HCF_SUCCESS || in SetEcPointToGroup()
256 BigIntegerToBigNum(&(ecParams->g.y), &y) != HCF_SUCCESS || in SetEcPointToGroup()
257 BigIntegerToBigNum(&(ecParams->n), &order) != HCF_SUCCESS || in SetEcPointToGroup()
[all …]
Ddsa_asy_key_generator_openssl.c532 if (BigIntegerToBigNum(&(paramsSpec->p), p) != HCF_SUCCESS) { in ConvertCommSpec2Bn()
536 if (BigIntegerToBigNum(&(paramsSpec->q), q) != HCF_SUCCESS) { in ConvertCommSpec2Bn()
542 if (BigIntegerToBigNum(&(paramsSpec->g), g) != HCF_SUCCESS) { in ConvertCommSpec2Bn()
608 if (BigIntegerToBigNum(&(paramsSpec->pk), &pubKey) != HCF_SUCCESS) { in GenerateOpensslDsaKeyByPubKeySpec()
624 if (BigIntegerToBigNum(&(paramsSpec->pk), &pubKey) != HCF_SUCCESS) { in GenerateOpensslDsaKeyByKeyPairSpec()
628 if (BigIntegerToBigNum(&(paramsSpec->sk), &priKey) != HCF_SUCCESS) { in GenerateOpensslDsaKeyByKeyPairSpec()
Drsa_asy_key_generator_openssl.c799 if (BigIntegerToBigNum(&((HcfRsaCommParamsSpec *)paramsSpec)->n, n) != HCF_SUCCESS) { in ParseRsaBnFromBin()
804 if (BigIntegerToBigNum(&((HcfRsaKeyPairParamsSpec *)paramsSpec)->pk, e) != HCF_SUCCESS) { in ParseRsaBnFromBin()
810 if (BigIntegerToBigNum(&((HcfRsaKeyPairParamsSpec *)paramsSpec)->sk, d) != HCF_SUCCESS) { in ParseRsaBnFromBin()
820 if (BigIntegerToBigNum(&((HcfRsaPubKeyParamsSpec *)paramsSpec)->pk, e) != HCF_SUCCESS) { in ParseRsaBnFromBin()
/base/security/crypto_framework/test/unittest/src/
Dcrypto_dsa_exception_test.cpp195 HcfResult ret = BigIntegerToBigNum(&p_BN, &p);
198 ret = BigIntegerToBigNum(&q_BN, &q);
201 ret = BigIntegerToBigNum(&g_BN, &g);
Dcrypto_common_cov_test.cpp200 HcfResult ret = BigIntegerToBigNum(nullptr, nullptr);
207 HcfResult ret = BigIntegerToBigNum(&tmp, nullptr);
/base/security/crypto_framework/plugin/openssl_plugin/common/src/
Dopenssl_common.c239 HcfResult BigIntegerToBigNum(const HcfBigInteger *src, BIGNUM **dest) in BigIntegerToBigNum() function