‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Sunday, 7 June 2020 00:32, Ryan Tandy <[email protected]> wrote:

> 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/sodium/crypto_pwhash.h#L121-L125
>
> Internally libsodium uses a hard-coded value of 1 for the parallelism:
> https://github.com/jedisct1/libsodium/blob/1.0.18/src/libsodium/crypto_pwhash/argon2/pwhash_argon2id.c#L199-L202

Hi Ryan,

Thank you for your answer.
So I've built against libargon2, after changing the algorithm to argon2id in 
pw-argon2.c, and now everything is perfect.

May I suggest some changes in the man page of the module? I am willing to 
contribute, but I've never done this. If you welcome the idea, please let me 
know how should I proceed to it.

Best regards,

Manuela

Reply via email to