Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
9cd1007
chore: update noir bignum
MirandaWood Apr 3, 2025
e5f4446
chore: bump bignum
MirandaWood Apr 21, 2025
0887373
Revert "chore: bump bignum"
MirandaWood Apr 21, 2025
1ba7103
featbump to bignum v0.7.0
TomAFrench Apr 23, 2025
b04c827
.
TomAFrench Apr 23, 2025
b66df1a
.
TomAFrench Apr 23, 2025
2c17ec3
chore: hack around compiler issue
TomAFrench Apr 23, 2025
53dbb3a
.
TomAFrench Apr 23, 2025
cd3ed7e
.
TomAFrench Apr 23, 2025
2a3e280
.
TomAFrench Apr 23, 2025
8744ee3
chore: bump to bignum `v0.7.1`
Apr 28, 2025
5d89ee2
.
Apr 28, 2025
19917ff
chore: work around https://github.com/noir-lang/noir-bignum/pull/172
May 12, 2025
a3c347a
Merge remote-tracking branch 'origin/tf/branch-for-aztec' into mw/bump
MirandaWood May 15, 2025
483835a
chore: make a big mess to remove visibility warnings in a-p
MirandaWood May 15, 2025
c368931
chore: more mess
MirandaWood May 15, 2025
9a82d8f
chore: add temp logs to prevent err, undo bad pub keyword
MirandaWood May 16, 2025
023ef78
chore: more temp logs to prevent err
MirandaWood May 16, 2025
d7f6848
chore: try asserts rather than logs to fix err
MirandaWood May 19, 2025
fda3584
chore: try asserts rather than logs to fix err again
MirandaWood May 19, 2025
744cb4f
Merge branch 'main' into mw/bump
TomAFrench May 20, 2025
629b962
.
TomAFrench May 20, 2025
d9d3dd8
chore: bump bignum 0.7.1 -> 0.7.2
MirandaWood May 28, 2025
a69f22d
chore: bump bignum + fmt
MirandaWood Jun 3, 2025
59b99a1
Merge remote-tracking branch 'origin/main' into mw/bump
MirandaWood Jun 5, 2025
e9fe43e
chore: remove old hacks
MirandaWood Jun 5, 2025
0ae7fe7
chore: revert fmt
MirandaWood Jun 6, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/curves/bls12_381.nr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::scalar_field::ScalarField;
use bignum::BigNum;
use bignum::BLS12_381_Fq;

global BLS12_381_SCALAR_SLICES: u32 = 64;
pub global BLS12_381_SCALAR_SLICES: u32 = 64;
pub struct BLS12_381_Params {}
impl CurveParamsTrait<BLS12_381_Fq> for BLS12_381_Params {
fn a() -> BLS12_381_Fq {
Expand Down
2 changes: 1 addition & 1 deletion src/curves/mod.nr
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pub(crate) mod pallas;
pub(crate) mod vesta;
pub(crate) mod bls12_377;
pub(crate) mod bls12_381;
pub mod bls12_381;
pub(crate) mod secp256k1;
pub(crate) mod secp256r1;
pub(crate) mod secp384r1;
Expand Down
6 changes: 3 additions & 3 deletions src/lib.nr
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub(crate) mod scalar_field;
pub mod scalar_field;
pub(crate) mod curve_jac;
mod test_data;
mod bigcurve_test;
Expand All @@ -23,7 +23,7 @@ pub struct BigCurve<B, CurveParams> {
pub is_infinity: bool,
}

trait CurveParamsTrait<B: BigNum> {
pub trait CurveParamsTrait<B: BigNum> {
fn offset_generator() -> [B; 2];
fn offset_generator_final() -> [B; 2];
fn one() -> [B; 2];
Expand Down Expand Up @@ -92,7 +92,7 @@ impl<B: BigNum> PointTable<B> {
}
}

trait BigCurveTrait {
pub trait BigCurveTrait {
fn neg(self) -> Self;
fn point_at_infinity() -> Self;
fn offset_generator() -> Self;
Expand Down