NethermindEth / cairo-vm-go

A virtual machine for Cairo written in Go
MIT License
70 stars 43 forks source link

`compareKeccakFullRateInBytes` hint (Keccak hint) #480

Closed TAdev0 closed 1 week ago

TAdev0 commented 1 week ago

following hint is missing:

https://github.com/starkware-libs/cairo-lang/blob/efa9648f57568aad8f8a13fbf027d2de7c63c2c0/src/starkware/cairo/common/cairo_keccak/keccak.cairo#L310

ids.n_bytes >= ids.KECCAK_FULL_RATE_IN_BYTES

it is used in _keccak function that executes the block permutation