/freebsd/crypto/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 87 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local 151 ndef = 2; in ASN1_item_ex_i2d() 188 seqlen = ASN1_object_size(ndef, seqcontlen, tag); in ASN1_item_ex_i2d() 192 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); in ASN1_item_ex_i2d() 203 if (ndef == 2) in ASN1_item_ex_i2d() 220 int i, ret, ttag, tclass, ndef, len; in asn1_template_ex_i2d() local 266 ndef = 2; in asn1_template_ex_i2d() 268 ndef = 1; in asn1_template_ex_i2d() 317 sklen = ASN1_object_size(ndef, skcontlen, sktag); in asn1_template_ex_i2d() 322 ret = ASN1_object_size(ndef, sklen, ttag); in asn1_template_ex_i2d() [all …]
|
/freebsd/contrib/wpa/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 17 import nfc.ndef 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.Message(data); [all …]
|
H A D | wps-nfc.py | 17 import nfc.ndef 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) 297 if len(tag.ndef.message): [all …]
|
H A D | dpp-nfc.py | 20 import ndef 291 records = list(ndef.message_decoder(msg, 'relax')) 294 return list(ndef.message_decoder(msg, 'relax')) 318 list(ndef.message_decoder(msg, 'strict', {})) 320 except ndef.DecodeError: 345 uri = ndef.UriRecord(uri) 347 carrier = ndef.Record('application/vnd.wfa.dpp', 'A', uri.data) 356 hr = ndef.HandoverRequestRecord(version="1.4", crn=crn) 429 not isinstance(message[0], ndef.HandoverSelectRecord): 447 if isinstance(carrier, ndef.HandoverSelectRecord): [all …]
|
/freebsd/contrib/wpa/hostapd/ |
H A D | wps-ap-nfc.py | 15 import nfc.ndef 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.message = str(write_data) [all …]
|
H A D | ctrl_iface.c | 267 int ndef; in hostapd_ctrl_iface_wps_nfc_config_token() local 272 ndef = 0; in hostapd_ctrl_iface_wps_nfc_config_token() 274 ndef = 1; in hostapd_ctrl_iface_wps_nfc_config_token() 278 buf = hostapd_wps_nfc_config_token(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_config_token() 295 int ndef) in hostapd_ctrl_iface_wps_nfc_token_gen() argument 300 buf = hostapd_wps_nfc_token_gen(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_token_gen() 346 int ndef; in hostapd_ctrl_iface_nfc_get_handover_sel() local 354 ndef = 0; in hostapd_ctrl_iface_nfc_get_handover_sel() 356 ndef = 1; in hostapd_ctrl_iface_nfc_get_handover_sel() 361 buf = hostapd_wps_nfc_hs_cr(hapd, ndef); in hostapd_ctrl_iface_nfc_get_handover_sel()
|
/freebsd/contrib/wpa/wpa_supplicant/ |
H A D | nfc_pw_token.c | 41 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 D | wps_supplicant.h | 62 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 D | ap.h | 79 int ndef); 82 int ndef); 86 int ndef) in wpas_ap_wps_nfc_handover_sel() argument
|
H A D | wps_supplicant.c | 2205 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() argument 2222 if (ndef && ret) { in wpas_wps_er_nfc_config_token() 2328 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, in wpas_wps_network_config_token() argument 2339 if (ndef && ret) { in wpas_wps_network_config_token() 2354 int ndef, const char *id_str) in wpas_wps_nfc_config_token() argument 2369 return wpas_wps_network_config_token(wpa_s, ndef, ssid); in wpas_wps_nfc_config_token() 2374 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); in wpas_wps_nfc_config_token() 2380 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) in wpas_wps_nfc_token() argument 2383 return wps_nfc_token_build(ndef, in wpas_wps_nfc_token() 2389 return wps_nfc_token_gen(ndef, &wpa_s->conf->wps_nfc_dev_pw_id, in wpas_wps_nfc_token() [all …]
|
H A D | p2p_supplicant.h | 169 int ndef); 171 int ndef, int tag);
|
H A D | ctrl_iface.c | 1554 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() local 1563 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1565 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1569 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1587 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_token() local 1592 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_token() 1594 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_token() 1598 buf = wpas_wps_nfc_token(wpa_s, ndef); in wpa_supplicant_ctrl_iface_wps_nfc_token() 1651 int ndef) in wpas_ctrl_nfc_get_handover_req_wps() argument 1656 buf = wpas_wps_nfc_handover_req(wpa_s, ndef); in wpas_ctrl_nfc_get_handover_req_wps() [all …]
|
H A D | ap.c | 1483 int ndef) in wpas_ap_wps_nfc_config_token() argument 1490 return hostapd_wps_nfc_config_token(hapd, ndef); in wpas_ap_wps_nfc_config_token() 1495 int ndef) in wpas_ap_wps_nfc_handover_sel() argument 1502 return hostapd_wps_nfc_hs_cr(hapd, ndef); in wpas_ap_wps_nfc_handover_sel()
|
H A D | p2p_supplicant.c | 9120 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, in wpas_p2p_nfc_handover() argument 9151 if (ndef && ret) { in wpas_p2p_nfc_handover() 9192 int ndef) in wpas_p2p_nfc_handover_req() argument 9220 return wpas_p2p_nfc_handover(ndef, wsc, p2p); in wpas_p2p_nfc_handover_req() 9225 int ndef, int tag) in wpas_p2p_nfc_handover_sel() argument 9253 return wpas_p2p_nfc_handover(ndef, wsc, p2p); in wpas_p2p_nfc_handover_sel()
|
/freebsd/contrib/wpa/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 | 2063 int ndef) in hostapd_wps_nfc_config_token() argument 2072 if (ndef && ret) { in hostapd_wps_nfc_config_token() 2085 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_hs_cr() argument 2113 if (ndef && ret) { in hostapd_wps_nfc_hs_cr() 2220 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_token_gen() argument 2223 return wps_nfc_token_build(ndef, in hostapd_wps_nfc_token_gen() 2229 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, in hostapd_wps_nfc_token_gen()
|
/freebsd/contrib/wpa/src/wps/ |
H A D | Makefile | 9 ndef.o \
|
H A D | wps_common.c | 624 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 D | wps.h | 937 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, 940 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
|
/freebsd/contrib/one-true-awk/ |
H A D | run.c | 233 int i, ncall, ndef; in call() local 251 ndef = (int) fcn->fval; /* args in defn */ in call() 252 DPRINTF("calling %s, %d args (%d in defn), frp=%d\n", s, ncall, ndef, (int) (frp-frame)); in call() 253 if (ncall > ndef) in call() 255 s, ncall, ndef); in call() 256 if (ncall + ndef > NARGS) in call() 257 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS); in call() 272 for ( ; i < ndef; i++) { /* add null args for ones not provided */ in call() 286 frp->nargs = ndef; /* number defined with (excess are locals) */ in call() 293 for (i = 0; i < ndef; i++) { in call()
|
/freebsd/tools/regression/usr.bin/env/ |
H A D | regress-env.rgdata | 150 sb_args:-STESTVAR='abc\ndef\nghi' /bin/sh 152 stdout:A-abc\ndef\nghi-Z 155 sb_args:-STESTVAR="abc\ndef\nghi" /bin/sh
|
/freebsd/contrib/expat/ |
H A D | expat_config.h.in | 142 #endif // ndef EXPAT_CONFIG_H
|
H A D | configure.ac | 94 AH_BOTTOM([#endif // ndef EXPAT_CONFIG_H])
|
/freebsd/share/misc/ |
H A D | committers-src.dot | 159 def [label="Konrad Witaszczyk\ndef@FreeBSD.org\n2016/11/02"]
|