Extra nibble on curve P521? #9

Closed
opened 2025-07-08 08:33:58 -04:00 by AtHeartEngineer · 0 comments

Originally created by @zugzwang on 3/28/2022

On the NIST P-521 entry, p should be 2^521 - 1. However I see

0x01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff

and I count 131 f nibbles. Shouldn't it be 130 f nibbles (e.g., 521 = 130 * 4 + 1)?

Edit: Same for the order.

*Originally created by @zugzwang on 3/28/2022* On the NIST P-521 entry, `p` should be `2^521 - 1`. However I see `0x01ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff` and I count 131 `f` nibbles. Shouldn't it be 130 `f` nibbles (e.g., 521 = 130 * 4 + 1)? Edit: Same for the order.
Sign in to join this conversation.