Home
last modified time | relevance | path

Searched refs:ndef (Results 1 – 23 of 23) sorted by relevance

/freebsd-13.1/crypto/openssl/crypto/asn1/
H A Dtasn_enc.c86 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local
148 ndef = 2; in ASN1_item_ex_i2d()
200 if (ndef == 2) in ASN1_item_ex_i2d()
216 int i, ret, flags, ttag, tclass, ndef; in asn1_template_ex_i2d() local
263 ndef = 2; in asn1_template_ex_i2d()
265 ndef = 1; in asn1_template_ex_i2d()
332 if (ndef == 2) { in asn1_template_ex_i2d()
353 if (ndef == 2) in asn1_template_ex_i2d()
453 int ndef = 0; in asn1_i2d_ex_primitive() local
481 ndef = 2; in asn1_i2d_ex_primitive()
[all …]
/freebsd-13.1/contrib/wpa/wpa_supplicant/
H A Dnfc_pw_token.c41 struct wpabuf *buf = NULL, *ndef = NULL; in main() local
57 ndef = ndef_build_wifi(buf); in main()
58 if (ndef == NULL) in main()
65 wpa_snprintf_hex_uppercase(txt, sizeof(txt), wpabuf_head(ndef), in main()
66 wpabuf_len(ndef)); in main()
76 wpabuf_free(ndef); in main()
H A Dwps_supplicant.h62 int ndef, const char *uuid);
67 int ndef, const char *id_str);
68 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef);
77 int ndef);
79 int ndef, int cr, const char *uuid);
H A Dap.h59 int ndef);
62 int ndef);
66 int ndef) in wpas_ap_wps_nfc_handover_sel() argument
H A Dwps_supplicant.c2169 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() argument
2186 if (ndef && ret) { in wpas_wps_er_nfc_config_token()
2303 if (ndef && ret) { in wpas_wps_network_config_token()
2318 int ndef, const char *id_str) in wpas_wps_nfc_config_token() argument
2338 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); in wpas_wps_nfc_config_token()
2347 return wps_nfc_token_build(ndef, in wpas_wps_nfc_token()
2546 int ndef) in wpas_wps_nfc_handover_req() argument
2558 if (ndef && ret) { in wpas_wps_nfc_handover_req()
2612 if (ndef && ret) { in wpas_wps_er_nfc_handover_sel()
2630 int ndef, int cr, const char *uuid) in wpas_wps_nfc_handover_sel() argument
[all …]
H A Dp2p_supplicant.h165 int ndef);
167 int ndef, int tag);
H A Dctrl_iface.c1514 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() local
1523 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_config_token()
1525 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_config_token()
1547 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_token() local
1552 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_token()
1554 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_token()
1662 int ndef; in wpas_ctrl_nfc_get_handover_req() local
1670 ndef = 0; in wpas_ctrl_nfc_get_handover_req()
1672 ndef = 1; in wpas_ctrl_nfc_get_handover_req()
1745 int ndef; in wpas_ctrl_nfc_get_handover_sel() local
[all …]
H A Dap.c1425 int ndef) in wpas_ap_wps_nfc_config_token() argument
1432 return hostapd_wps_nfc_config_token(hapd, ndef); in wpas_ap_wps_nfc_config_token()
1437 int ndef) in wpas_ap_wps_nfc_handover_sel() argument
1444 return hostapd_wps_nfc_hs_cr(hapd, ndef); in wpas_ap_wps_nfc_handover_sel()
H A Dp2p_supplicant.c8989 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, in wpas_p2p_nfc_handover() argument
9020 if (ndef && ret) { in wpas_p2p_nfc_handover()
9061 int ndef) in wpas_p2p_nfc_handover_req() argument
9089 return wpas_p2p_nfc_handover(ndef, wsc, p2p); in wpas_p2p_nfc_handover_req()
9094 int ndef, int tag) in wpas_p2p_nfc_handover_sel() argument
9122 return wpas_p2p_nfc_handover(ndef, wsc, p2p); in wpas_p2p_nfc_handover_sel()
/freebsd-13.1/contrib/wpa/wpa_supplicant/examples/
H A Dp2p-nfc.py17 import nfc.ndef
164 datamsg = nfc.ndef.Message(data)
178 datamsg = nfc.ndef.Message(data)
276 except nfc.ndef.DecodeError as e:
320 message = nfc.ndef.Message(data);
397 if len(tag.ndef.message):
398 for record in tag.ndef.message:
420 tag.ndef.message = str(p2p_sel_data)
441 message = nfc.ndef.Message(data);
458 if tag.ndef:
[all …]
H A Dwps-nfc.py17 import nfc.ndef
149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
155 except nfc.ndef.DecodeError as e:
188 message = nfc.ndef.Message(data);
214 datamsg = nfc.ndef.Message(data)
262 message = nfc.ndef.HandoverSelectMessage(message)
297 if len(tag.ndef.message):
298 for record in tag.ndef.message:
321 tag.ndef.message = str(write_data)
375 if tag.ndef:
[all …]
H A Ddpp-nfc.py20 import ndef
320 except ndef.DecodeError:
345 uri = ndef.UriRecord(uri)
757 for record in tag.ndef.records:
783 if not tag.ndef:
786 if not tag.ndef.is_writeable:
794 tag.ndef.records = dpp_tag_data
818 uri = ndef.UriRecord(data)
836 uri = ndef.UriRecord(data)
854 if tag.ndef:
[all …]
/freebsd-13.1/contrib/wpa/hostapd/
H A Dwps-ap-nfc.py15 import nfc.ndef
120 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12")
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.message = str(write_data)
235 if tag.ndef:
[all …]
H A Dctrl_iface.c264 int ndef; in hostapd_ctrl_iface_wps_nfc_config_token() local
269 ndef = 0; in hostapd_ctrl_iface_wps_nfc_config_token()
271 ndef = 1; in hostapd_ctrl_iface_wps_nfc_config_token()
275 buf = hostapd_wps_nfc_config_token(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_config_token()
292 int ndef) in hostapd_ctrl_iface_wps_nfc_token_gen() argument
297 buf = hostapd_wps_nfc_token_gen(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_token_gen()
343 int ndef; in hostapd_ctrl_iface_nfc_get_handover_sel() local
351 ndef = 0; in hostapd_ctrl_iface_nfc_get_handover_sel()
353 ndef = 1; in hostapd_ctrl_iface_nfc_get_handover_sel()
358 buf = hostapd_wps_nfc_hs_cr(hapd, ndef); in hostapd_ctrl_iface_nfc_get_handover_sel()
/freebsd-13.1/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.c2062 int ndef) in hostapd_wps_nfc_config_token() argument
2071 if (ndef && ret) { in hostapd_wps_nfc_config_token()
2084 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_hs_cr() argument
2112 if (ndef && ret) { in hostapd_wps_nfc_hs_cr()
2219 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_token_gen() argument
2222 return wps_nfc_token_build(ndef, in hostapd_wps_nfc_token_gen()
2228 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, in hostapd_wps_nfc_token_gen()
/freebsd-13.1/contrib/wpa/src/wps/
H A DMakefile9 ndef.o \
H A Dwps_common.c624 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, in wps_nfc_token_build() argument
633 if (ndef && ret) { in wps_nfc_token_build()
672 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, in wps_nfc_token_gen() argument
699 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw); in wps_nfc_token_gen()
H A Dwps.h932 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey,
935 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
/freebsd-13.1/contrib/one-true-awk/
H A Drun.c231 int i, ncall, ndef; in call() local
249 ndef = (int) fcn->fval; /* args in defn */ in call()
250 DPRINTF("calling %s, %d args (%d in defn), frp=%d\n", s, ncall, ndef, (int) (frp-frame)); in call()
251 if (ncall > ndef) in call()
253 s, ncall, ndef); in call()
254 if (ncall + ndef > NARGS) in call()
255 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS); in call()
270 for ( ; i < ndef; i++) { /* add null args for ones not provided */ in call()
284 frp->nargs = ndef; /* number defined with (excess are locals) */ in call()
291 for (i = 0; i < ndef; i++) { in call()
/freebsd-13.1/tools/regression/usr.bin/env/
H A Dregress-env.rgdata151 sb_args:-STESTVAR='abc\ndef\nghi' /bin/sh
153 stdout:A-abc\ndef\nghi-Z
156 sb_args:-STESTVAR="abc\ndef\nghi" /bin/sh
/freebsd-13.1/contrib/apr/include/
H A Dapr.h.in161 #endif /* ndef _WINDOWS_ */
/freebsd-13.1/share/misc/
H A Dcommitters-src.dot153 def [label="Konrad Witaszczyk\ndef@FreeBSD.org\n2016/11/02"]