Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
Trivo25 committed Jan 27, 2025
1 parent dfe6874 commit 4824e4c
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions crypto/finite-field-examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,10 @@ let pGoldilocks = (1n << 64n) - (1n << 32n) + 1n;
let p25519 = (1n << 255n) - 19n;
let pSecp256k1 = (1n << 256n) - (1n << 32n) - 0b1111010001n;
let pSecq256k1 = (1n << 256n) - 0x14551231950b75fc4402da1732fc9bebfn;
let pBls12_377 =
0x01ae3a4617c510eac63b05c06ca1493b1a22d9f300f5138f1ef3622fba094800170b5d44300000008508c00000000001n;
let qBls12_377 =
0x12ab655e9a2ca55660b44d1e5c37b00159aa76fed00000010a11800000000001n;
let pBls12_381 =
0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaabn;
0x01ae3a4617c510eac63b05c06ca1493b1a22d9f300f5138f1ef3622fba094800170b5d44300000008508c00000000001n;
let qBls12_381 =
0x73eda753299d7d483339d80809a1d80553bda402fffe5bfeffffffff00000001n;
0x12ab655e9a2ca55660b44d1e5c37b00159aa76fed00000010a11800000000001n;

let exampleFields = {
Fp,
Expand All @@ -34,8 +30,6 @@ let exampleFields = {
createField(
0xffffffff00000001000000000000000000000000ffffffffffffffffffffffffn
),
bls12_377_base: createField(pBls12_377),
bls12_377_scalar: createField(qBls12_377),
bls12_381_base: createField(pBls12_381),
bls12_381_scalar: createField(qBls12_381),
};

0 comments on commit 4824e4c

Please sign in to comment.