Skip to content

Conversation

@tarcieri
Copy link
Member

@tarcieri tarcieri commented Nov 2, 2022

Removes the verbosely named prehash_to_field_bytes from the DigestPrimitive trait, chaning it to a bits2field free function which has a C: PrimeCurve generic parameter.

The name is inspired by bits2int from RFC6979, however it does not perform a reduction step.

Removes the verbosely named `prehash_to_field_bytes` from the
`DigestPrimitive` trait, chaning it to a `bits2field` free function
which has a `C: PrimeCurve` generic parameter.

The name is inspired by `bits2int` from RFC6979, however it does not
perform a reduction step.
@tarcieri tarcieri force-pushed the ecdsa/refactor-bits2field branch from b93285b to a7ef3ca Compare November 2, 2022 15:33
@tarcieri tarcieri merged commit 01c547e into master Nov 2, 2022
@tarcieri tarcieri deleted the ecdsa/refactor-bits2field branch November 2, 2022 15:38
@tarcieri tarcieri mentioned this pull request Jan 15, 2023
sorah added a commit to sorah/needroleshere that referenced this pull request Nov 4, 2023
Resolve incompatibilities as follows:

- src/certificate.rs: RustCrypto/formats#771
- src/cmd/serve.rs: Move to FromRequestParts and use headers crate

- src/ecdsa_sha256.rs: RustCrypto/traits#1196
  and RustCrypto/signatures#574

- src/error.rs: Remove Duplicates

- src/identity.rs: Remove owned validation logic as it should be done at
    x509_cert::serial_number::SerialNumber<x509_cert::certificate::Rfc5280>

- src/sign.rs: RustCrypto/RSA#244
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