| /freebsd/crypto/openssl/crypto/asn1/ |
| H A D | tasn_enc.c | 85 int i, seqcontlen, seqlen, ndef = 1; in ASN1_item_ex_i2d() local 149 ndef = 2; in ASN1_item_ex_i2d() 186 seqlen = ASN1_object_size(ndef, seqcontlen, tag); in ASN1_item_ex_i2d() 190 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); in ASN1_item_ex_i2d() 201 if (ndef == 2) in ASN1_item_ex_i2d() 217 int i, ret, ttag, tclass, ndef, len; in asn1_template_ex_i2d() local 263 ndef = 2; in asn1_template_ex_i2d() 265 ndef = 1; in asn1_template_ex_i2d() 314 sklen = ASN1_object_size(ndef, skcontlen, sktag); in asn1_template_ex_i2d() 319 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 | 268 int ndef; in hostapd_ctrl_iface_wps_nfc_config_token() local 273 ndef = 0; in hostapd_ctrl_iface_wps_nfc_config_token() 275 ndef = 1; in hostapd_ctrl_iface_wps_nfc_config_token() 279 buf = hostapd_wps_nfc_config_token(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_config_token() 296 int ndef) in hostapd_ctrl_iface_wps_nfc_token_gen() argument 301 buf = hostapd_wps_nfc_token_gen(hapd, ndef); in hostapd_ctrl_iface_wps_nfc_token_gen() 347 int ndef; in hostapd_ctrl_iface_nfc_get_handover_sel() local 355 ndef = 0; in hostapd_ctrl_iface_nfc_get_handover_sel() 357 ndef = 1; in hostapd_ctrl_iface_nfc_get_handover_sel() 362 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 | 2206 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() argument 2223 if (ndef && ret) { in wpas_wps_er_nfc_config_token() 2329 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, in wpas_wps_network_config_token() argument 2340 if (ndef && ret) { in wpas_wps_network_config_token() 2355 int ndef, const char *id_str) in wpas_wps_nfc_config_token() argument 2370 return wpas_wps_network_config_token(wpa_s, ndef, ssid); in wpas_wps_nfc_config_token() 2375 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); in wpas_wps_nfc_config_token() 2381 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) in wpas_wps_nfc_token() argument 2384 return wps_nfc_token_build(ndef, in wpas_wps_nfc_token() 2390 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 | 175 int ndef); 177 int ndef, int tag);
|
| H A D | ctrl_iface.c | 1589 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() local 1598 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1600 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1604 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); in wpa_supplicant_ctrl_iface_wps_nfc_config_token() 1622 int ndef; in wpa_supplicant_ctrl_iface_wps_nfc_token() local 1627 ndef = 0; in wpa_supplicant_ctrl_iface_wps_nfc_token() 1629 ndef = 1; in wpa_supplicant_ctrl_iface_wps_nfc_token() 1633 buf = wpas_wps_nfc_token(wpa_s, ndef); in wpa_supplicant_ctrl_iface_wps_nfc_token() 1686 int ndef) in wpas_ctrl_nfc_get_handover_req_wps() argument 1691 buf = wpas_wps_nfc_handover_req(wpa_s, ndef); in wpas_ctrl_nfc_get_handover_req_wps() [all …]
|
| H A D | ap.c | 1501 int ndef) in wpas_ap_wps_nfc_config_token() argument 1508 return hostapd_wps_nfc_config_token(hapd, ndef); in wpas_ap_wps_nfc_config_token() 1513 int ndef) in wpas_ap_wps_nfc_handover_sel() argument 1520 return hostapd_wps_nfc_hs_cr(hapd, ndef); in wpas_ap_wps_nfc_handover_sel()
|
| H A D | p2p_supplicant.c | 10582 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, in wpas_p2p_nfc_handover() argument 10613 if (ndef && ret) { in wpas_p2p_nfc_handover() 10654 int ndef) in wpas_p2p_nfc_handover_req() argument 10684 return wpas_p2p_nfc_handover(ndef, wsc, p2p); in wpas_p2p_nfc_handover_req() 10689 int ndef, int tag) in wpas_p2p_nfc_handover_sel() argument 10719 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 | 2065 int ndef) in hostapd_wps_nfc_config_token() argument 2074 if (ndef && ret) { in hostapd_wps_nfc_config_token() 2087 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_hs_cr() argument 2115 if (ndef && ret) { in hostapd_wps_nfc_hs_cr() 2222 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_token_gen() argument 2225 return wps_nfc_token_build(ndef, in hostapd_wps_nfc_token_gen() 2231 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 | 99 AH_BOTTOM([#endif // ndef EXPAT_CONFIG_H])
|
| /freebsd/share/misc/ |
| H A D | committers-src.dot | 162 def [label="Konrad Witaszczyk\ndef@FreeBSD.org\n2016/11/02"]
|