Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Aug 3, 2020

Generic point compression support for SEC-1 encoded public keys

Generic point compression support for SEC-1 encoded public keys
}

/// Get the x-coordinate of this curve point
pub(crate) fn x(&self) -> &ScalarBytes<C> {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something of a misuse of the Scalar part of ScalarBytes here... perhaps it should be renamed to ElementBytes to reflect the Curve::ElementSize rename (from Curve::ScalarSize)

@tarcieri tarcieri merged commit 920522a into master Aug 3, 2020
@tarcieri tarcieri deleted the elliptic-curve/public-key-compress branch August 3, 2020 22:53
@tarcieri tarcieri mentioned this pull request Aug 10, 2020
dns2utf8 pushed a commit to dns2utf8/traits that referenced this pull request Jan 24, 2023
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