[][src]Function nitrokey_sys::NK_user_authenticate

pub unsafe extern "C" fn NK_user_authenticate(
    user_password: *const c_char,
    user_temporary_password: *const c_char
) -> c_int

Authenticates the user on USER privilages with user_password and sets user's temporary password on device to user_temporary_password. @param user_password char[25] current user password @param user_temporary_password char[25] user temporary password to be set on device for further communication (authentication command) @return command processing error code