kroma-network / tachyon

Modular ZK(Zero Knowledge) backend accelerated by GPU
MIT License
7.78k stars 226 forks source link

feat: implement hash wrappers #433

Closed chokobole closed 1 month ago

chokobole commented 1 month ago

Description

This PR implements PaddingFreeSponge and TruncatedPermutation. Both of them are needed to test mmcs. See https://github.com/Plonky3/Plonky3/blob/fde81db95b8eeb39e07890f4099a7d59daeec52f/merkle-tree/src/mmcs.rs#L183-L184

TomTaehoonKim commented 1 month ago

@chokobole Could you fix commit message of 8f75095? From "a uint32_t" -> "uint32_t"?

TomTaehoonKim commented 1 month ago

@chokobole Sorry but could you also add link to the reference for 63a2300?