Skip to content

Store primes as Odd<BoxedUint> - #735

Merged
tarcieri merged 1 commit into
masterfrom
store-primes-as-odd-boxeduint
Oct 24, 2026
Merged

tarcieri merged 1 commit into
masterfrom
store-primes-as-odd-boxeduint

Conversation

@tarcieri

Copy link
Copy Markdown
Member

Checked at construction time in a fallible constructor, so we can pass the primes directly as a modulus or use as_nz_ref to obtain NonZero.

Checked at construction time in a fallible constructor, so we can pass
the primes directly as a modulus or use `as_nz_ref` to obtain `NonZero`.
@tarcieri
tarcieri merged commit f128327 into master Oct 24, 2026
13 checks passed
@tarcieri
tarcieri deleted the store-primes-as-odd-boxeduint branch October 24, 2026 15:49
tarcieri added a commit that referenced this pull request Oct 24, 2026
Test `crt_coefficient()` and the coefficient encoded in PKCS#1 DER with
primes of different storage precisions, covering both prime orderings
and with/without precomputation.

Covers the precision mismatch fixed by #735 and crypto-bigint v0.7.7
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