Lines Matching refs:auth
305 uint8_t *auth) in get_auth_requirements() argument
334 if (auth) in get_auth_requirements()
335 *auth = req.type; in get_auth_requirements()
896 uint8_t *cap, uint8_t *auth) in hcid_dbus_get_io_cap() argument
905 if (get_auth_requirements(local, remote, auth) < 0) in hcid_dbus_get_io_cap()
908 debug("initial authentication requirement is 0x%02x", *auth); in hcid_dbus_get_io_cap()
910 if (*auth == 0xff) in hcid_dbus_get_io_cap()
911 *auth = device_get_auth(device); in hcid_dbus_get_io_cap()
917 if (*auth < 0x02 && device_get_auth(device) < 0x02) { in hcid_dbus_get_io_cap()
939 if (*auth == 0x00) { in hcid_dbus_get_io_cap()
950 if (*auth == 0x00) { in hcid_dbus_get_io_cap()
960 *auth = 0x02; in hcid_dbus_get_io_cap()
962 *auth = 0x03; in hcid_dbus_get_io_cap()
968 *auth |= 0x01; in hcid_dbus_get_io_cap()
974 debug("final authentication requirement is 0x%02x", *auth); in hcid_dbus_get_io_cap()
980 uint8_t cap, uint8_t auth) in hcid_dbus_set_io_cap() argument
989 device_set_auth(device, auth); in hcid_dbus_set_io_cap()