Skip to content

Commit

Permalink
feat: change primitive/permute visbiity to pub
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnevadoc committed Apr 29, 2024
1 parent 764a682 commit 797d931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/poseidon/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ pub fn generate_constants<
}

/// Runs the Poseidon permutation on the given state.
pub(crate) fn permute<F: Field, S: Spec<F, T, RATE>, const T: usize, const RATE: usize>(
pub fn permute<F: Field, S: Spec<F, T, RATE>, const T: usize, const RATE: usize>(
state: &mut State<F, T>,
mds: &Mds<F, T>,
round_constants: &[[F; T]],
Expand Down

0 comments on commit 797d931

Please sign in to comment.