/third_party/node/deps/openssl/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 33 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 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 264 /* if template and arguments require ndef, use it */ in asn1_template_ex_i2d() 266 ndef = 2; in asn1_template_ex_i2d() 268 ndef in asn1_template_ex_i2d() 474 int ndef = 0; asn1_i2d_ex_primitive() local [all...] |
/third_party/openssl/crypto/asn1/ |
H A D | tasn_enc.c | 33 * Top level i2d equivalents: the 'ndef' variant instructs the encoder to use 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 264 /* if template and arguments require ndef, use it */ in asn1_template_ex_i2d() 266 ndef = 2; in asn1_template_ex_i2d() 268 ndef in asn1_template_ex_i2d() 474 int ndef = 0; asn1_i2d_ex_primitive() local [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 17 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...] |
H A D | wps-nfc.py | 17 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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/examples/ |
H A D | p2p-nfc.py | 17 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...] |
H A D | wps-nfc.py | 17 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 D | dpp-nfc.py | 20 import ndef namespace 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) 428 not isinstance(message[0], ndef.HandoverSelectRecord): 446 if isinstance(carrier, ndef [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/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); 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 D | ap.h | 59 int ndef); 62 int ndef); 66 int ndef) in wpas_ap_wps_nfc_handover_sel() 65 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) wpas_ap_wps_nfc_handover_sel() argument
|
H A D | wps_supplicant.c | 2129 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() 2146 if (ndef && ret) { in wpas_wps_er_nfc_config_token() 2242 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, in wpas_wps_network_config_token() argument 2253 if (ndef && ret) { in wpas_wps_network_config_token() 2268 int ndef, const char *id_str) in wpas_wps_nfc_config_token() 2283 return wpas_wps_network_config_token(wpa_s, ndef, ssid); in wpas_wps_nfc_config_token() 2288 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); in wpas_wps_nfc_config_token() 2294 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) in wpas_wps_nfc_token() argument 2297 return wps_nfc_token_build(ndef, in wpas_wps_nfc_token() 2303 return wps_nfc_token_gen(ndef, in wpas_wps_nfc_token() 2128 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) wpas_wps_er_nfc_config_token() argument 2267 wpas_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *id_str) wpas_wps_nfc_config_token() argument 2495 wpas_wps_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) wpas_wps_nfc_handover_req() argument 2524 wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) wpas_wps_er_nfc_handover_sel() argument 2579 wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int cr, const char *uuid) wpas_wps_nfc_handover_sel() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 59 int ndef); 62 int ndef); 66 int ndef) in wpas_ap_wps_nfc_handover_sel() 65 wpas_ap_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef) wpas_ap_wps_nfc_handover_sel() argument
|
H A D | wps_supplicant.c | 2188 int ndef, const char *uuid) in wpas_wps_er_nfc_config_token() 2205 if (ndef && ret) { in wpas_wps_er_nfc_config_token() 2311 wpas_wps_network_config_token(struct wpa_supplicant *wpa_s, int ndef, in wpas_wps_network_config_token() argument 2322 if (ndef && ret) { in wpas_wps_network_config_token() 2337 int ndef, const char *id_str) in wpas_wps_nfc_config_token() 2352 return wpas_wps_network_config_token(wpa_s, ndef, ssid); in wpas_wps_nfc_config_token() 2357 return wpas_ap_wps_nfc_config_token(wpa_s, ndef); in wpas_wps_nfc_config_token() 2363 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) in wpas_wps_nfc_token() argument 2366 return wps_nfc_token_build(ndef, in wpas_wps_nfc_token() 2372 return wps_nfc_token_gen(ndef, in wpas_wps_nfc_token() 2187 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) wpas_wps_er_nfc_config_token() argument 2336 wpas_wps_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *id_str) wpas_wps_nfc_config_token() argument 2564 wpas_wps_nfc_handover_req(struct wpa_supplicant *wpa_s, int ndef) wpas_wps_nfc_handover_req() argument 2593 wpas_wps_er_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) wpas_wps_er_nfc_handover_sel() argument 2648 wpas_wps_nfc_handover_sel(struct wpa_supplicant *wpa_s, int ndef, int cr, const char *uuid) wpas_wps_nfc_handover_sel() argument [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/ |
H A D | wps-ap-nfc.py | 15 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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/ |
H A D | wps-ap-nfc.py | 15 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...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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 | 2062 int ndef) in hostapd_wps_nfc_config_token() 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() 2061 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) hostapd_wps_nfc_config_token() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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 | 1868 int ndef) in hostapd_wps_nfc_config_token() 1877 if (ndef && ret) { in hostapd_wps_nfc_config_token() 1890 struct wpabuf * hostapd_wps_nfc_hs_cr(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_hs_cr() argument 1918 if (ndef && ret) { in hostapd_wps_nfc_hs_cr() 2025 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) in hostapd_wps_nfc_token_gen() argument 2028 return wps_nfc_token_build(ndef, in hostapd_wps_nfc_token_gen() 2034 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id, in hostapd_wps_nfc_token_gen() 1867 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) hostapd_wps_nfc_config_token() argument
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/ |
H A D | Makefile | 19 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()
|