Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elliptic-curve: serde support for scalar and PublicKey types #818

Merged
merged 1 commit into from
Nov 19, 2021

Conversation

tarcieri
Copy link
Member

Adds support for serializing/deserializing the following types using serde:

  • ScalarCore
  • NonZeroScalar
  • PublicKey

While this crate had serde support previously, it was entirely limited to the JWK implementation.

This commit expands it to support more types, and provides the underpinnings for better leveraging serde in all of the dependent crates.

Adds support for serializing/deserializing the following types using
serde:

- `ScalarCore`
- `NonZeroScalar`
- `PublicKey`

While this crate had `serde` support previously, it was entirely limited
to the JWK implementation.

This commit expands it to support more types, and provides the
underpinnings for better leveraging `serde` in all of the dependent
crates.
@tarcieri tarcieri merged commit 88d5ea3 into master Nov 19, 2021
@tarcieri tarcieri deleted the elliptic-curve/serde branch November 19, 2021 01:18
tarcieri added a commit to RustCrypto/signatures that referenced this pull request Nov 19, 2021
Leverages the `serde` support added upstream in `elliptic-curve`:
RustCrypto/traits#818

Adds support for `serde` serialization of `Signature` and `VerifyingKey`
tarcieri added a commit to RustCrypto/signatures that referenced this pull request Nov 19, 2021
Leverages the `serde` support added upstream in `elliptic-curve`:
RustCrypto/traits#818

Adds support for `serde` serialization of `Signature` and `VerifyingKey`
@tarcieri tarcieri mentioned this pull request Nov 20, 2021
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.

1 participant