#cpu #intrinsics #timing #data #independent #wrapper #constant

no-std aarch64-dit

Wrappers for enabling/disabling the Data Independent Timing (DIT) feature on AArch64 CPUs

2 unstable releases

0.1.0 Sep 6, 2024
0.0.1-alpha Sep 6, 2024

#1557 in Hardware support

Apache-2.0 OR MIT

30KB
445 lines

RustCrypto: AArch64 Data-Independent Timing (DIT)

Crate Docs Build Status Apache 2.0/MIT Licensed MSRV

Wrappers for enabling/disabling the Data-Independent Timing feature of modern AArch64 CPUs which can be used to help ensure that instructions take a constant amount of time regardless of input data, thus preventing potential information leaks via timing sidechannels.

Documentation

Minimum Supported Rust Version

Rust 1.61 or newer.

In the future, we reserve the right to change MSRV (i.e. MSRV is out-of-scope for this crate's SemVer guarantees), however when we do it will be accompanied by a minor version bump.

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies