Lines Matching refs:sqrt1
432 fp sqrt1, sqrt2; in eddsa_decode_point() local
442 x.magic = y.magic = sqrt1.magic = sqrt2.magic = WORD(0); in eddsa_decode_point()
472 ret = fp_init(&sqrt1, edwards_curve->a.ctx); EG(ret, err); in eddsa_decode_point()
497 …ret = aff_pt_edwards_x_from_y(&sqrt1, &sqrt2, &y, &edwards_curve_edwards448); EG(ret, err); /* Err… 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()
507 ret = nn_getbit(&(sqrt1.fp_val), 0, &lsb); EG(ret, err); in eddsa_decode_point()
509 ret = fp_copy(&x, &sqrt1); EG(ret, err); in eddsa_decode_point()
530 ret = fp_copy(&sqrt1, &x); EG(ret, err); in eddsa_decode_point()
534 ret = fp_sqr(&tmp, &sqrt1); EG(ret, err); in eddsa_decode_point()
540 ret = fp_mul(&x, &x, &sqrt1); EG(ret, err); in eddsa_decode_point()
544 ret = fp_sqr(&sqrt1, &sqrt1); EG(ret, err); in eddsa_decode_point()
546 ret = fp_sub(&y, &sqrt2, &sqrt1); EG(ret, err); in eddsa_decode_point()
549 ret = fp_add(&sqrt1, &sqrt1, &sqrt2); EG(ret, err); in eddsa_decode_point()
550 ret = fp_mul(&y, &y, &sqrt1); EG(ret, err); in eddsa_decode_point()
558 fp_uninit(&sqrt1); in eddsa_decode_point()