Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
crypto/elliptic: document what the "canonical names" for curves are #34193
I needed to write code to distinguish whether a
However, I'm aware of many possible "canonical" names for P-256; for example, "P256" (the package elliptic function name), "P-256" (what package elliptic's documentation calls it), "Curve P-256" (what FIPS 186-3 calls it), "NIST P256" (what the TCG Algorithm Registry calls it), "prime256v1" (what RFC 3279 calls it), "secp256r1" (what RFC 5480 calls it), "nistp256" (what RFC 5656 calls it), etc.
I had to inspect package elliptic's source to figure out what to expect