Skip to content

Commit

Permalink
Expose belt_compress to public
Browse files Browse the repository at this point in the history
  • Loading branch information
makavity committed Nov 20, 2023
1 parent 9f66cb8 commit e843180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion belt-hash/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ pub type BeltHash = CoreWrapper<BeltHashCore>;

/// Compression function described in the section 6.3.2
#[inline(always)]
fn belt_compress(x1: [u32; 4], x2: [u32; 4], x34: [u32; 8]) -> ([u32; 4], [u32; 8]) {
pub fn belt_compress(x1: [u32; 4], x2: [u32; 4], x34: [u32; 8]) -> ([u32; 4], [u32; 8]) {
let x3 = [x34[0], x34[1], x34[2], x34[3]];
let x4 = [x34[4], x34[5], x34[6], x34[7]];

Expand Down

0 comments on commit e843180

Please sign in to comment.