Skip to content

der: add UnusedBits newtype for BitString#1956

Merged
tarcieri merged 3 commits intoRustCrypto:masterfrom
dishmaker:dishmaker/der_rm_bitstring_bitlength
Feb 11, 2026
Merged

der: add UnusedBits newtype for BitString#1956
tarcieri merged 3 commits intoRustCrypto:masterfrom
dishmaker:dishmaker/der_rm_bitstring_bitlength

Conversation

@dishmaker
Copy link
Contributor

@dishmaker dishmaker commented Jul 21, 2025

Changes:

  • add inner newtype UnusedBits
  • calculate bit_length on the fly

@tarcieri tarcieri changed the title der: remove bit_length field from BitString der: add UnusedBits newtype for BitString Jan 12, 2026
@tarcieri tarcieri merged commit 69db155 into RustCrypto:master Feb 11, 2026
107 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