Entries are listed in reverse chronological order.
CtOption::unwrap_or_else
.CtOption::expect
.ConstantTimeEq::ct_ne
with default implementation.core_hint_black_box
feature from Diane Hosfelt and Amber Sprenkels which utilises the original black_box
functionality from when subtle was first written, which has now found it's way into the Rust standard library.const-generics
feature from @survived which adds support for subtle traits for generic arrays [T; N]
.core::cmp::Ordering
for types which implement subtle traits, patch from @tarcieri.rand
dependency to 0.8.ConstantTimeGreater
and ConstantTimeLess
traits, as well as implementations for unsigned integers, by @isislovecruft.impl ConstantTimeEq for Choice
by @tarcieri.impl From<CtOption<T>> for Option<T>
by @CPerezz. This is useful for handling library code that produces CtOption
s in contexts where timing doesn't matter.nightly
-only asm-based black_box
barrier in favor of the volatile-based one, fixing compilation on current nightlies.nightly
feature.or_else
combinator for CtOption
, by @ebfull.black_box
for nightly
, by @jethrogb.black_box
for stable
, by @dsprenkels.no_std
, by @dsprenkels.cargo publish
, yanked.CtOption<T>
which acts as a constant-time Option<T>
(thanks to @ebfull for the implementation).Choice
now itself implements ConditionallySelectable
.