Skip to main content

airbender_crypto/sha3/
mod.rs

1#[cfg(not(target_arch = "riscv32"))]
2mod naive;
3#[cfg(not(target_arch = "riscv32"))]
4pub use self::naive::Keccak256;
5
6#[cfg(any(
7    test,
8    any(target_arch = "riscv32", feature = "testing", feature = "sha3_tests")
9))]
10pub mod delegated;
11
12#[cfg(target_arch = "riscv32")]
13pub use self::delegated::Keccak256;
14
15// TODO: Add a platform-native guest integration harness for delegated Keccak tests.