Skip to content

Commit

Permalink
remove unused function in this PR
Browse files Browse the repository at this point in the history
  • Loading branch information
querolita committed Oct 3, 2023
1 parent b60af17 commit c3ce047
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions kimchi/src/circuits/polynomials/keccak/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,6 @@ pub(crate) const RC: [u64; 24] = [
0x8000000080008008,
];

// Composes a vector of 4 dense quarters into the dense full u64 word
pub(crate) fn compose(quarters: &[u64]) -> u64 {
quarters[0] + (1 << 16) * quarters[1] + (1 << 32) * quarters[2] + (1 << 48) * quarters[3]
}

// Takes a dense u64 word and decomposes it into a vector of 4 dense quarters
pub(crate) fn decompose(word: u64) -> Vec<u64> {
let mut quarters = vec![];
Expand Down

0 comments on commit c3ce047

Please sign in to comment.