Lines Matching refs:edwards_curve
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()
555 ret = aff_pt_edwards_init_from_coords(out, edwards_curve, &x, &y); in eddsa_decode_point()
870 ec_edwards_crv edwards_curve; local
877 _Tmp.magic = edwards_curve.magic = WORD(0);
915 ret = curve_shortw_to_edwards(shortw_curve, &edwards_curve, alpha_montgomery,
919 ret = eddsa_decode_point(&_Tmp, &edwards_curve, alpha_edwards, buf, buflen,
964 ec_edwards_crv_uninit(&edwards_curve);
976 ec_edwards_crv edwards_curve; local
984 _Tmp.magic = edwards_curve.magic = WORD(0);
1010 ret = curve_shortw_to_edwards(shortw_curve, &edwards_curve, alpha_montgomery,
1012 ret = prj_pt_shortw_to_aff_pt_edwards(pub_key_y, &edwards_curve, &_Tmp,
1025 ec_edwards_crv_uninit(&edwards_curve);