Skip to content

Conversation

carloskiki
Copy link
Contributor

Discussed in #1295. This was planned as a follow up to #1317, but I decided to make it as its own PR because #1317 is not unanimous.

Replaces elliptic_curve::{Error, Result} with an associated type on ExpandMsg.

Copy link
Contributor

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

Just documentation nits at this point.
Otherwise LGTM!

Copy link
Contributor

@daxpedda daxpedda left a comment

Choose a reason for hiding this comment

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

LGTM!

I don't know what RustCrypto's stance is on custom error types is in general, but I think this is a good idea. Otherwise we should at least extract the compile-time error cases as I believe those are a great improvement.

@tarcieri tarcieri merged commit e73bccf into RustCrypto:master Aug 12, 2025
88 checks passed
@carloskiki carloskiki deleted the errors branch September 1, 2025 20:39
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.

3 participants