We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
opaque_load
pub(super)
1 parent fab9fc2 commit 1324c0fCopy full SHA for 1324c0f
1 file changed
sha2/src/sha512/riscv_zknh/utils.rs
@@ -130,7 +130,7 @@ fn load_unaligned_block(block: &[u8; 128]) -> [u64; 16] {
130
131
/// This function returns `k[R]`, but prevents compiler from inlining the indexed value
132
#[cfg(not(sha2_backend_riscv_zknh = "compact"))]
133
-fn opaque_load<const R: usize>(k: &[u64]) -> u64 {
+pub(super) fn opaque_load<const R: usize>(k: &[u64]) -> u64 {
134
use core::arch::asm;
135
136
assert!(R < k.len());
0 commit comments