/freebsd/crypto/libecc/src/examples/basic/ |
H A D | curve_basic_examples.c | 71 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 D | curve_ecdh.c | 154 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 D | ec_params.h | 56 ec_shortw_crv ec_curve; member
|
/freebsd/crypto/libecc/src/curves/ |
H A D | ec_params.c | 122 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 D | ecfsdsa.c | 453 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 D | ec_key.c | 150 (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 D | bip0340.c | 427 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 D | ecdsa_common.c | 959 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 D | sm2.c | 167 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 D | eddsa.c | 908 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 D | ec_key.h | 136 (3 * BYTECEIL((pub_key)->params->ec_curve.a.ctx->p_bitlen))
|
/freebsd/crypto/openssl/crypto/ec/ |
H A D | build.info | 52 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 D | x25519_448.c | 199 shortw_curve = &(shortw_curve_params.ec_curve); in x25519_448_core()
|
/freebsd/crypto/libecc/src/wycheproof_tests/ |
H A D | libecc_wycheproof.c | 517 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 D | fips.module.sources | 171 crypto/ec/ec_curve.c
|
H A D | fips-sources.checksums | 171 265f911b9d4aada326a2d52cd8a589b556935c8b641598dcd36c6f85d29ce655 crypto/ec/ec_curve.c
|
/freebsd/crypto/libecc/src/tests/ |
H A D | ec_utils.c | 1476 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 D | Makefile | 212 SRCS+= ec_ameth.c ec_asn1.c ec_backend.c ec_check.c ec_curve.c ec_cvt.c
|