The current argon2 crate implementation is a translation of ref.c from the reference implementation:
https://github.com/P-H-C/phc-winner-argon2/blob/92cd2e1/src/ref.c
It could be improved by translating opt.c instead, which provides e.g. SIMD support:
https://github.com/P-H-C/phc-winner-argon2/blob/92cd2e1/src/opt.c
The current
argon2crate implementation is a translation ofref.cfrom the reference implementation:https://github.com/P-H-C/phc-winner-argon2/blob/92cd2e1/src/ref.c
It could be improved by translating
opt.cinstead, which provides e.g. SIMD support:https://github.com/P-H-C/phc-winner-argon2/blob/92cd2e1/src/opt.c