/freebsd/crypto/libecc/src/curves/ |
H A D | aff_pt.c | 68 ret = fp_copy(&(in->x), xcoord); EG(ret, err); in aff_pt_init_from_coords() 69 ret = fp_copy(&(in->y), ycoord); in aff_pt_init_from_coords() 114 ret = fp_copy(y1, x); EG(ret, err); in aff_pt_y_from_x() 115 ret = fp_copy(y2, x); EG(ret, err); in aff_pt_y_from_x() 206 ret = fp_copy(&(out->x), &(in->x)); EG(ret, err); in ec_shortw_aff_copy() 207 ret = fp_copy(&(out->y), &(in->y)); in ec_shortw_aff_copy()
|
H A D | ec_edwards.c | 60 ret = fp_copy(&(crv->a), a); EG(ret, err); in ec_edwards_crv_init() 61 ret = fp_copy(&(crv->d), d); EG(ret, err); in ec_edwards_crv_init()
|
H A D | aff_pt_edwards.c | 70 ret = fp_copy(&(in->x), xcoord); EG(ret, err); in aff_pt_edwards_init_from_coords() 71 ret = fp_copy(&(in->y), ycoord); in aff_pt_edwards_init_from_coords() 181 ret = fp_copy(&(out->x), &(in->x)); EG(ret, err); in ec_edwards_aff_copy() 182 ret = fp_copy(&(out->y), &(in->y)); in ec_edwards_aff_copy() 566 ret = fp_copy(&tab_x[1], &(in_edwards->x)); EG(ret, err); in aff_pt_edwards_to_montgomery() 568 ret = fp_copy(&tab_y[0], &tmp2); EG(ret, err); in aff_pt_edwards_to_montgomery() 569 ret = fp_copy(&tab_y[1], &(in_edwards->y)); EG(ret, err); in aff_pt_edwards_to_montgomery() 579 ret = fp_copy(&tmp2, &tmp); EG(ret, err); in aff_pt_edwards_to_montgomery() 659 ret = fp_copy(&tab_u[1], &(in_montgomery->u)); EG(ret, err); in aff_pt_montgomery_to_edwards() 661 ret = fp_copy(&tab_v[0], &tmp); EG(ret, err); in aff_pt_montgomery_to_edwards() [all …]
|
H A D | ec_montgomery.c | 63 ret = fp_copy(&(crv->A), A); EG(ret, err); in ec_montgomery_crv_init() 64 ret = fp_copy(&(crv->B), B); EG(ret, err); in ec_montgomery_crv_init()
|
H A D | ec_shortw.c | 73 ret = fp_copy(&(crv->a), a); EG(ret, err); in ec_shortw_crv_init() 74 ret = fp_copy(&(crv->b), b); EG(ret, err); in ec_shortw_crv_init()
|
H A D | aff_pt_montgomery.c | 66 ret = fp_copy(&(in->u), ucoord); EG(ret, err); in aff_pt_montgomery_init_from_coords() 67 ret = fp_copy(&(in->v), vcoord); in aff_pt_montgomery_init_from_coords() 121 ret = fp_copy(&u3, &Au2); EG(ret, err); in is_on_montgomery_curve() 171 ret = fp_copy(&(out->u), &(in->u)); EG(ret, err); in ec_montgomery_aff_copy() 172 ret = fp_copy(&(out->v), &(in->v)); in ec_montgomery_aff_copy()
|
H A D | prj_pt.c | 76 ret = fp_copy(&(in->X), xcoord); EG(ret, err); in prj_pt_init_from_coords() 77 ret = fp_copy(&(in->Y), ycoord); EG(ret, err); in prj_pt_init_from_coords() 78 ret = fp_copy(&(in->Z), zcoord); in prj_pt_init_from_coords() 204 ret = fp_copy(&(out->X), &(in->X)); EG(ret, err); in prj_pt_copy() 205 ret = fp_copy(&(out->Y), &(in->Y)); EG(ret, err); in prj_pt_copy() 206 ret = fp_copy(&(out->Z), &(in->Z)); in prj_pt_copy() 290 ret = fp_copy(&(out->X), &(in->x)); EG(ret, err); in ec_shortw_aff_to_prj() 291 ret = fp_copy(&(out->Y), &(in->y)); EG(ret, err); in ec_shortw_aff_to_prj() 709 ret = fp_copy(&(out->Z), &sss); in __prj_pt_dbl_monty_no_cf()
|
/freebsd/crypto/libecc/src/fp/ |
H A D | fp_sqrt.c | 138 ret = fp_copy(_n, n); EG(ret, err); in fp_sqrt() 152 ret = fp_copy(sqrt1, _n); EG(ret, err); in fp_sqrt() 153 ret = fp_copy(sqrt2, _n); EG(ret, err); in fp_sqrt() 218 ret = fp_copy(sqrt1, &r); EG(ret, err); in fp_sqrt() 225 ret = fp_copy(&tmp_fp, &t); EG(ret, err); in fp_sqrt() 243 ret = fp_copy(&b, &c); EG(ret, err); in fp_sqrt()
|
H A D | fp_pow.c | 46 ret = fp_copy(&base, out); EG(ret, err); in _fp_pow_aliased()
|
H A D | fp_mul.c | 123 ret = fp_copy(&_num, num); EG(ret, err1); in fp_div()
|
H A D | fp.c | 330 int fp_copy(fp_t out, fp_src_t in) in fp_copy() function
|
/freebsd/crypto/libecc/include/libecc/fp/ |
H A D | fp.h | 92 ATTRIBUTE_WARN_UNUSED_RET int fp_copy(fp_t out, fp_src_t in);
|
/freebsd/crypto/libecc/src/examples/basic/ |
H A D | curve_basic_examples.c | 67 ret = fp_copy(&fp_tmp1, &x); EG(ret, err); in get_random_point_on_curve() 68 ret = fp_copy(&fp_tmp2, &x); EG(ret, err); in get_random_point_on_curve()
|
H A D | curve_ecdh.c | 212 ret = fp_copy(x, &(Q.X)); EG(ret, err); in ECDH_helper()
|
/freebsd/contrib/googletest/googletest/test/ |
H A D | googletest-filepath-test.cc | 580 const FilePath fp_copy(fp); in TEST() local 581 EXPECT_EQ("spicy", fp_copy.string()); in TEST()
|
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 373 ret = fp_copy(&tmp_x, &(in->x)); EG(ret, err1); in eddsa_encode_point() 375 ret = fp_copy(&tmp_y, &(in->y)); EG(ret, err1); in eddsa_encode_point() 388 ret = fp_copy(&tmp_x, &(in->x)); EG(ret, err1); in eddsa_encode_point() 390 ret = fp_copy(&tmp_y, &(in->y)); EG(ret, err1); in eddsa_encode_point() 509 ret = fp_copy(&x, &sqrt1); EG(ret, err); in eddsa_decode_point() 512 ret = fp_copy(&x, &sqrt2); EG(ret, err); in eddsa_decode_point() 530 ret = fp_copy(&sqrt1, &x); EG(ret, err); in eddsa_decode_point() 531 ret = fp_copy(&sqrt2, &y); EG(ret, err); in eddsa_decode_point()
|
H A D | bip0340.c | 937 ret = fp_copy(&(R->X), &rx); EG(ret, err); in _bip0340_verify_batch_no_memory() 942 ret = fp_copy(&(R->Y), &(R->Z)); EG(ret, err); in _bip0340_verify_batch_no_memory() 1192 ret = fp_copy(&(R->X), &rx); EG(ret, err); in _bip0340_verify_batch() 1197 ret = fp_copy(&(R->Y), &(R->Z)); EG(ret, err); in _bip0340_verify_batch()
|
/freebsd/crypto/libecc/src/examples/sss/ |
H A D | sss.c | 350 ret = fp_copy(&tmp2, &r_inv); EG(ret, err); in _sss_raw_lagrange()
|