Function argon2_ffi::verify_raw_argon2d
[−]
[src]
pub extern fn verify_raw_argon2d(mem_cost: uint32_t,
time_cost: uint32_t,
parallelism: uint32_t,
pwd: *const uint8_t,
pwd_len: size_t,
salt: *const uint8_t,
salt_len: size_t,
hash: *const uint8_t,
hash_len: size_t)
-> int32_t
Verifies the password using Argon2d and returns 0
when correct.