From b68d5aee1683470cd0899797f5151ec3c4a235d2 Mon Sep 17 00:00:00 2001 From: John Guibas Date: Wed, 28 Feb 2024 13:28:50 -0800 Subject: [PATCH] feat: pub duplex challenger fields --- challenger/Cargo.toml | 1 + challenger/src/duplex_challenger.rs | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/challenger/Cargo.toml b/challenger/Cargo.toml index 2d0491c9..13ceeff2 100644 --- a/challenger/Cargo.toml +++ b/challenger/Cargo.toml @@ -11,5 +11,6 @@ p3-maybe-rayon = { path = "../maybe-rayon" } p3-symmetric = { path = "../symmetric" } tracing = "0.1.37" + [dev-dependencies] p3-goldilocks = { path = "../goldilocks" } diff --git a/challenger/src/duplex_challenger.rs b/challenger/src/duplex_challenger.rs index 6e9c57ac..5ed9f56b 100644 --- a/challenger/src/duplex_challenger.rs +++ b/challenger/src/duplex_challenger.rs @@ -12,10 +12,10 @@ where F: Clone, P: CryptographicPermutation<[F; WIDTH]>, { - sponge_state: [F; WIDTH], - input_buffer: Vec, - output_buffer: Vec, - permutation: P, + pub sponge_state: [F; WIDTH], + pub input_buffer: Vec, + pub output_buffer: Vec, + pub permutation: P, } impl DuplexChallenger