Crate openvm_keccak256_circuit

Crate openvm_keccak256_circuit 

Source

Modules§

keccakf_op
The AIR that handles interactions with the VM ExecutionBus and MemoryBus for handling of the keccakf opcode.
xorin
AIR that handles the xorin opcode.

Structs§

Keccak256
Keccak256CpuProverExt
Keccak256GpuProverExt
Keccak256Rv32Config
Keccak256Rv32CpuBuilder
Keccak256Rv32GpuBuilder
KeccakfOpChipGpu
KeccakfPermChipGpu
SharedKeccakfRecords
Shared state to pass records from KeccakfOpChipGpu to KeccakfPermChipGpu The OpChip generates first and stores the device buffer, then PermChip takes it.
XorinVmChipGpu

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.
KECCAK_WIDTH_U64S
Total number of 64-bit limbs in the sponge.
KECCAK_WIDTH_WORDS
The number of memory blocks needed to access the entire keccakf state.
KECCAK_WORD_SIZE
Number of cells to read/write in a single memory access
NUM_ABSORB_ROUNDS
Number of absorb rounds, equal to rate in u64s.

Type Aliases§

SharedKeccakfRecordsGpu