Searched refs:BigIntegerToBigNum (Results 1 – 7 of 7) sorted by relevance
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/ |
D | openssl_common.h | 53 HcfResult BigIntegerToBigNum(const HcfBigInteger *src, BIGNUM **dest);
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | ecc_asy_key_generator_openssl.c | 166 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 …]
|
D | dsa_asy_key_generator_openssl.c | 532 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()
|
D | rsa_asy_key_generator_openssl.c | 799 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/ |
D | crypto_dsa_exception_test.cpp | 195 HcfResult ret = BigIntegerToBigNum(&p_BN, &p); 198 ret = BigIntegerToBigNum(&q_BN, &q); 201 ret = BigIntegerToBigNum(&g_BN, &g);
|
D | crypto_common_cov_test.cpp | 200 HcfResult ret = BigIntegerToBigNum(nullptr, nullptr); 207 HcfResult ret = BigIntegerToBigNum(&tmp, nullptr);
|
/base/security/crypto_framework/plugin/openssl_plugin/common/src/ |
D | openssl_common.c | 239 HcfResult BigIntegerToBigNum(const HcfBigInteger *src, BIGNUM **dest) in BigIntegerToBigNum() function
|