From a42228974c99b87a4023df643b7c04f91cadc3ad Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Fri, 20 Sep 2024 12:26:18 +1000 Subject: [PATCH] private keys should persist between invocations --- libcrux-ml-kem/cg/fuzz/dec_fuzz.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcrux-ml-kem/cg/fuzz/dec_fuzz.cc b/libcrux-ml-kem/cg/fuzz/dec_fuzz.cc index f6b35097d..8367f779e 100644 --- a/libcrux-ml-kem/cg/fuzz/dec_fuzz.cc +++ b/libcrux-ml-kem/cg/fuzz/dec_fuzz.cc @@ -28,7 +28,7 @@ extern "C" { static bool once; uint8_t ret[32]; - libcrux_ml_kem_types_MlKemPrivateKey_55 zero_sk, rnd_sk; + static libcrux_ml_kem_types_MlKemPrivateKey_55 zero_sk, rnd_sk; libcrux_ml_kem_mlkem768_MlKem768Ciphertext ct; if (!once)