Skip to content

Conversation

@tarcieri
Copy link
Member

Adds inherent constants to AffinePoint and ProjectivePoint representing the identity and generator points.

This should make it possible to write const fns that produce things like precomputed basepoint tables (see #508).

Deprecates the previous inherent methods on ProjectivePoint for returning these constants.

@tarcieri tarcieri requested a review from fjarri January 12, 2022 19:37
@tarcieri tarcieri force-pushed the k256/identity-and-generator-point-constants branch 2 times, most recently from a0053d1 to 1702248 Compare January 12, 2022 19:41
Adds inherent constants to `AffinePoint` and `ProjectivePoint`
representing the identity and generator points.

This should make it possible to write `const fn`s that produce things
like precomputed basepoint tables (see #508).

Deprecates the previous inherent methods on `ProjectivePoint` for
returning these constants.
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.

2 participants