Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Feb 1, 2023

The elliptic-curve v0.13.0-pre.3 release refactored encoding onto a FieldBytesEncoding trait which provides curve-specific conversions between Uint and FieldBytes.

This commit adds these trait impls and otherwise cleans up serialization-related code to use the new API.

The *_be_* and *_le_* APIs have all been removed in favor of curves having a canonical endianness each. That's customizable on a per-curve basis via FieldBytesEncoding.

Also bumps ecdsa to v0.16.0-pre.0.

The `elliptic-curve` v0.13.0-pre.3 release refactored encoding onto a
`FieldBytesEncoding` trait which provides curve-specific conversions
between `Uint` and `FieldBytes`.

This commit adds these trait impls and otherwise cleans up
serialization-related code to use the new API.

The `*_be_*` and `*_le_*` APIs have all been removed in favor of curves
having a canonical endianness each. That's customizable on a per-curve
basis via `FieldBytesEncoding`.

Also bumps `ecdsa` to v0.16.0-pre.0.
@tarcieri tarcieri merged commit 1ab86e1 into master Feb 1, 2023
@tarcieri tarcieri deleted the add-field-bytes-encoding-trait-impls branch February 1, 2023 14:21
This was referenced Mar 3, 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