Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c188 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/
Dwps.c48 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()
Dwps.h113 size_t pin_len; member
518 const u8 *pin, size_t pin_len, int timeout);
Dwps_registrar.c33 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/
Dwps.h137 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);
Dwps_registrar.c81 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 …]
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.c1881 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()
Dwps_upnp_web.c445 cfg.pin_len = os_strlen(iface->ctx->ap_pin); in web_process_get_device_info()
/external/bluetooth/bluedroid/btif/src/
Dbluetooth.c277 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()
Dbtif_config_util.cpp653 int pin_len = atoi(value); in load_bluez_linkkeys() local
659 btif_config_set_int("Remote", addr, "PinLength", pin_len); in load_bluez_linkkeys()
Dbtif_dm.c1575 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/
Dbtif_api.h243 uint8_t pin_len, bt_pin_code_t *pin_code);
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
Deap_wsc.c124 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/
Dbta_dm_api.c567 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()
Dbta_dm_int.h242 UINT8 pin_len; member
Dbta_dm_act.c850 …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/
Dbtm_sec.c829 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/
Dpkcs11.h750 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/
Deap_server_wsc.c128 cfg.pin_len = sm->user->password_len; in eap_wsc_init()
/external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
Deap_wsc.c126 cfg.pin_len = sm->user->password_len; in eap_wsc_init()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c1075 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/
Dbta_api.h1175 BTA_API extern void BTA_DmPinReply(BD_ADDR bd_addr, BOOLEAN accept, UINT8 pin_len,
/external/bluetooth/bluedroid/stack/include/
Dbtm_api.h3793 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/
Dbt.h536 uint8_t pin_len; member