Skip to content

Conversation

Alon-Ti
Copy link
Contributor

@Alon-Ti Alon-Ti commented Mar 10, 2025

No description provided.

@FrancoGiachetta
Copy link
Contributor

Hi there! Could you give some context of what these new hints do?

@Alon-Ti
Copy link
Contributor Author

Alon-Ti commented Mar 11, 2025

Hi there! Could you give some context of what these new hints do?

The new blake2s opcode (see #1927 etc) requires that we split felts we would like to hash into 32-bit limbs. These are hints for cairo library code that takes an array of felts and returns an array of 32-bit limbs, with the optimization that felts under 2^63 are encoded in two limbs.

@Alon-Ti Alon-Ti force-pushed the alont/blake-hints branch 2 times, most recently from 218656b to 11a01ba Compare March 11, 2025 10:03
@Alon-Ti Alon-Ti force-pushed the alont/blake-hints branch from 11a01ba to 84c5eea Compare March 11, 2025 15:52
@Alon-Ti Alon-Ti force-pushed the alont/blake-hints branch from 84c5eea to ea7cf4c Compare March 13, 2025 12:23
Copy link
Contributor

@JulianGCalderon JulianGCalderon left a comment

Choose a reason for hiding this comment

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

LGTM

@Alon-Ti Alon-Ti force-pushed the alont/blake-hints branch from 2882905 to 43d3fd4 Compare March 23, 2025 10:57
@Alon-Ti Alon-Ti force-pushed the alont/blake-hints branch from 43d3fd4 to d258179 Compare March 23, 2025 13:13
@Alon-Ti Alon-Ti closed this Mar 25, 2025
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.

4 participants