]> git.codecow.com Git - Monocypher.git/commit
Add Argon2d and Argon2id support
authorLoup Vaillant <loup@loup-vaillant.fr>
Fri, 30 Dec 2022 23:24:53 +0000 (00:24 +0100)
committerLoup Vaillant <loup@loup-vaillant.fr>
Fri, 30 Dec 2022 23:24:53 +0000 (00:24 +0100)
commita3448ac13927c86a84b5afe863a3b10c6877c251
tree111e6131502d8fc552b735dcade85c368df799f3
parentd2cb03d6396027fbfde6f72bc2314512fd7b3805
Add Argon2d and Argon2id support

This is mostly about supporting Argon2id, because it is mandated by the
RFC, and sometimes recommended by people who know more than I do about
the threat models around passwords.

Argon2d is included as well because supporting it is practically free
(one character change and one constant).

Speaking of constants, I'm not sure whether the three `CRYPTO_ARGON2_*`
constants should be pre-processor definitions like they are now, or
proper `const uint32_t` declarations.

Link #243
src/monocypher.c
tests/gen/argon2.c
tests/gen/vectors/argon2