[][src]Crate subtle

Note that docs will only build on nightly Rust until RFC 1990 stabilizes.

Structs

Choice

The Choice struct represents a choice for use in conditional assignment.

Traits

ConditionallyAssignable

A type which can be conditionally assigned in constant time.

ConditionallyNegatable

A type which can be conditionally negated in constant time.

ConditionallySelectable

Select one of two inputs according to a Choice in constant time.

ConditionallySwappable

A type which is conditionally swappable in constant time.

ConstantTimeEq

An Eq-like trait that produces a Choice instead of a bool.