Skip to content

Conversation

@nishatkoti
Copy link
Contributor

@nishatkoti nishatkoti commented Jan 20, 2026

Review of crypto/pedersen_hash, crypto/pedersen_commitment and crypto/generator_data.

  • add test to verify Pedersen hash chaining behavior
  • update generator_data::get() to return up to DEFAULT_NUM_GENERATORS precomputed generators, avoiding the unnecessary map allocation/copy at the boundary case
  • add missing unit tests for generator_data::get()
  • update files in Pedersen hash audit scope

@@ -1,5 +1,3 @@
// TODO(@zac-wiliamson #2341 delete this file once we migrate to new hash standard
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the TODO referencing closed issue #2341; pedersen_commitment is used by pedersen_hash.

@nishatkoti nishatkoti marked this pull request as ready for review January 20, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants