/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_wsc.c | 188 cfg.pin_len = pos - (const char *) cfg.pin; in eap_wsc_init() 189 if (cfg.pin_len >= WPS_OOB_DEVICE_PASSWORD_MIN_LEN * 2 && in eap_wsc_init() 190 cfg.pin_len <= WPS_OOB_DEVICE_PASSWORD_LEN * 2 && in eap_wsc_init() 192 cfg.pin_len / 2) == 0) { in eap_wsc_init() 195 cfg.pin_len /= 2; in eap_wsc_init() 197 if (cfg.pin_len == 6 && os_strncmp(pos, "nfc-pw", 6) == 0) { in eap_wsc_init() 199 cfg.pin_len = 0; in eap_wsc_init() 245 cfg.pin, cfg.pin_len, 0); in eap_wsc_init()
|
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
D | wps.c | 48 data->dev_password = os_malloc(cfg->pin_len); in wps_init() 53 os_memcpy(data->dev_password, cfg->pin, cfg->pin_len); in wps_init() 54 data->dev_password_len = cfg->pin_len; in wps_init()
|
D | wps.h | 113 size_t pin_len; member 518 const u8 *pin, size_t pin_len, int timeout);
|
D | wps_registrar.c | 33 size_t pin_len; member 424 const u8 *pin, size_t pin_len, int timeout) in wps_registrar_add_pin() argument 435 p->pin = os_malloc(pin_len); in wps_registrar_add_pin() 440 os_memcpy(p->pin, pin, pin_len); in wps_registrar_add_pin() 441 p->pin_len = pin_len; in wps_registrar_add_pin() 455 wpa_hexdump_ascii_key(MSG_DEBUG, "WPS: PIN", pin, pin_len); in wps_registrar_add_pin() 528 const u8 *uuid, size_t *pin_len) in wps_registrar_get_pin() argument 570 *pin_len = pin->pin_len; in wps_registrar_get_pin() 884 size_t pin_len = 0; in wps_get_dev_password() local 892 pin_len = 8; in wps_get_dev_password() [all …]
|
/external/wpa_supplicant_8/src/wps/ |
D | wps.h | 137 size_t pin_len; member 789 const u8 *uuid, const u8 *pin, size_t pin_len, 839 size_t pin_len); 843 size_t pin_len, const struct wps_credential *cred);
|
D | wps_registrar.c | 81 size_t pin_len; member 710 const u8 *uuid, const u8 *pin, size_t pin_len, in wps_registrar_add_pin() argument 724 p->pin = os_malloc(pin_len); in wps_registrar_add_pin() 729 os_memcpy(p->pin, pin, pin_len); in wps_registrar_add_pin() 730 p->pin_len = pin_len; in wps_registrar_add_pin() 743 wpa_hexdump_ascii_key(MSG_DEBUG, "WPS: PIN", pin, pin_len); in wps_registrar_add_pin() 811 (dev_pw_len != pin->pin_len || in wps_registrar_invalidate_wildcard_pin() 851 const u8 *uuid, size_t *pin_len) in wps_registrar_get_pin() argument 893 *pin_len = found->pin_len; in wps_registrar_get_pin() 1304 size_t pin_len = 0; in wps_get_dev_password() local [all …]
|
D | wps.c | 50 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()
|
D | wps_er.c | 1881 size_t pin_len) in wps_er_learn() argument 1904 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_learn() 1964 size_t pin_len, const struct wps_credential *cred) in wps_er_config() argument 1994 wps_registrar_add_pin(er->wps->registrar, NULL, uuid, pin, pin_len, 0); in wps_er_config()
|
D | wps_upnp_web.c | 445 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info()
|
/external/bluetooth/bluedroid/btif/src/ |
D | bluetooth.c | 277 uint8_t pin_len, bt_pin_code_t *pin_code) in pin_reply() argument 283 return btif_dm_pin_reply(bd_addr, accept, pin_len, pin_code); in pin_reply()
|
D | btif_config_util.cpp | 653 int pin_len = atoi(value); in load_bluez_linkkeys() local 659 btif_config_set_int("Remote", addr, "PinLength", pin_len); in load_bluez_linkkeys()
|
D | btif_dm.c | 1575 uint8_t pin_len, bt_pin_code_t *pin_code) in btif_dm_pin_reply() argument 1579 BTA_DmPinReply( (UINT8 *)bd_addr->address, accept, pin_len, pin_code->pin); in btif_dm_pin_reply() 1582 pairing_cb.pin_code_len = pin_len; in btif_dm_pin_reply()
|
/external/bluetooth/bluedroid/btif/include/ |
D | btif_api.h | 243 uint8_t pin_len, bt_pin_code_t *pin_code);
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
D | eap_wsc.c | 124 cfg.pin_len = pos - (const char *) cfg.pin; in eap_wsc_init() 147 cfg.pin, cfg.pin_len, 0); in eap_wsc_init()
|
/external/bluetooth/bluedroid/bta/dm/ |
D | bta_dm_api.c | 567 void BTA_DmPinReply(BD_ADDR bd_addr, BOOLEAN accept, UINT8 pin_len, UINT8 *p_pin) in BTA_DmPinReply() argument 579 p_msg->pin_len = pin_len; in BTA_DmPinReply() 580 memcpy(p_msg->p_pin, p_pin, pin_len); in BTA_DmPinReply()
|
D | bta_dm_int.h | 242 UINT8 pin_len; member
|
D | bta_dm_act.c | 850 …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/bluetooth/bluedroid/stack/btm/ |
D | btm_sec.c | 829 void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask… in BTM_PINCodeReply() argument 834 btm_pair_state_descr(btm_cb.pairing_state), btm_cb.pairing_flags, pin_len, res); in BTM_PINCodeReply() 855 if ( (pin_len > PIN_CODE_LEN) || (pin_len == 0) || (p_pin == NULL) ) in BTM_PINCodeReply() 887 btm_cb.pin_code_len = pin_len; in BTM_PINCodeReply() 888 memcpy (btm_cb.pin_code, p_pin, pin_len); in BTM_PINCodeReply() 928 …BTM_TRACE_EVENT2("BTM_PINCodeReply(): Saving pin_len: %d btm_cb.pin_code_len: %d", pin_len, btm_cb… in BTM_PINCodeReply() 931 memcpy (btm_cb.pin_code, p_pin, pin_len); in BTM_PINCodeReply() 932 btm_cb.pin_code_len_saved = pin_len; in BTM_PINCodeReply() 934 btsnd_hcic_pin_code_req_reply (bd_addr, pin_len, p_pin); in BTM_PINCodeReply() 1004 tBTM_STATUS BTM_SecBond (BD_ADDR bd_addr, UINT8 pin_len, UINT8 *p_pin, UINT32 trusted_mask[]) in BTM_SecBond() argument [all …]
|
/external/openssh/ |
D | pkcs11.h | 750 unsigned long pin_len, unsigned char *label)); 753 unsigned long pin_len)); 780 unsigned char *pin, unsigned long pin_len));
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_wsc.c | 128 cfg.pin_len = sm->user->password_len; in eap_wsc_init()
|
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/ |
D | eap_wsc.c | 126 cfg.pin_len = sm->user->password_len; in eap_wsc_init()
|
/external/wpa_supplicant_8/src/ap/ |
D | wps_hostapd.c | 1075 size_t pin_len; member 1089 data->uuid, data->pin, data->pin_len, in wps_add_pin() 1106 data.pin_len = os_strlen(pin); in hostapd_wps_add_pin()
|
/external/bluetooth/bluedroid/bta/include/ |
D | bta_api.h | 1175 BTA_API extern void BTA_DmPinReply(BD_ADDR bd_addr, BOOLEAN accept, UINT8 pin_len,
|
/external/bluetooth/bluedroid/stack/include/ |
D | btm_api.h | 3793 BTM_API extern void BTM_PINCodeReply (BD_ADDR bd_addr, UINT8 res, UINT8 pin_len, 3823 …BTM_API extern tBTM_STATUS BTM_SecBond (BD_ADDR bd_addr, UINT8 pin_len, UINT8 *p_pin, UINT32 trust…
|
/external/qemu/hw/ |
D | bt.h | 536 uint8_t pin_len; member
|