[package] name = "argon2" version = "0.21.0" louise = ">= 0.22.0" # The reference C implementation of Argon2 (RFC 9106), vendored unmodified # from https://github.com/P-H-C/phc-winner-argon2 release 20190702 (CC0 or # Apache-2.0, see vendor/argon2/LICENSE; archive sha256 # daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c), plus # the binding shim in csrc/. [native.argon2] kind = "c" sources = [ "vendor/argon2/src/argon2.c", "vendor/argon2/src/core.c", "vendor/argon2/src/encoding.c", "vendor/argon2/src/ref.c", "vendor/argon2/src/thread.c", "vendor/argon2/src/blake2/blake2b.c", "csrc/shim.c", ] include = ["vendor/argon2/include", "vendor/argon2/src"] # Hashing runs on the `cpu` blocking pool, one call per thread. cflags = ["-DARGON2_NO_THREADS"]