utils
utils copied to clipboard
Utility crates used in RustCrypto
Right now I see the following issues with public API of `zeroize`: - Derived and manually implemented `Zeroize` can be inefficient since they rely on zeroization of fields one by...
The docs mention that the fence prevents reordering "as a precaution to help ensure reads are not reordered before memory has been zeroed". My understanding is that the compiler and...
The purpose of the change is to make calls to `x.as_mut_slice().zeroize()` considerably faster, particularly for types like `[u8; n]`. We take @sopium's proposed code from #743 without significant changes. The...
This PR adds support for zeroing `wasm`'s `v128` register. The module is named after the `core::arch` module, but it does require that `target_family = "wasm"` so I'm unsure of which...
This PR adds SIMD support for: `int*`, `float*`, and `poly*` SIMD registers on `Aarch64`.
The MSRV for the `cmov` crate is 1.60, but the main repo's README still had it set at 1.59.
`hex-literal` is quite stable, with v0.3.0 being release over two years ago. So I think we can start to consider v1.0 release. Potential changes: - [x] Bump MSRV to 1.56...
std::detect uses [userspace mrs](https://github.com/rust-lang/stdarch/blob/f2ce94c7910a392f5b0ad1c8bf6e42a7e3791566/crates/std_detect/src/detect/os/aarch64.rs) on FreeBSD/aarch64 as well as having [auxval code](https://github.com/rust-lang/stdarch/blob/f2ce94c7910a392f5b0ad1c8bf6e42a7e3791566/crates/std_detect/src/detect/os/freebsd/auxvec.rs) that's currently used on arm32 and powerpc64 that would work too. One of these ways should be used...
I plan to get these done later today also, and they'll follow the tests as a rough example (but obviously cleaner, easier to understand and commented so users know what's...
As discussed in #824, adds a crate with the intent of it providing heuristics for selecting whether 32-bit or 64-bit backends have optimal codegen for a given target, with optional...