From e5db8474d8cf245c012c7adf100fcf47cfb4bb92 Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Fri, 5 Jul 2024 15:33:45 +0200
Subject: [PATCH 1/2] add more curves to linalg

---
 benchmarks/src/bin/linalg.rs | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/benchmarks/src/bin/linalg.rs b/benchmarks/src/bin/linalg.rs
index 36331700..17dc0401 100644
--- a/benchmarks/src/bin/linalg.rs
+++ b/benchmarks/src/bin/linalg.rs
@@ -55,13 +55,22 @@ fn main() {
         inverse_template::<ark_bls12_381::Fr>(&b.with_name("BLS12-381"), n);
         inverse_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         inverse_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
+        inverse_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        inverse_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        inverse_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
 
         transpose_template::<ark_bls12_381::Fr>(&b.with_name("BLS12-381"), n);
         transpose_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         transpose_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
+        transpose_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        transpose_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        transpose_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
 
         mul_template::<ark_bls12_381::Fr>(&b.with_name("BLS12-381"), n);
         mul_template::<ark_bn254::Fr>(&b.with_name("BN254"), n);
         mul_template::<ark_pallas::Fr>(&b.with_name("PALLAS"), n);
+        mul_template::<ark_ed_on_mnt4_298::Fr>(&b.with_name("ED-MNT4-298"), n);
+        mul_template::<ark_cp6_782::Fr>(&b.with_name("CP6-782"), n);
+        mul_template::<ark_mnt4_753::Fr>(&b.with_name("MNT4-753"), n);
     }
 }
-- 
GitLab


From b20dec736a6f5bf2fda8c562e977c785dc394990 Mon Sep 17 00:00:00 2001
From: "a.stevan" <antoine.stevan@isae-supaero.fr>
Date: Fri, 5 Jul 2024 15:59:01 +0200
Subject: [PATCH 2/2] add missing curves to dependencies

---
 benchmarks/Cargo.toml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml
index c79cf1f5..c5308a8e 100644
--- a/benchmarks/Cargo.toml
+++ b/benchmarks/Cargo.toml
@@ -6,8 +6,11 @@ edition = "2021"
 [dependencies]
 ark-bls12-381 = "0.4.0"
 ark-bn254 = "0.4.0"
+ark-cp6-782 = "0.4.0"
 ark-ec = "0.4.2"
+ark-ed-on-mnt4-298 = "0.4.0"
 ark-ff = "0.4.2"
+ark-mnt4-753 = "0.4.0"
 ark-pallas = "0.4.0"
 ark-poly = "0.4.0"
 ark-poly-commit = "0.4.0"
-- 
GitLab