Closed fjarri closed 7 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
752bdee
) 99.20% compared to head (2b44a1f
) 99.23%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@tarcieri I think this concludes the initial support stage for BoxedUint
. If you release another pre
version of crypto-bigint
, I'll publish a pre
version of this crate so that you could try it out in rsa
.
Published v0.6.0-pre.0.
Before 0.6.0 proper I may tweak the public API a little with respect to how bits_precision
is passed.
Also filed #41 to investigate the BoxedUint performance.
This may supersede #39. It uses
*_like
constructors (see https://github.com/RustCrypto/crypto-bigint/pull/533) instead of automatic widening, which I think is a safer approach.The 1024 bit safe prime generation is about 30% slower for
BoxedUint
compared toUint
. Not too bad for a start, but clearly there is room for improvement.@xuganyu96 sorry, tried to base it on your PR, but I guess I changed the first commit too much, and it's not assigned to you anymore.