Memory size m MUST be an integer number of kibibytes from 8*p to
2^(32)-1. The actual number of blocks is m', which is m rounded
down to the nearest multiple of 4*p.
8 is the minimum value of m_cost when p_cost is 1, and the minimum value of m_cost changes depending on the value of p_cost, so I fix the explanation about the minimum value of m_cost.
According to RFC 9106:
8 is the minimum value of
m_cost
whenp_cost
is 1, and the minimum value ofm_cost
changes depending on the value ofp_cost
, so I fix the explanation about the minimum value ofm_cost
.See also: https://github.com/RustCrypto/password-hashes/pull/458#issuecomment-1706637626