- Sep 26, 2021
-
-
Jan Drescher authored
-
Jan Niklas Drescher authored
-
Jan Niklas Drescher authored
-
- Nov 05, 2020
-
-
Yu Ding authored
-
- Apr 23, 2020
- Mar 29, 2020
-
-
Yu Ding authored
-
- Dec 18, 2019
-
-
Yu Ding authored
-
- Nov 27, 2019
-
-
Henry de Valence authored
-
Henry de Valence authored
-
Henry de Valence authored
Update README to remove nightly recommendation.
-
Henry de Valence authored
-
- Sep 28, 2019
-
-
Henry de Valence authored
The preceding `cargo publish` was done starting from the wrong local state; I had an inconsistent state relative to GitHub because of locally testing the fuzz targets PR. Oops.
-
- Sep 27, 2019
-
-
Henry de Valence authored
Harden stable implementation of black_box
-
Henry de Valence authored
outdated fuzzers code
-
Henry de Valence authored
Optimize black_box
-
Henry de Valence authored
Add caching for cargo dependencies in Travis builds.
-
Henry de Valence authored
travis: Fix no-std build
-
- Sep 19, 2019
-
-
Daan Sprenkels authored
b43b139d effectively disables the branches produced by LLVM, so remove the statement that the non-`nightly` `black_box` does not protect against these optimizations.
-
- Sep 13, 2019
-
-
Daan Sprenkels authored
-
Daan Sprenkels authored
-
- Sep 12, 2019
-
-
Daan Sprenkels authored
In Rust, `core::ptr::read_volatile` is not formally specified. However the current documentation mentions that "the semantics will almost always end up pretty similar to C11's definition of volatile". In C11, a volatile read *always* reads a value from memory. So this value *must* be in RAM in that form, at some time. This allows us to create a relatively efficient optimization barrier, by spilling the value to the stack, and immediadiately reloading it again. The benefit is that LTO could ever optimize the empty function away, even if #[inline(always)] is specified (although this may be very unlikely). However, `volatile` is concretely specified, so this optimization barrier will not be lost.
-
- Sep 04, 2019
-
-
root authored
-
- Aug 12, 2019
-
-
Henry de Valence authored
Add `or_else` method to `CtOption`
-
- Jul 31, 2019
-
-
Henry de Valence authored
-
Henry de Valence authored
-
Henry de Valence authored
-
- Jul 30, 2019
-
-
Henry de Valence authored
'crypto' means 'cryptography'
-
Henry de Valence authored
-
- Jul 24, 2019
-
-
Henry de Valence authored
New shorter, more efficient ct_eq() for integers.
-
- Jul 22, 2019
-
-
Thomas Pornin authored
-
- Jul 12, 2019
-
-
jethrogb authored
-
jethrogb authored
The previous assembly code required the compiler to move the value into memory to be able to pass the pointer into assembly. Often this also resulted in the function not being inlined. I believe this code is equivalent in terms of black box behavior but allows for much better codegen in the case where `input` is already in a register.
-
- Jul 03, 2019
-
-
Sean Bowe authored
-
- May 29, 2019
-
-
Isis Lovecruft authored
-
- Apr 29, 2019
-
-
Henry de Valence authored
-
Henry de Valence authored
-
Henry de Valence authored
-
Henry de Valence authored
Implement ConditionallySelectable for Choice
-
Henry de Valence authored
-