This commit is contained in:
Dmitry Vagner 2023-04-03 19:45:32 -07:00
parent 33dc8eaea7
commit 93dd25a1c4
2 changed files with 1 additions and 2 deletions

View File

@ -55,7 +55,7 @@ fn run_bls_fp2_ops(label: &str, x: Fp2<BLS381>, y: Fp2<BLS381>) -> Fp2<BLS381> {
}
#[test]
fn test_bls_fp2() -> Result<()> {
fn test_bls_fp2_ops() -> Result<()> {
let mut rng = rand::thread_rng();
let x: Fp2<BLS381> = rng.gen::<Fp2<BLS381>>();
let y: Fp2<BLS381> = rng.gen::<Fp2<BLS381>>();

View File

@ -11,7 +11,6 @@ use crate::cpu::kernel::interpreter::{
use crate::extension_tower::{FieldExt, Fp12, Fp2, Fp6, Stack, BN254};
use crate::memory::segments::Segment::BnPairing;
fn run_bn_mul_fp6(f: Fp6<BN254>, g: Fp6<BN254>, label: &str) -> Fp6<BN254> {
let mut stack = f.to_stack();
if label == "mul_fp254_6" {