Function argon2_ffi::verify_raw [] [src]

pub extern fn verify_raw(variant: uint32_t,
                         version: uint32_t,
                         mem_cost: uint32_t,
                         time_cost: uint32_t,
                         lanes: uint32_t,
                         threads: uint32_t,
                         pwd: *const uint8_t,
                         pwd_len: size_t,
                         salt: *const uint8_t,
                         salt_len: size_t,
                         secret: *const uint8_t,
                         secret_len: size_t,
                         ad: *const uint8_t,
                         ad_len: size_t,
                         hash: *const uint8_t,
                         hash_len: size_t)
                         -> int32_t

Verifies the password and returns 0 when correct.