Ilka Schulz
27ba729c14
move each primitive into its own module; add rough documentation
...
This commit does not change anything about the implementations.
2024-02-29 13:36:54 +01:00
Ilka Schulz
36c99c020e
implement test to statistically check constant run time of memcmp (feature: constant_time_tests)
2024-02-28 17:07:40 +01:00
Karolin Varner
9690085156
chore: Cargo fmt
2024-01-27 21:38:13 +01:00
Karolin Varner
ca972e8b70
feat: Remove libsodium
2024-01-27 21:38:13 +01:00
Karolin Varner
2fa0a2a72a
feat: Use core::hint::black_box in rosenpass_constant_time::xor
2024-01-27 21:38:13 +01:00
wucke13
62aa9b4351
fix: second round of clippy lints
...
Clippy would not automatically apply these fixes, so they were applied
by hand.
2024-01-03 18:43:05 +01:00
Karolin Varner
09aa0e027e
chore: Move hashing functions into sodium/ciphers crate
...
This finishes the last step of removing sodium.rs from the rosenpass crate
itself and also removes the NOTHING and NONCE0 constants.
Hashing functions now use destination parameters;
rosenpass_constant_time::xor now does too.
2023-11-29 11:36:28 +01:00
Karolin Varner
86300ca936
chore: Use naming scheme without rosenpass- for crates
2023-11-26 10:38:24 +01:00