Crate openvm_keccak256_circuit

Crate openvm_keccak256_circuit 

Source
Expand description

Stateful keccak256 hasher. Handles full keccak sponge (padding, absorb, keccak-f) on variable length inputs read from VM memory.

Re-exports§

pub use air::KeccakVmAir;

Modules§

air
columns
execution
trace
utils

Structs§

Keccak256
Keccak256ChipGpu
Keccak256CpuProverExt
Keccak256GpuProverExt
Keccak256ProverExt
Keccak256Rv32Builder
Keccak256Rv32Config
Keccak256Rv32CpuBuilder
Keccak256Rv32GpuBuilder
KeccakVmExecutor
KeccakVmFiller

Enums§

Keccak256Executor
Keccak256Rv32ConfigExecutor

Constants§

KECCAK_CAPACITY_BYTES
Number of capacity bytes.
KECCAK_CAPACITY_U16S
Number of 16-bit capacity limbs.
KECCAK_DIGEST_BYTES
Number of output digest bytes used during the squeezing phase.
KECCAK_DIGEST_U64S
Number of 64-bit digest limbs.
KECCAK_RATE_BYTES
Number of rate bytes.
KECCAK_RATE_U16S
Number of 16-bit rate limbs.
KECCAK_WIDTH_BYTES
Total number of sponge bytes: number of rate bytes + number of capacity bytes.
KECCAK_WIDTH_U16S
Total number of 16-bit limbs in the sponge.
NUM_ABSORB_ROUNDS
Number of absorb rounds, equal to rate in u64s.

Type Aliases§

KeccakVmChip