0xPolygonZero / plonky2

Apache License 2.0
755 stars 278 forks source link

Use current context in ecrecover #1456

Closed wborgeaud closed 8 months ago

wborgeaud commented 8 months ago

Similar to #1428 for ecrecover. The current version (storing everything in context=0) should be safe, but it doesn't hurt to change to the current context and that way it's consistent across all precompiles. Also rename SEGMENT_KERNEL_BN_PAIRING to SEGMENT_BN_PAIRING since it's already using the current context.

sonarcloud[bot] commented 8 months ago

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud