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

/freebsd-11-stable/contrib/wpa/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.h62 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);
76 int ndef);
78 int ndef, int cr, const char *uuid);
H A Dap.h59 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 Dwps_supplicant.c2129 int ndef, const char *uuid)
2146 if (ndef && ret) {
2242 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, argument
2253 if (ndef && ret) {
2268 int ndef, const char *id_str)
2283 return wpas_wps_network_config_token(wpa_s, ndef, ssid);
2288 return wpas_ap_wps_nfc_config_token(wpa_s, ndef);
2294 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) argument
2297 return wps_nfc_token_build(ndef,
2303 return wps_nfc_token_gen(ndef,
2128 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument
2267 wpas_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *id_str) argument
2495 wpas_wps_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) argument
2524 wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument
2579 wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int cr, const char *uuid) argument
[all...]
H A Dp2p_supplicant.h158 int ndef);
160 int ndef, int tag);
H A Dctrl_iface.c1344 int ndef; local
1353 ndef = 0;
1355 ndef = 1;
1359 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos);
1377 int ndef; local
1382 ndef = 0;
1384 ndef = 1;
1388 buf = wpas_wps_nfc_token(wpa_s, ndef);
1441 int ndef)
1446 buf = wpas_wps_nfc_handover_req(wpa_s, ndef);
1439 wpas_ctrl_nfc_get_handover_req_wps(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument
1462 wpas_ctrl_nfc_get_handover_req_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef) argument
1492 int ndef; local
1524 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
1547 wpas_ctrl_nfc_get_handover_sel_p2p(struct wpa_supplicant *wpa_s, char *reply, size_t max_len, int ndef, int tag) argument
1575 int ndef; local
1937 int ndef; local
[all...]
H A Dap.c1199 int ndef)
1206 return hostapd_wps_nfc_config_token(hapd, ndef);
1211 int ndef)
1218 return hostapd_wps_nfc_hs_cr(hapd, ndef);
1198 wpas_ap_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef) argument
1210 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) argument
H A Dp2p_supplicant.c8480 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, argument
8511 if (ndef && ret) {
8552 int ndef)
8580 return wpas_p2p_nfc_handover(ndef, wsc, p2p);
8585 int ndef, int tag)
8613 return wpas_p2p_nfc_handover(ndef, wsc, p2p);
8551 wpas_p2p_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) argument
8584 wpas_p2p_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int tag) argument
H A DAndroid.mk753 OBJS += src/wps/ndef.c
/freebsd-11-stable/contrib/wpa/hostapd/
H A Dwps-ap-nfc.py15 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 Dctrl_iface.c262 int ndef; local
267 ndef = 0;
269 ndef = 1;
273 buf = hostapd_wps_nfc_config_token(hapd, ndef);
290 int ndef)
295 buf = hostapd_wps_nfc_token_gen(hapd, ndef);
341 int ndef; local
349 ndef = 0;
351 ndef = 1;
356 buf = hostapd_wps_nfc_hs_cr(hapd, ndef);
288 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwps_hostapd.h38 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 Dwps_hostapd.c1868 int ndef)
1877 if (ndef && ret) {
1890 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) argument
1918 if (ndef && ret) {
2025 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
2028 return wps_nfc_token_build(ndef,
2034 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1867 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/freebsd-11-stable/contrib/wpa/wpa_supplicant/examples/
H A Dwps-nfc.py17 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 Dp2p-nfc.py17 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...]
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Dtasn_enc.c79 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use
132 int i, seqcontlen, seqlen, ndef = 1; local
210 ndef = 2;
247 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
251 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
262 if (ndef == 2)
284 int i, ret, flags, ttag, tclass, ndef; local
319 /* if template and arguments require ndef, use it */
321 ndef = 2;
323 ndef
511 int ndef = 0; local
[all...]
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_common.c624 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, argument
633 if (ndef && ret) {
672 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
699 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
H A Dwps.h919 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey,
922 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
937 /* ndef.c */
/freebsd-11-stable/contrib/one-true-awk/
H A Drun.c228 int i, ncall, ndef; local
246 ndef = (int) fcn->fval; /* args in defn */
247 dprintf( ("calling %s, %d args (%d in defn), fp=%d\n", s, ncall, ndef, (int) (fp-frame)) );
248 if (ncall > ndef)
250 s, ncall, ndef);
251 if (ncall + ndef > NARGS)
252 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS);
267 for ( ; i < ndef; i++) { /* add null args for ones not provided */
282 fp->nargs = ndef; /* number defined with (excess are locals) */
289 for (i = 0; i < ndef;
[all...]

Completed in 190 milliseconds