/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | nfc_pw_token.c | 41 struct wpabuf *buf = NULL, *ndef = NULL; local 57 ndef = ndef_build_wifi(buf); 58 if (ndef == NULL) 65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef), 66 wpabuf_len(ndef)); 76 wpabuf_free(ndef);
|
H A D | wps_supplicant.h | 61 int ndef, const char *uuid); 65 int ndef, const char *id_str); 66 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef); 75 int ndef); 77 int ndef, int cr, const char *uuid);
|
H A D | ap.h | 59 int ndef); 62 int ndef); 66 int ndef) 65 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument
|
H A D | wps_supplicant.c | 1987 int ndef, const char *uuid) 2004 if (ndef && ret) { 2100 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, argument 2111 if (ndef && ret) { 2126 int ndef, const char *id_str) 2141 return wpas_wps_network_config_token(wpa_s, ndef, ssid); 2146 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); 2152 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) argument 2155 return wps_nfc_token_build(ndef, 2161 return wps_nfc_token_gen(ndef, 1986 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument 2125 wpas_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *id_str) argument 2353 wpas_wps_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) argument 2382 wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument 2437 wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int cr, const char *uuid) argument [all...] |
H A D | p2p_supplicant.h | 126 int ndef); 128 int ndef, int tag);
|
H A D | ctrl_iface.c | 833 int ndef; local 842 ndef = 0; 844 ndef = 1; 848 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); 866 int ndef; local 871 ndef = 0; 873 ndef = 1; 877 buf = wpas_wps_nfc_token(wpa_s, ndef); 930 int ndef) 935 buf = wpas_wps_nfc_handover_req(wpa_s, ndef); 928 wpas_ctrl_nfc_get_handover_req_wps(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument 951 wpas_ctrl_nfc_get_handover_req_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument 981 int ndef; local 1013 wpas_ctrl_nfc_get_handover_sel_wps(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef, int cr, char *uuid) argument 1036 wpas_ctrl_nfc_get_handover_sel_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef, int tag) argument 1064 int ndef; local 1426 int ndef; local [all...] |
/external/wpa_supplicant_8/hostapd/ |
H A D | wps-ap-nfc.py | 15 import nfc.ndef namespace 120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 125 request = nfc.ndef.HandoverRequestMessage(request) 126 except nfc.ndef.DecodeError as e: 141 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 158 message = nfc.ndef.Message(data); 175 if len(tag.ndef.message): 176 for record in tag.ndef.message: 180 success = wpas_tag_read(tag.ndef.message) 194 tag.ndef [all...] |
H A D | ctrl_iface.c | 289 int ndef; local 294 ndef = 0; 296 ndef = 1; 300 buf = hostapd_wps_nfc_config_token(hapd, ndef); 317 int ndef) 322 buf = hostapd_wps_nfc_token_gen(hapd, ndef); 368 int ndef; local 376 ndef = 0; 378 ndef = 1; 383 buf = hostapd_wps_nfc_hs_cr(hapd, ndef); 315 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument [all...] |
/external/wpa_supplicant_8/hostapd/src/ap/ |
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
H A D | wps_hostapd.c | 1740 int ndef) 1749 if (ndef && ret) { 1762 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument 1790 if (ndef && ret) { 1897 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument 1900 return wps_nfc_token_build(ndef, 1906 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, 1739 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
|
/external/wpa_supplicant_8/src/ap/ |
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
H A D | wps_hostapd.c | 1740 int ndef) 1749 if (ndef && ret) { 1762 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument 1790 if (ndef && ret) { 1897 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument 1900 return wps_nfc_token_build(ndef, 1906 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, 1739 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
|
/external/wpa_supplicant_8/wpa_supplicant/src/ap/ |
H A D | wps_hostapd.h | 38 int ndef); 39 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef); 43 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
|
/external/wpa_supplicant_8/wpa_supplicant/examples/ |
H A D | wps-nfc.py | 17 import nfc.ndef namespace 149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 154 request = nfc.ndef.HandoverRequestMessage(request) 155 except nfc.ndef.DecodeError as e: 170 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 188 message = nfc.ndef.Message(data); 212 message = nfc.ndef.HandoverRequestMessage(version="1.2") 214 datamsg = nfc.ndef.Message(data) 262 message = nfc.ndef.HandoverSelectMessage(message) 278 #wifi = nfc.ndef [all...] |
H A D | p2p-nfc.py | 17 import nfc.ndef namespace 154 message = nfc.ndef.HandoverRequestMessage(version="1.2") 164 datamsg = nfc.ndef.Message(data) 178 datamsg = nfc.ndef.Message(data) 226 message = nfc.ndef.HandoverSelectMessage(message) 270 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 275 request = nfc.ndef.HandoverRequestMessage(request) 276 except nfc.ndef.DecodeError as e: 292 sel = nfc.ndef.HandoverSelectMessage(version="1.2") 320 message = nfc.ndef [all...] |
/external/chromium_org/third_party/boringssl/src/crypto/asn1/ |
H A D | tasn_enc.c | 75 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder 131 int i, seqcontlen, seqlen, ndef = 1; local 194 if (aclass & ASN1_TFLG_NDEF) ndef = 2; 231 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 235 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 247 if (ndef == 2) 269 int i, ret, flags, ttag, tclass, ndef; local 309 /* if template and arguments require ndef, use it */ 311 ndef = 2; 312 else ndef 512 int ndef = 0; local [all...] |
/external/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 79 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder 135 int i, seqcontlen, seqlen, ndef = 1; local 198 if (aclass & ASN1_TFLG_NDEF) ndef = 2; 235 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 239 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 251 if (ndef == 2) 273 int i, ret, flags, ttag, tclass, ndef; local 312 /* if template and arguments require ndef, use it */ 314 ndef = 2; 315 else ndef 515 int ndef = 0; local [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/ |
H A D | nfc_debug.css | 36 #ndef-record-form { 46 #ndef-record-form input {
|
/external/libnfc-nci/src/nfa/rw/ |
H A D | nfa_rw_act.c | 200 p_rw_data->ndef.cur_size, p_rw_data->ndef.max_size, p_rw_data->ndef.flags); 203 if (p_rw_data->ndef.status == NFC_STATUS_OK) 209 /* Store ndef properties */ 211 conn_evt_data.ndef_detect.protocol = p_rw_data->ndef.protocol; 212 conn_evt_data.ndef_detect.cur_size = nfa_rw_cb.ndef_cur_size = p_rw_data->ndef.cur_size; 213 conn_evt_data.ndef_detect.max_size = nfa_rw_cb.ndef_max_size = p_rw_data->ndef.max_size; 214 conn_evt_data.ndef_detect.flags = p_rw_data->ndef.flags; 216 if (p_rw_data->ndef [all...] |
/external/libnfc-nci/src/nfc/tags/ |
H A D | rw_i93.c | 1901 rw_data.ndef.status = NFC_STATUS_OK; 1902 rw_data.ndef.protocol = NFC_PROTOCOL_15693; 1903 rw_data.ndef.flags = 0; 1904 rw_data.ndef.flags |= RW_NDEF_FL_SUPPORTED; 1905 rw_data.ndef.flags |= RW_NDEF_FL_FORMATED; 1906 rw_data.ndef.flags |= RW_NDEF_FL_FORMATABLE; 1907 rw_data.ndef.cur_size = p_i93->ndef_length; 1911 rw_data.ndef.flags |= RW_NDEF_FL_READ_ONLY; 1912 rw_data.ndef.max_size = p_i93->ndef_length; 1916 rw_data.ndef [all...] |
H A D | rw_t4t.c | 553 rw_data.ndef.flags = RW_NDEF_FL_UNKNOWN; 795 rw_data.ndef.status = NFC_STATUS_OK; 796 rw_data.ndef.protocol = NFC_PROTOCOL_ISO_DEP; 797 rw_data.ndef.max_size = (UINT32) (p_t4t->cc_file.ndef_fc.max_file_size - (UINT16) T4T_FILE_LENGTH_SIZE); 798 rw_data.ndef.cur_size = nlen; 799 rw_data.ndef.flags = RW_NDEF_FL_SUPPORTED | RW_NDEF_FL_FORMATED; 802 rw_data.ndef.flags |= RW_NDEF_FL_READ_ONLY;
|
/external/libnfc-nci/ |
H A D | Android.mk | 43 $(call all-c-files-under, $(NFC)/int $(NFC)/llcp $(NFC)/nci $(NFC)/ndef $(NFC)/nfc $(NFC)/tags) \
|
/external/wpa_supplicant_8/hostapd/src/wps/ |
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|
/external/wpa_supplicant_8/src/wps/ |
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|
/external/wpa_supplicant_8/wpa_supplicant/src/wps/ |
H A D | wps_common.c | 618 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument 627 if (ndef && ret) { 665 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument 692 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|