get_key_material_raw
ret = get_key_material_raw(f, keyformat, buf, len_out);
ret = get_key_material_raw(stdin, keyformat, &km,