Skip to content

Commit 1324c0f

Browse files
committed
mark opaque_load as pub(super)
1 parent fab9fc2 commit 1324c0f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sha2/src/sha512/riscv_zknh/utils.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ fn load_unaligned_block(block: &[u8; 128]) -> [u64; 16] {
130130

131131
/// This function returns `k[R]`, but prevents compiler from inlining the indexed value
132132
#[cfg(not(sha2_backend_riscv_zknh = "compact"))]
133-
fn opaque_load<const R: usize>(k: &[u64]) -> u64 {
133+
pub(super) fn opaque_load<const R: usize>(k: &[u64]) -> u64 {
134134
use core::arch::asm;
135135

136136
assert!(R < k.len());

0 commit comments

Comments
 (0)