pub trait Sha2MainChipConfig:
Send
+ Sync
+ Clone {
const BLOCK_BYTES: usize;
const STATE_BYTES: usize;
const OPCODE: Rv32Sha2Opcode;
const BLOCK_READS: usize = _;
const STATE_READS: usize = _;
const STATE_WRITES: usize = _;
const TIMESTAMP_DELTA: usize = _;
const MAIN_CHIP_WIDTH: usize = _;
}Required Associated Constants§
Sourceconst BLOCK_BYTES: usize
const BLOCK_BYTES: usize
Number of bytes in a SHA block (sometimes referred to as message bytes in the code)
Sourceconst STATE_BYTES: usize
const STATE_BYTES: usize
Number of bytes in a SHA state
Provided Associated Constants§
const BLOCK_READS: usize = _
const STATE_READS: usize = _
const STATE_WRITES: usize = _
const TIMESTAMP_DELTA: usize = _
const MAIN_CHIP_WIDTH: usize = _
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.