Home
last modified time | relevance | path

Searched refs:pin_len (Results 1 – 21 of 21) sorted by relevance

/external/bluetooth/bluedroid/stack/gap/
Dgap_api.c256 UINT8 GAP_Bond (BD_ADDR bd_addr, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask[]) in GAP_Bond() argument
258 return ((UINT8) BTM_SecBond (bd_addr, pin_len, p_pin, trusted_mask)); in GAP_Bond()
293 void GAP_PinRsp (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask[]) in GAP_PinRsp() argument
295 BTM_PINCodeReply (bd_addr, res, pin_len, p_pin, trusted_mask); in GAP_PinRsp()
/external/wpa_supplicant_8/src/wps/
Dwps.h126 size_t pin_len; member
798 const u8 *uuid, const u8 *pin, size_t pin_len,
847 const u8 *pin, size_t pin_len);
851 const u8 *pin, size_t pin_len,
Dwps_registrar.c83 size_t pin_len; member
94 bin_clear_free(pin->pin, pin->pin_len); in wps_free_pin()
724 const u8 *uuid, const u8 *pin, size_t pin_len, in wps_registrar_add_pin() argument
738 p->pin = os_malloc(pin_len); in wps_registrar_add_pin()
743 os_memcpy(p->pin, pin, pin_len); in wps_registrar_add_pin()
744 p->pin_len = pin_len; in wps_registrar_add_pin()
760 wpa_hexdump_ascii_key(MSG_DEBUG, "WPS: PIN", pin, pin_len); in wps_registrar_add_pin()
828 (dev_pw_len != pin->pin_len || in wps_registrar_invalidate_wildcard_pin()
868 const u8 *uuid, size_t *pin_len) in wps_registrar_get_pin() argument
910 *pin_len = found->pin_len; in wps_registrar_get_pin()
[all …]
Dwps.c50 data->dev_password = os_malloc(cfg->pin_len); in wps_init()
55 os_memcpy(data->dev_password, cfg->pin, cfg->pin_len); in wps_init()
56 data->dev_password_len = cfg->pin_len; in wps_init()
Dwps_er.c1900 const u8 *pin, size_t pin_len) in wps_er_learn() argument
1925 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn()
1985 const u8 *pin, size_t pin_len, in wps_er_config() argument
2018 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
Dwps_upnp_web.c445 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info()
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c202 cfg.pin_len = pos - (const char *) cfg.pin; in eap_wsc_init()
203 if (cfg.pin_len == 6 && in eap_wsc_init()
206 cfg.pin_len = 0; in eap_wsc_init()
278 cfg.pin, cfg.pin_len, 0); in eap_wsc_init()
/external/bluetooth/bluedroid/btif/src/
Dbluetooth.c305 uint8_t pin_len, bt_pin_code_t *pin_code) in pin_reply() argument
311 return btif_dm_pin_reply(bd_addr, accept, pin_len, pin_code); in pin_reply()
Dbtif_config_util.cpp888 int pin_len = atoi(value); in load_bluez_linkkeys() local
894 btif_config_set_int("Remote", addr, "PinLength", pin_len); in load_bluez_linkkeys()
Dbtif_dm.c2407 uint8_t pin_len, bt_pin_code_t *pin_code) in btif_dm_pin_reply() argument
2431 BTA_DmPinReply( (UINT8 *)bd_addr->address, accept, pin_len, pin_code->pin); in btif_dm_pin_reply()
2433 pairing_cb.pin_code_len = pin_len; in btif_dm_pin_reply()
2436 BTA_DmPinReply( (UINT8 *)bd_addr->address, accept, pin_len, pin_code->pin); in btif_dm_pin_reply()
2439 pairing_cb.pin_code_len = pin_len; in btif_dm_pin_reply()
/external/bluetooth/bluedroid/btif/include/
Dbtif_api.h254 uint8_t pin_len, bt_pin_code_t *pin_code);
/external/bluetooth/bluedroid/stack/include/
Dgap_api.h451 GAP_API extern UINT8 GAP_Bond (BD_ADDR bd_addr, UINT8 pin_len,
464 GAP_API extern void GAP_PinRsp (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len,
Dbtm_api.h3904 BTM_API extern void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len,
3940 UINT8 pin_len, UINT8 *p_pin,
3960 UINT8 pin_len, UINT8 *p_pin,
/external/bluetooth/bluedroid/stack/btm/
Dbtm_sec.c978 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument
983 btm_pair_state_descr(btm_cb.pairing_state), btm_cb.pairing_flags, pin_len, res); in BTM_PINCodeReply()
1004 if ( (pin_len > PIN_CODE_LEN) || (pin_len == 0) || (p_pin == NULL) ) in BTM_PINCodeReply()
1036 btm_cb.pin_code_len = pin_len; in BTM_PINCodeReply()
1037 memcpy (btm_cb.pin_code, p_pin, pin_len); in BTM_PINCodeReply()
1078 …BTM_TRACE_EVENT("BTM_PINCodeReply(): Saving pin_len: %d btm_cb.pin_code_len: %d", pin_len, btm_cb.… in BTM_PINCodeReply()
1081 memcpy (btm_cb.pin_code, p_pin, pin_len); in BTM_PINCodeReply()
1082 btm_cb.pin_code_len_saved = pin_len; in BTM_PINCodeReply()
1084 btsnd_hcic_pin_code_req_reply (bd_addr, pin_len, p_pin); in BTM_PINCodeReply()
1162 UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask[]) in btm_sec_bond_by_transport() argument
[all …]
/external/bluetooth/bluedroid/bta/dm/
Dbta_dm_api.c585 void BTA_DmPinReply(BD_ADDR bd_addr, BOOLEAN accept, UINT8 pin_len, UINT8 *p_pin) in BTA_DmPinReply() argument
597 p_msg->pin_len = pin_len; in BTA_DmPinReply()
598 memcpy(p_msg->p_pin, p_pin, pin_len); in BTA_DmPinReply()
Dbta_dm_int.h272 UINT8 pin_len; member
Dbta_dm_act.c935 …BTM_PINCodeReply(p_data->pin_reply.bd_addr, BTM_SUCCESS, p_data->pin_reply.pin_len, p_data->pin_re… in bta_dm_pin_reply()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_wsc.c128 cfg.pin_len = sm->user->password_len; in eap_wsc_init()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1241 size_t pin_len; member
1255 data->uuid, data->pin, data->pin_len, in wps_add_pin()
1272 data.pin_len = os_strlen(pin); in hostapd_wps_add_pin()
/external/bluetooth/bluedroid/bta/include/
Dbta_api.h1645 BTA_API extern void BTA_DmPinReply(BD_ADDR bd_addr, BOOLEAN accept, UINT8 pin_len,
/external/qemu/include/hw/
Dbt.h536 uint8_t pin_len; member