Karolin Varner
398da99df2
chore: Documentation and unit tests for crate rosenpass-constant-time
2024-10-13 16:58:20 +02:00
Karolin Varner
a4b8fc2226
chore: Move memcmp test API doc to test memcmp test module
2024-08-03 14:05:22 +02:00
Emil Engler
8099bc4bdd
constant-time: Remove redundant cast
2024-04-25 11:01:41 +02:00
Paul Spooren
b2de384fcf
constant-time: add secure memcmp_le function
...
The compare function should do a little-endian comparision, therefore
copy the code from quinier/memsec and don't revert the loop, tada, le.
Signed-off-by: Paul Spooren <mail@aparcar.org >
2024-03-11 13:08:41 +01:00
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
Jemilu Mohammed
ba224a2200
add default member
...
add shared dependencies to workspace dependencies
all package level dependencies now rely on workspace
2023-11-30 18:44:28 +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