Skip to content

Improve the blake2s hash circuit #243

Description

@XuyangSong

Now, we have a straightforward blake2s hash circuit implementation, which could be more efficient. A lookup table with 8 bits would help.

  • convert the range check to lookup
  • convert the xor, shift, and other operations to lookup, inspired by halo2 sha256 implementation.
  • other potential tricks to improve it, from Risc0 and Miden, perhaps

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions