mirror of
https://github.com/arnaucube/ark-curves-cherry-picked.git
synced 2026-01-08 23:11:29 +01:00
Rename
This commit is contained in:
@@ -31,11 +31,11 @@ impl Fp2Config for Fq2Config {
|
||||
}
|
||||
|
||||
#[inline(always)]
|
||||
fn add_and_mul_fp_by_nonresidue_plus_one(y: &mut Self::Fp, x: &Self::Fp) {
|
||||
fn mul_fp_by_nonresidue_plus_one_and_add(y: &mut Self::Fp, x: &Self::Fp) {
|
||||
*y = *x;
|
||||
}
|
||||
|
||||
fn add_and_mul_fp_by_nonresidue_in_place(y: &mut Self::Fp, x: &Self::Fp) {
|
||||
fn mul_fp_by_nonresidue_in_place_and_add(y: &mut Self::Fp, x: &Self::Fp) {
|
||||
y.neg_in_place();
|
||||
*y += x;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user