pub unsafe extern "C" fn crypt_convert(
    cd: *mut crypt_device,
    type_: *const c_char,
    params: *mut c_void
) -> c_int