Entries are listed in reverse chronological order.
- Update to new stable
#![doc = include_str!]
, by @delta1. This fixes a compile issue caused by the use of the older#![doc(include(...))]
syntax. This also bumps the MSRV to 1.54.
- Add a note to the README about crate seizures.
- Add new
ConstantTimeGreater
andConstantTimeLess
traits, as well as implementations for unsigned integers, by @isislovecruft.
- Add
impl ConstantTimeEq for Choice
by @tarcieri. - Add
impl From<CtOption<T>> for Option<T>
by @CPerezz. This is useful for handling library code that producesCtOption
s in contexts where timing doesn't matter. - Introduce an MSRV policy.
- Remove the
nightly
-only asm-basedblack_box
barrier in favor of the volatile-based one, fixing compilation on current nightlies.
- Update README.md to clarify that 2.2 and above do not require the
nightly
feature.
- Adds an
or_else
combinator forCtOption
, by @ebfull. - Optimized
black_box
fornightly
, by @jethrogb. - Optimized
black_box
forstable
, by @dsprenkels. - Fixed CI for
no_std
, by @dsprenkels. - Fixed fuzz target compilation, by @3for.
- Error during
cargo publish
, yanked.
- Adds the "crypto" tag to crate metadata.
- New shorter, more efficient ct_eq() for integers, contributed by Thomas Pornin.
- Adds a new
CtOption<T>
which acts as a constant-timeOption<T>
(thanks to @ebfull for the implementation). Choice
now itself implementsConditionallySelectable
.
- Stable version with traits reworked from 1.0.0 to interact better with the orphan rules.