argon2: detect allocation failures in hash_password_into - #568
Conversation
jonasmalacofilho
left a comment
There was a problem hiding this comment.
Note that my allocation-only benchmark in #566 suggests this could be a tiny bit slower than vec![Block::default, ...].
So maybe it would be good to benchmark this with high-ish memory sizes, or at least with the 19 MiB and 46 MiB sizes recommended by OWASP?
|
Maybe we should try to land #547 first so we can gauge any impact on performance? |
I think we should merge this PR, then #547 without the alignment workaround after it was migrated to |
## Added - Detect allocation failures in `hash_password_into` (#568) - `parallel` feature (#547) - `PasswordVerifier<str>` impl (#779) - `kdf::{Kdf, Pbkdf}` impls (#823) ## Changed - Upgrade to Rust 2024 edition; MSRV 1.85 (#563) - Switch from `std::error::Error` to `core::error::Error` (#767) - Rename `simple` feature to `password-hash` (#776) - Bump `cpufeatures` to v0.3 (#847) - Bump `password-hash` to v0.6 (#848) - Bump `blake2` to v0.11 (#929) ## Removed - `std` feature (#768) ## Fixed - Check `p_cost < Params::MIN_P_COST` before `m_cost < p_cost * 8` (#745)
Closes #566