Searched refs:ndef (Results 1 - 25 of 27) sorted by relevance

12

/external/wpa_supplicant_8/wpa_supplicant/
H A Dnfc_pw_token.c41 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));
76 wpabuf_free(ndef);
H A Dwps_supplicant.h64 int ndef, const char *uuid);
68 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef);
H A Dwps_supplicant.c1688 int ndef, const char *uuid)
1700 if (ndef && ret) {
1807 struct wpabuf * wpas_wps_nfc_token(struct wpa_supplicant *wpa_s, int ndef) argument
1809 return wps_nfc_token_gen(ndef, &wpa_s->conf->wps_nfc_dev_pw_id,
1687 wpas_wps_er_nfc_config_token(struct wpa_supplicant *wpa_s, int ndef, const char *uuid) argument
H A Dctrl_iface.c661 int ndef; local
666 ndef = 0;
668 ndef = 1;
672 buf = wpas_wps_nfc_token(wpa_s, ndef);
918 int ndef; local
929 ndef = 0;
931 ndef = 1;
935 buf = wpas_wps_er_nfc_config_token(wpa_s, ndef, uuid);
/external/openssl/crypto/asn1/
H A Dtasn_enc.c79 /* Top level i2d equivalents: the 'ndef' variant instructs the encoder
135 int i, seqcontlen, seqlen, ndef = 1; local
198 if (aclass & ASN1_TFLG_NDEF) ndef = 2;
235 seqlen = ASN1_object_size(ndef, seqcontlen, tag);
239 ASN1_put_object(out, ndef, seqcontlen, tag, aclass);
251 if (ndef == 2)
273 int i, ret, flags, ttag, tclass, ndef; local
312 /* if template and arguments require ndef, use it */
314 ndef = 2;
315 else ndef
510 int ndef = 0; local
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.h39 int ndef);
40 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1620 int ndef)
1628 if (ndef && ret) {
1641 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1643 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1619 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.h39 int ndef);
40 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1620 int ndef)
1628 if (ndef && ret) {
1641 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1643 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1619 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.h39 int ndef);
40 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef);
H A Dwps_hostapd.c1620 int ndef)
1628 if (ndef && ret) {
1641 struct wpabuf * hostapd_wps_nfc_token_gen(struct hostapd_data *hapd, int ndef) argument
1643 return wps_nfc_token_gen(ndef, &hapd->conf->wps_nfc_dev_pw_id,
1619 hostapd_wps_nfc_config_token(struct hostapd_data *hapd, int ndef) argument
/external/libnfc-nci/src/nfa/rw/
H A Dnfa_rw_act.c177 p_rw_data->ndef.cur_size, p_rw_data->ndef.max_size, p_rw_data->ndef.flags);
180 if (p_rw_data->ndef.status == NFC_STATUS_OK)
185 /* Store ndef properties */
187 conn_evt_data.ndef_detect.protocol = p_rw_data->ndef.protocol;
188 conn_evt_data.ndef_detect.cur_size = nfa_rw_cb.ndef_cur_size = p_rw_data->ndef.cur_size;
189 conn_evt_data.ndef_detect.max_size = nfa_rw_cb.ndef_max_size = p_rw_data->ndef.max_size;
190 conn_evt_data.ndef_detect.flags = p_rw_data->ndef.flags;
192 if (p_rw_data->ndef
[all...]
/external/libnfc-nci/src/nfc/tags/
H A Drw_i93.c1600 rw_data.ndef.status = NFC_STATUS_OK;
1601 rw_data.ndef.protocol = NFC_PROTOCOL_15693;
1602 rw_data.ndef.flags = 0;
1603 rw_data.ndef.flags |= RW_NDEF_FL_SUPPORTED;
1604 rw_data.ndef.flags |= RW_NDEF_FL_FORMATED;
1605 rw_data.ndef.flags |= RW_NDEF_FL_FORMATABLE;
1606 rw_data.ndef.cur_size = p_i93->ndef_length;
1610 rw_data.ndef.flags |= RW_NDEF_FL_READ_ONLY;
1611 rw_data.ndef.max_size = p_i93->ndef_length;
1615 rw_data.ndef
[all...]
H A Drw_t4t.c501 rw_data.ndef.flags = RW_NDEF_FL_UNKNOWN;
739 rw_data.ndef.status = NFC_STATUS_OK;
740 rw_data.ndef.protocol = NFC_PROTOCOL_ISO_DEP;
741 rw_data.ndef.max_size = (UINT32) (p_t4t->cc_file.ndef_fc.max_file_size - (UINT16) T4T_FILE_LENGTH_SIZE);
742 rw_data.ndef.cur_size = nlen;
743 rw_data.ndef.flags = RW_NDEF_FL_SUPPORTED | RW_NDEF_FL_FORMATED;
746 rw_data.ndef.flags |= RW_NDEF_FL_READ_ONLY;
H A Drw_t3t.c227 evt_data.ndef.flags = RW_NDEF_FL_UNKNOWN;
293 /* Handle POLL ntf in response to ndef detection */
420 /* POLL timeout for ndef detection */
600 /* If starting NDEF write: set WriteF=ON, and ln=current ndef length */
606 /* If finishing NDEF write: set WriteF=OFF, and ln=new ndef len */
669 /* Calculate number of ndef bytes remaining to write */
673 ndef_blocks_remaining = (UINT16) ((ndef_bytes_remaining+15) >> 4); /* ndef blocks remaining (rounded upward) */
812 /* Calculate number of ndef bytes remaining to read */
816 ndef_blocks_remaining = (UINT16) ((ndef_bytes_remaining+15) >> 4); /* ndef blocks remaining (rounded upward) */
1130 /* Get checksum from received ndef attribut
[all...]
/external/wpa_supplicant_8/hostapd/
H A Dctrl_iface.c309 int ndef; local
314 ndef = 0;
316 ndef = 1;
320 buf = hostapd_wps_nfc_config_token(hapd, ndef);
337 int ndef)
342 buf = hostapd_wps_nfc_token_gen(hapd, ndef);
335 hostapd_ctrl_iface_wps_nfc_token_gen(struct hostapd_data *hapd, char *reply, size_t max_len, int ndef) argument
H A DAndroid.mk409 OBJS += src/wps/ndef.c
H A DMakefile368 OBJS += ../src/wps/ndef.o
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_common.c749 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
784 if (ndef && ret) {
H A Dwps.h854 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
858 /* ndef.c */
/external/wpa_supplicant_8/src/wps/
H A Dwps_common.c749 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
784 if (ndef && ret) {
H A Dwps.h854 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
858 /* ndef.c */
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_common.c749 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey, argument
784 if (ndef && ret) {
H A Dwps.h854 struct wpabuf * wps_nfc_token_gen(int ndef, int *id, struct wpabuf **pubkey,
858 /* ndef.c */
/external/libnfc-nci/src/nfc/include/
H A Drw_api.h130 #define RW_NDEF_FL_UNKNOWN 0x08 /* Unable to find if tag is ndef capable/formated/read only */
239 tRW_DETECT_NDEF_DATA ndef; /* The information of detected NDEF data */ member in union:__anon8475
611 ** NFC_STATUS_OK: ndef detection procedure started
629 ** NFC_STATUS_OK: ndef detection procedure started
798 ** - If felica-lite code then poll for ndef (12fc)

Completed in 374 milliseconds

12