diff --git a/CHANGELOG.md b/CHANGELOG.md index 89354a1f8a..c0ead7262c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,22 @@ * Added dynamic layout [#879](https://github.com/lambdaclass/cairo-rs/pull/879) * `get_segment_size` was exposed [#934](https://github.com/lambdaclass/cairo-rs/pull/934) +* Add missing hints on cairo_secp lib [#994](https://github.com/lambdaclass/cairo-rs/pull/994):: + + `BuiltinHintProcessor` now supports the following hints: + ```python + from starkware.cairo.common.cairo_secp.secp_utils import pack + from starkware.python.math_utils import div_mod, safe_div + + a = pack(ids.a, PRIME) + b = pack(ids.b, PRIME) + value = res = div_mod(a, b, N) + ``` + + ```python + value = k_plus_one = safe_div(res * b - a, N) + 1 + ``` + * Add missing hint on cairo_secp lib [#992](https://github.com/lambdaclass/cairo-rs/pull/992): `BuiltinHintProcessor` now supports the following hint: