Function argon2_sys::argon2d_verify_ctx[][src]

pub unsafe extern "C" fn argon2d_verify_ctx(
    context: *mut argon2_context,
    hash: *const c_char
) -> c_int
Expand description

Verify if a given password is correct for Argon2d hashing

@param context Pointer to current Argon2 context

@param hash The password hash to verify. The length of the hash is specified by the context outlen member

@return Zero if successful, a non zero error code otherwise