Home
last modified time | relevance | path

Searched refs:ec_curve (Results 1 – 18 of 18) sorted by relevance

/freebsd/crypto/libecc/src/examples/basic/
H A Dcurve_basic_examples.c71 ret = fp_mul(&fp_tmp2, &fp_tmp2, &(curve_params->ec_curve.a)); EG(ret, err); in get_random_point_on_curve()
73 ret = fp_add(&fp_tmp1, &fp_tmp1, &(curve_params->ec_curve.b)); EG(ret, err); in get_random_point_on_curve()
81 ret = is_on_shortw_curve(&x, &y, &(curve_params->ec_curve), &is_oncurve); EG(ret, err); in get_random_point_on_curve()
93 ret = prj_pt_init_from_coords(out_point, &(curve_params->ec_curve), &x, &y, in get_random_point_on_curve()
H A Dcurve_ecdh.c154 ret = prj_pt_init(&Q, &(curve_params.ec_curve)); EG(ret, err); in ECDH_helper()
201 &(curve_params.ec_curve)); EG(ret, err); in ECDH_helper()
/freebsd/crypto/libecc/include/libecc/curves/
H A Dec_params.h56 ec_shortw_crv ec_curve; member
/freebsd/crypto/libecc/src/curves/
H A Dec_params.c122 ret = ec_shortw_crv_init(&(out_params->ec_curve), &tmp_a, &tmp_b, &tmp_curve_order); EG(ret, err); in import_params()
135 &(out_params->ec_curve), in import_params()
/freebsd/crypto/libecc/src/sig/
H A Decfsdsa.c453 ret = fp_init(&rx, ctx->pub_key->params->ec_curve.a.ctx); EG(ret, err); in _ecfsdsa_verify_init()
455 ret = fp_init(&ry, ctx->pub_key->params->ec_curve.a.ctx); EG(ret, err); in _ecfsdsa_verify_init()
459 ret = is_on_shortw_curve(&rx, &ry, &(ctx->pub_key->params->ec_curve), &on_curve); EG(ret, err); in _ecfsdsa_verify_init()
714 shortw_curve = &(pub_key->params->ec_curve); in _ecfsdsa_verify_batch_no_memory()
934 shortw_curve = &(pub_key->params->ec_curve); in _ecfsdsa_verify_batch()
H A Dec_key.c150 (ec_shortw_crv_src_t)&(params->ec_curve)); EG(ret, err); in ec_pub_key_import_from_buf()
192 (ec_shortw_crv_src_t)&(params->ec_curve)); EG(ret, err); in ec_pub_key_import_from_aff_buf()
H A Dbip0340.c427 ret = fp_init(rx, ctx->pub_key->params->ec_curve.a.ctx); EG(ret, err); in _bip0340_verify_init()
874 shortw_curve = &(pub_key->params->ec_curve); in _bip0340_verify_batch_no_memory()
917 ret = fp_init(&rx, pub_key->params->ec_curve.a.ctx); EG(ret, err); in _bip0340_verify_batch_no_memory()
1131 shortw_curve = &(pub_key->params->ec_curve); in _bip0340_verify_batch()
1169 ret = fp_init(&rx, pub_key->params->ec_curve.a.ctx); EG(ret, err); in _bip0340_verify_batch()
H A Decdsa_common.c959 ret = aff_pt_y_from_x(&(uG.X), &(uG.Y), &(uG.Z), &(params->ec_curve)); in __ecdsa_public_key_from_sig()
977 ret = prj_pt_init_from_coords(Y1, &(params->ec_curve), &(uG.Z), &(uG.X), &(Y2->Z)); EG(ret, err); in __ecdsa_public_key_from_sig()
979 ret = prj_pt_init_from_coords(Y2, &(params->ec_curve), &(uG.Z), &(uG.Y), &(Y1->Z)); EG(ret, err); in __ecdsa_public_key_from_sig()
H A Dsm2.c167 a = &(pub_key->params->ec_curve.a); in sm2_compute_Z()
168 b = &(pub_key->params->ec_curve.b); in sm2_compute_Z()
H A Deddsa.c908 shortw_curve = &(shortw_curve_params->ec_curve);
990 shortw_curve = &(in_pub->params->ec_curve);
1289 shortw_curve = &(priv_key->params->ec_curve);
1637 shortw_curve = &(priv_key->params->ec_curve);
1962 shortw_curve = &(pub_key->params->ec_curve);
2366 shortw_curve = &(pub_key->params->ec_curve);
2704 shortw_curve = &(pub_key->params->ec_curve);
/freebsd/crypto/libecc/include/libecc/sig/
H A Dec_key.h136 (3 * BYTECEIL((pub_key)->params->ec_curve.a.ctx->p_bitlen))
/freebsd/crypto/openssl/crypto/ec/
H A Dbuild.info52 ec_curve.c ec_check.c ec_key.c ec_kmeth.c ecx_key.c ec_asn1.c \
/freebsd/crypto/libecc/src/ecdh/
H A Dx25519_448.c199 shortw_curve = &(shortw_curve_params.ec_curve); in x25519_448_core()
/freebsd/crypto/libecc/src/wycheproof_tests/
H A Dlibecc_wycheproof.c517 ret = aff_pt_y_from_x(&tmp, &x, &x, &(params->ec_curve)); EG(ret, err); in uncompress_ecc_point()
/freebsd/crypto/openssl/providers/
H A Dfips.module.sources171 crypto/ec/ec_curve.c
H A Dfips-sources.checksums171 265f911b9d4aada326a2d52cd8a589b556935c8b641598dcd36c6f85d29ce655 crypto/ec/ec_curve.c
/freebsd/crypto/libecc/src/tests/
H A Dec_utils.c1476 if(prj_pt_import_from_buf(&Q, buf, (u16)buf_len, &(curve_params.ec_curve))){ in ec_scalar_mult()
/freebsd/secure/lib/libcrypto/
H A DMakefile212 SRCS+= ec_ameth.c ec_asn1.c ec_backend.c ec_check.c ec_curve.c ec_cvt.c