Skip to content

Commit 4fa29a5

Browse files
committed
nix: Use main branch of s2n-bignum
Until now, we used @jargh's development branch of s2n-bignum. This was because that branch would contain the ML-KEM and Keccak specs necessary for the ASM functional correctness statements. Another reason was the missing modelling of the EOR instruction. We have since imported the relevant files directly into mlekm-native's source tree to facilitate standalone auditing, and EOR has been merged into s2n-bignum `main`. In consequence, all that's neeed is s2n-bignum's `main` infrastructure, and this commit modifies the nix flake accordingly. Signed-off-by: Hanno Becker <[email protected]>
1 parent 2b943f9 commit 4fa29a5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

nix/s2n_bignum/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
{ stdenv, fetchFromGitHub, writeText, ... }:
33
stdenv.mkDerivation rec {
44
pname = "s2n_bignum";
5-
version = "7c018f70667310c96ac5d6c27468104117bd51c0";
5+
version = "ea86b7535c49425b149d7ae88809ed97e3697661";
66
src = fetchFromGitHub {
7-
owner = "jargh";
8-
repo = "s2n-bignum-dev";
7+
owner = "awslabs";
8+
repo = "s2n-bignum";
99
rev = "${version}";
10-
hash = "sha256-/Iyz2mnxGSbmte9lT1JbY4WcBmWWrc7tUpZ0HfAUD+4";
10+
hash = "sha256-R5x7UT1flnXtDhZssTH+24fHawFOI8KwFmAAQ+x+Nk0=";
1111
};
1212
setupHook = writeText "setup-hook.sh" ''
1313
export S2N_BIGNUM_DIR="$1"

0 commit comments

Comments
 (0)