On Sat, Jun 06, 2020 at 08:07:57PM +0000, Manuela Mandache wrote:
Everything works fine, only it seems the parallelism remains 1 whatever parameter I give when I load the module.
The crypto_pwhash API doesn't offer configuration of that parameter, so it's ignored when built against libsodium.
pw-argon2 calls the crypto_pwhash_str_alg function, defined here: https://github.com/jedisct1/libsodium/blob/1.0.18/src/libsodium/include/sodi...
Internally libsodium uses a hard-coded value of 1 for the parallelism: https://github.com/jedisct1/libsodium/blob/1.0.18/src/libsodium/crypto_pwhas...