Skip to content

Conversation

Forostovec
Copy link

Updated the Miller loop comments in pairing modules for MNT4 and MNT6 to accurately describe the iteration over P::ATE_LOOP_COUNT.

The previous comment referenced a non-existent “mnt6_param_p” and implied iteration over a generic parameter p, which is misleading. The code actually iterates over P::ATE_LOOP_COUNT (signed in {-1, 0, 1}), skips the MSB, processes bits in MSB-to-LSB order, and applies a final correction when P::ATE_IS_LOOP_COUNT_NEG is true. No functional changes; docs only, for clarity and consistency with the implementation.

@Forostovec Forostovec requested a review from a team as a code owner October 10, 2025 11:34
@Forostovec Forostovec requested review from Pratyush, mmagician and weikengchen and removed request for a team October 10, 2025 11:34
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.

1 participant