utils icon indicating copy to clipboard operation
utils copied to clipboard

Utility crates used in RustCrypto

Results 37 utils issues
Sort by recently updated
recently updated
newest added

Bumps [generic-array](https://github.com/fizyk20/generic-array) from 0.14.5 to 0.14.6. Changelog Sourced from generic-array's changelog. 0.14.6 Add an optional Zeroize impl for GenericArray (#126 and #112) Cleanup some unsafe (#125) and typos (#114) Use...

dependencies

Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.42 to 1.0.43. Release notes Sourced from proc-macro2's releases. 1.0.43 Add keywords to crates.io metadata Commits 774a265 Release 1.0.43 95f5e5a Update keywords in crates.io metadata 971948a Change...

dependencies

Several of our crates lock `zeroize` to

Hi, while testing zeroize on Debian infrastructure one test fails (it does not fail on other architectures). ``` ---- tests::zeroize_c_string stdout ---- thread 'tests::zeroize_c_string' panicked at 'assertion failed: `(left ==...

`collectable` [suggests](https://github.com/RustCrypto/utils/blob/3bd76980b0bba7fa2b9072eee2f76cd5b6dd99b5/collectable/src/lib.rs#L4) that its traits usefully could be implemented for `heapless::Vec` and `tinyvec::Array`, but `collectable` implements its traits only for the standard `Vec`, and neither `heapless` nor `tinyvec` appear to...

I inspected the generated assembly code and benchmarked `zeroize` for `[u8; 32]` on x86_64 and found it quite inefficient, storing one byte at a time: https://play.rust-lang.org/?version=stable&mode=release&edition=2021&gist=3f44f4b90e6af0eac0dcb1f649390329 On my Ryzen CPU,...

There are now well-defined microarchitecture levels for x86-64: `x86-64-v2`, `x86-64-v3`, and `x86-64-v4` (https://gitlab.com/x86-psABIs/x86-64-ABI/-/blob/master/x86-64-ABI/low-level-sys-info.tex). Each level is effectively a test for presence of various x86-64 CPU features. Do you think it...

I noticed that an enum like this: ```rust #[derive(Zeroize)] enum Test { A = 0, B, } ``` doesn't work like intended, it basically does nothing on `zeroize()`. How bad...

From https://github.com/RustCrypto/utils/issues/215#issuecomment-762886536.

enhancement

`zeroize` is a low-level crate and does not guard e.g. against implicitly copying the value. However, people sometimes assume that it does: https://benma.github.io/2020/10/16/rust-zeroize-move.html While `secrecy` crate is recommended in the...