| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| nfc_pw_token.c | 41 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)); 67 printf("#NDEF=%s\n", txt); 76 wpabuf_free(ndef);
|
| 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);
|
| ap.h | 79 int ndef); 82 int ndef); 86 int ndef)
|
| wps_supplicant.c | 2205 int ndef, const char *uuid) 2222 if (ndef && ret) { 2328 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, 2339 if (ndef && ret) { 2354 int ndef, const char *id_str) 2369 return wpas_wps_network_config_token(wpa_s, ndef, ssid); 2374 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); 2380 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) 2383 return wps_nfc_token_build(ndef, 2389 return wps_nfc_token_gen(ndef, &wpa_s->conf->wps_nfc_dev_pw_id [all...] |
| p2p_supplicant.h | 169 int ndef); 171 int ndef, int tag);
|
| ctrl_iface.c | 1557 int ndef; local 1566 ndef = 0; 1567 else if (os_strcmp(cmd, "NDEF") == 0) 1568 ndef = 1; 1572 buf = wpas_wps_nfc_config_token(wpa_s, ndef, pos); 1590 int ndef; local 1595 ndef = 0; 1596 else if (os_strcmp(cmd, "NDEF") == 0) 1597 ndef = 1; 1601 buf = wpas_wps_nfc_token(wpa_s, ndef); 1705 int ndef; local 1788 int ndef; local 2150 int ndef; local [all...] |
| ap.c | 1483 int ndef) 1490 return hostapd_wps_nfc_config_token(hapd, ndef); 1495 int ndef) 1502 return hostapd_wps_nfc_hs_cr(hapd, ndef);
|
| p2p_supplicant.c | 9120 static struct wpabuf * wpas_p2p_nfc_handover(int ndef, struct wpabuf *wsc, 9151 if (ndef && ret) { 9156 wpa_printf(MSG_DEBUG, "P2P: Failed to NDEF encapsulate handover request"); 9192 int ndef) 9220 return wpas_p2p_nfc_handover(ndef, wsc, p2p); 9225 int ndef, int tag) 9253 return wpas_p2p_nfc_handover(ndef, wsc, p2p); 9586 wpa_printf(MSG_DEBUG, "P2P: Could not parse NDEF");
|
| /src/external/bsd/wpa/dist/hostapd/ |
| wps-ap-nfc.py | 15 import nfc.ndef 75 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF") 85 ret = wpas.request("WPS_NFC_TOKEN NDEF") 95 ret = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR") 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) [all...] |
| ctrl_iface.c | 267 int ndef; local 272 ndef = 0; 273 else if (os_strcmp(cmd, "NDEF") == 0) 274 ndef = 1; 278 buf = hostapd_wps_nfc_config_token(hapd, ndef); 295 int ndef) 300 buf = hostapd_wps_nfc_token_gen(hapd, ndef); 323 if (os_strcmp(cmd, "NDEF") == 0) 346 int ndef; local 354 ndef = 0 [all...] |
| Android.mk | 523 OBJS += src/wps/ndef.c
|
| /src/external/bsd/wpa/dist/src/ap/ |
| 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);
|
| wps_hostapd.c | 2047 /* Assume this contains full NDEF record */ 2050 wpa_printf(MSG_DEBUG, "WPS: Could not parse NDEF"); 2063 int ndef) 2072 if (ndef && ret) { 2085 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) 2113 if (ndef && ret) { 2220 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) 2223 return wps_nfc_token_build(ndef, 2229 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
|
| /src/external/bsd/wpa/dist/src/wps/ |
| Makefile | 9 ndef.o \
|
| wps_common.c | 624 struct wpabuf * wps_nfc_token_build(int ndef, int id, struct wpabuf *pubkey, 633 if (ndef && ret) { 672 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, 699 return wps_nfc_token_build(ndef, *id, *pubkey, *dev_pw);
|
| 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, 955 /* ndef.c */
|
| /src/crypto/external/apache2/openssl/dist/crypto/asn1/ |
| tasn_enc.c | 33 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 85 int i, seqcontlen, seqlen, ndef = 1; local 149 ndef = 2; 186 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 190 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 201 if (ndef == 2) 217 int i, ret, ttag, tclass, ndef, len; local 261 /* if template and arguments require ndef, use it */ 263 ndef = 2; 265 ndef = 1 467 int ndef = 0; local [all...] |
| /src/crypto/external/bsd/openssl/dist/crypto/asn1/ |
| tasn_enc.c | 33 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 87 int i, seqcontlen, seqlen, ndef = 1; local 151 ndef = 2; 188 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 192 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 203 if (ndef == 2) 220 int i, ret, ttag, tclass, ndef, len; local 264 /* if template and arguments require ndef, use it */ 266 ndef = 2; 268 ndef = 1 474 int ndef = 0; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/crypto/asn1/ |
| tasn_enc.c | 32 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 86 int i, seqcontlen, seqlen, ndef = 1; local 148 ndef = 2; 185 seqlen = ASN1_object_size(ndef, seqcontlen, tag); 189 ASN1_put_object(out, ndef, seqcontlen, tag, aclass); 200 if (ndef == 2) 216 int i, ret, flags, ttag, tclass, ndef; local 261 /* if template and arguments require ndef, use it */ 263 ndef = 2; 265 ndef = 1 453 int ndef = 0; local [all...] |
| /src/external/bsd/wpa/dist/wpa_supplicant/examples/ |
| p2p-nfc.py | 17 import nfc.ndef 94 res = wpas.request("NFC_GET_HANDOVER_REQ NDEF P2P-CR").rstrip() 103 res = wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR").rstrip() 114 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF P2P-CR-TAG").rstrip() 116 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF P2P-CR").rstrip() 126 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR"); 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 [all...] |
| wps-nfc.py | 17 import nfc.ndef 79 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF " + id) 81 ret = wpas.request("WPS_NFC_CONFIG_TOKEN NDEF") 91 ret = wpas.request("WPS_ER_NFC_CONFIG_TOKEN NDEF " + uuid) 101 ret = wpas.request("WPS_NFC_TOKEN NDEF") 110 ret = wpas.request("NFC_GET_HANDOVER_REQ NDEF WPS-CR") 121 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR").rstrip() 123 res = wpas.request("NFC_GET_HANDOVER_SEL NDEF WPS-CR " + uuid).rstrip() 149 response = nfc.ndef.Message("\xd1\x02\x01Hs\x12") 154 request = nfc.ndef.HandoverRequestMessage(request [all...] |
| 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...] |
| /src/games/atc/ |
| grammar.y | 100 | ndef 117 ndef: label
|
| /src/external/historical/nawk/dist/ |
| run.c | 236 int i, ncall, ndef; local 254 ndef = (int) fcn->fval; /* args in defn */ 255 DPRINTF("calling %s, %d args (%d in defn), frp=%d\n", s, ncall, ndef, (int) (frp-frame)); 256 if (ncall > ndef) 258 s, ncall, ndef); 259 if (ncall + ndef > NARGS) 260 FATAL("function %s has %d arguments, limit %d", s, ncall+ndef, NARGS); 275 for ( ; i < ndef; i++) { /* add null args for ones not provided */ 289 frp->nargs = ndef; /* number defined with (excess are locals) */ 296 for (i = 0; i < ndef; i++) [all...] |
| /src/external/mpl/dhcp/dist/keama/ |
| confparse.c | 473 struct element *def, *ndef; local 478 TAILQ_FOREACH_SAFE(def, &opt_def->value.list_value, ndef) {
|