Searched refs:ndef (Results 1 - 25 of 32) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
H A Dnfc_pw_token.c41 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 Dwps_supplicant.h61 int ndef, const char *uuid);
66 int ndef, const char *id_str);
67 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef);
73 int ndef, int cr, const char *uuid);
H A Dap.h56 int ndef);
58 int ndef);
H A Dwps_supplicant.c1775 int ndef, const char *uuid)
1792 if (ndef && ret) {
1901 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, argument
1912 if (ndef && ret) {
1927 int ndef, const char *id_str)
1942 return wpas_wps_network_config_token(wpa_s, ndef, ssid);
1947 return wpas_ap_wps_nfc_config_token(wpa_s, ndef);
1953 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) argument
1956 return wps_nfc_token_build(ndef,
1962 return wps_nfc_token_gen(ndef,
1774 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument
1926 wpas_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *id_str) argument
2121 wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument
2163 wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int cr, const char *uuid) argument
[all...]
H A Dap.c870 int ndef)
877 return hostapd_wps_nfc_config_token(hapd, ndef);
882 int ndef)
889 return hostapd_wps_nfc_hs_cr(hapd, ndef);
869 wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef) argument
881 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwps-nfc.py16 import nfc.ndef namespace
112 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
127 message = nfc.ndef.Message(data);
179 record = nfc.ndef.Record()
182 record = nfc.ndef.HandoverCarrierRecord(record)
186 message = nfc.ndef.HandoverRequestMessage(version="1.2")
226 message = nfc.ndef.HandoverSelectMessage(message)
235 wifi = nfc.ndef.WifiConfigRecord(carrier.record)
245 if len(tag.ndef.message):
246 message = nfc.ndef
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.h37 int ndef);
38 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef);
39 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1683 int ndef)
1691 if (ndef && ret) {
1704 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument
1710 return hostapd_wps_nfc_config_token(hapd, ndef);
1714 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1717 return wps_nfc_token_build(ndef,
1723 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1682 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.h37 int ndef);
38 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef);
39 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1683 int ndef)
1691 if (ndef && ret) {
1704 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument
1710 return hostapd_wps_nfc_config_token(hapd, ndef);
1714 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1717 return wps_nfc_token_build(ndef,
1723 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1682 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.h37 int ndef);
38 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef);
39 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1683 int ndef)
1691 if (ndef && ret) {
1704 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument
1710 return hostapd_wps_nfc_config_token(hapd, ndef);
1714 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1717 return wps_nfc_token_build(ndef,
1723 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1682 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/wpa_supplicant_8/hostapd/
H A Dwps-ap-nfc.py14 import nfc.ndef namespace
92 sel = nfc.ndef.HandoverSelectMessage(version="1.2")
107 message = nfc.ndef.Message(data);
147 if len(tag.ndef.message):
148 message = nfc.ndef.Message(tag.ndef.message)
155 wpas_tag_read(tag.ndef.message)
181 tag.ndef.message = data
203 tag.ndef.message = data
257 if tag.ndef
[all...]
H A Dctrl_iface.c285 int ndef; local
290 ndef = 0;
292 ndef = 1;
296 buf = hostapd_wps_nfc_config_token(hapd, ndef);
313 int ndef)
318 buf = hostapd_wps_nfc_token_gen(hapd, ndef);
364 int ndef; local
372 ndef = 0;
374 ndef = 1;
379 buf = hostapd_wps_nfc_hs_cr(hapd, ndef);
311 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument
[all...]
/external/openssl/crypto/asn1/
H A Dtasn_enc.c79 /* 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
510 int ndef = 0; local
[all...]
/external/libnfc-nci/src/nfa/rw/
H A Dnfa_rw_act.c187 p_rw_data->ndef.cur_size, p_rw_data->ndef.max_size, p_rw_data->ndef.flags);
190 if (p_rw_data->ndef.status == NFC_STATUS_OK)
195 /* Store ndef properties */
197 conn_evt_data.ndef_detect.protocol = p_rw_data->ndef.protocol;
198 conn_evt_data.ndef_detect.cur_size = nfa_rw_cb.ndef_cur_size = p_rw_data->ndef.cur_size;
199 conn_evt_data.ndef_detect.max_size = nfa_rw_cb.ndef_max_size = p_rw_data->ndef.max_size;
200 conn_evt_data.ndef_detect.flags = p_rw_data->ndef.flags;
202 if (p_rw_data->ndef
[all...]
/external/libnfc-nci/src/nfc/tags/
H A Drw_i93.c1901 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 Drw_t4t.c553 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/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_common.c566 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
575 if (ndef && ret) {
588 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
622 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
H A Dwps.h818 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey,
820 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
824 /* ndef.c */
/external/wpa_supplicant_8/src/wps/
H A Dwps_common.c566 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
575 if (ndef && ret) {
588 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
622 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
H A Dwps.h818 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey,
820 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
824 /* ndef.c */
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_common.c566 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
575 if (ndef && ret) {
588 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
622 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
H A Dwps.h818 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey,
820 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
824 /* ndef.c */
/external/libnfc-nci/
H A DAndroid.mk42 $(call all-c-files-under, $(NFC)/int $(NFC)/llcp $(NFC)/nci $(NFC)/ndef $(NFC)/nfc $(NFC)/tags) \

Completed in 1167 milliseconds

12