Skip to content

Commit

Permalink
Change primitive/permute visbility to pub (#5)
Browse files Browse the repository at this point in the history
feat: change primitive/permute visibility to pub
  • Loading branch information
davidnevadoc authored Dec 10, 2024
1 parent cb4f31f commit 2478c86
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 2478c86

Please sign in to comment.