Skip to content

Conversation

@dishmaker
Copy link
Contributor

@dishmaker dishmaker commented May 12, 2025

This way we avoid using internals of der:

  • der::SliceWriter
  • der::SliceReader
  • tag.assert_eq
  • writer.sequence

@tarcieri
Copy link
Member

Those aren't really "internals": they're part of the public API, though this is perhaps more really idiomatic with how the rest of the library works.

Notably this doesn't really reduce code size.

ecdsa: use `der::Result`

ecdsa: cargo clippy
@dishmaker dishmaker force-pushed the dishmaker/ecdsa_der_decode_encode_value branch from 6ffb2a6 to 2591f5c Compare June 6, 2025 08:06
Co-authored-by: Tony Arcieri <[email protected]>
@tarcieri tarcieri merged commit 56b66a8 into RustCrypto:master Jun 6, 2025
8 checks passed
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