Searched refs:edwards_curve (Results 1 – 1 of 1) sorted by relevance
/freebsd/crypto/libecc/src/sig/ |
H A D | eddsa.c | 427 …_UNUSED_RET static int eddsa_decode_point(aff_pt_edwards_t out, ec_edwards_crv_src_t edwards_curve, in eddsa_decode_point() argument 446 ret = ec_edwards_crv_check_initialized(edwards_curve); EG(ret, err); in eddsa_decode_point() 466 ret = fp_init_from_buf(&y, edwards_curve->a.ctx, buf_little_endian, buflen); EG(ret, err); in eddsa_decode_point() 472 ret = fp_init(&sqrt1, edwards_curve->a.ctx); EG(ret, err); in eddsa_decode_point() 473 ret = fp_init(&sqrt2, edwards_curve->a.ctx); EG(ret, err); in eddsa_decode_point() 474 ret = fp_init(&x, edwards_curve->a.ctx); EG(ret, err); in eddsa_decode_point() 488 ret = fp_init(&tmp, edwards_curve->a.ctx); EG(ret, err); in eddsa_decode_point() 493 ret = fp_init_from_buf(&tmp, edwards_curve->a.ctx, in eddsa_decode_point() 495 …ret = ec_edwards_crv_init(&edwards_curve_edwards448, &(edwards_curve->a), &tmp, &(edwards_curve->o… in eddsa_decode_point() 504 …ret = aff_pt_edwards_x_from_y(&sqrt1, &sqrt2, &y, edwards_curve); EG(ret, err); /* Error or no squ… in eddsa_decode_point() [all …]
|