Searched refs:cred (Results 1 - 25 of 117) sorted by relevance

12345

/external/wpa_supplicant_8/hostapd/src/wps/
H A Dwps_attr_process.c83 static int wps_process_cred_network_idx(struct wps_credential *cred, argument
98 static int wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, argument
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
121 static int wps_process_cred_auth_type(struct wps_credential *cred, argument
130 cred->auth_type = WPA_GET_BE16(auth_type);
132 cred->auth_type);
138 static int wps_process_cred_encr_type(struct wps_credential *cred, argument
147 cred
155 wps_process_cred_network_key_idx(struct wps_credential *cred, const u8 *key_idx) argument
168 wps_process_cred_network_key(struct wps_credential *cred, const u8 *key, size_t key_len) argument
194 wps_process_cred_mac_addr(struct wps_credential *cred, const u8 *mac_addr) argument
210 wps_workaround_cred_key(struct wps_credential *cred) argument
236 wps_process_cred(struct wps_parse_attr *attr, struct wps_credential *cred) argument
256 wps_process_ap_settings(struct wps_parse_attr *attr, struct wps_credential *cred) argument
[all...]
/external/wpa_supplicant_8/src/wps/
H A Dwps_attr_process.c83 static int wps_process_cred_network_idx(struct wps_credential *cred, argument
98 static int wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, argument
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
121 static int wps_process_cred_auth_type(struct wps_credential *cred, argument
130 cred->auth_type = WPA_GET_BE16(auth_type);
132 cred->auth_type);
138 static int wps_process_cred_encr_type(struct wps_credential *cred, argument
147 cred
155 wps_process_cred_network_key_idx(struct wps_credential *cred, const u8 *key_idx) argument
168 wps_process_cred_network_key(struct wps_credential *cred, const u8 *key, size_t key_len) argument
194 wps_process_cred_mac_addr(struct wps_credential *cred, const u8 *mac_addr) argument
210 wps_workaround_cred_key(struct wps_credential *cred) argument
236 wps_process_cred(struct wps_parse_attr *attr, struct wps_credential *cred) argument
256 wps_process_ap_settings(struct wps_parse_attr *attr, struct wps_credential *cred) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dwps_attr_process.c83 static int wps_process_cred_network_idx(struct wps_credential *cred, argument
98 static int wps_process_cred_ssid(struct wps_credential *cred, const u8 *ssid, argument
112 if (ssid_len <= sizeof(cred->ssid)) {
113 os_memcpy(cred->ssid, ssid, ssid_len);
114 cred->ssid_len = ssid_len;
121 static int wps_process_cred_auth_type(struct wps_credential *cred, argument
130 cred->auth_type = WPA_GET_BE16(auth_type);
132 cred->auth_type);
138 static int wps_process_cred_encr_type(struct wps_credential *cred, argument
147 cred
155 wps_process_cred_network_key_idx(struct wps_credential *cred, const u8 *key_idx) argument
168 wps_process_cred_network_key(struct wps_credential *cred, const u8 *key, size_t key_len) argument
194 wps_process_cred_mac_addr(struct wps_credential *cred, const u8 *mac_addr) argument
210 wps_workaround_cred_key(struct wps_credential *cred) argument
236 wps_process_cred(struct wps_parse_attr *attr, struct wps_credential *cred) argument
256 wps_process_ap_settings(struct wps_parse_attr *attr, struct wps_credential *cred) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/tls/
H A Dtlsv1_cred.h26 void tlsv1_cred_free(struct tlsv1_credentials *cred);
27 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
30 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
32 int tlsv1_set_private_key(struct tlsv1_credentials *cred,
37 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A Dtlsv1_cred.c20 struct tlsv1_credentials *cred; local
21 cred = os_zalloc(sizeof(*cred));
22 return cred;
26 void tlsv1_cred_free(struct tlsv1_credentials *cred) argument
28 if (cred == NULL)
31 x509_certificate_chain_free(cred->trusted_certs);
32 x509_certificate_chain_free(cred->cert);
33 crypto_private_key_free(cred->key);
34 os_free(cred
189 tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path) argument
216 tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len) argument
291 tlsv1_set_key(struct tlsv1_credentials *cred, const u8 *key, size_t len, const char *passwd) argument
317 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
352 tlsv1_set_dhparams_der(struct tlsv1_credentials *cred, const u8 *dh, size_t len) argument
430 tlsv1_set_dhparams_blob(struct tlsv1_credentials *cred, const u8 *buf, size_t len) argument
482 tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, const u8 *dh_blob, size_t dh_blob_len) argument
[all...]
/external/wpa_supplicant_8/src/tls/
H A Dtlsv1_cred.h26 void tlsv1_cred_free(struct tlsv1_credentials *cred);
27 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
30 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
32 int tlsv1_set_private_key(struct tlsv1_credentials *cred,
37 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A Dtlsv1_cred.c20 struct tlsv1_credentials *cred; local
21 cred = os_zalloc(sizeof(*cred));
22 return cred;
26 void tlsv1_cred_free(struct tlsv1_credentials *cred) argument
28 if (cred == NULL)
31 x509_certificate_chain_free(cred->trusted_certs);
32 x509_certificate_chain_free(cred->cert);
33 crypto_private_key_free(cred->key);
34 os_free(cred
189 tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path) argument
216 tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len) argument
291 tlsv1_set_key(struct tlsv1_credentials *cred, const u8 *key, size_t len, const char *passwd) argument
317 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
352 tlsv1_set_dhparams_der(struct tlsv1_credentials *cred, const u8 *dh, size_t len) argument
430 tlsv1_set_dhparams_blob(struct tlsv1_credentials *cred, const u8 *buf, size_t len) argument
482 tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, const u8 *dh_blob, size_t dh_blob_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/tls/
H A Dtlsv1_cred.h26 void tlsv1_cred_free(struct tlsv1_credentials *cred);
27 int tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert,
30 int tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert,
32 int tlsv1_set_private_key(struct tlsv1_credentials *cred,
37 int tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file,
H A Dtlsv1_cred.c20 struct tlsv1_credentials *cred; local
21 cred = os_zalloc(sizeof(*cred));
22 return cred;
26 void tlsv1_cred_free(struct tlsv1_credentials *cred) argument
28 if (cred == NULL)
31 x509_certificate_chain_free(cred->trusted_certs);
32 x509_certificate_chain_free(cred->cert);
33 crypto_private_key_free(cred->key);
34 os_free(cred
189 tlsv1_set_ca_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len, const char *path) argument
216 tlsv1_set_cert(struct tlsv1_credentials *cred, const char *cert, const u8 *cert_blob, size_t cert_blob_len) argument
291 tlsv1_set_key(struct tlsv1_credentials *cred, const u8 *key, size_t len, const char *passwd) argument
317 tlsv1_set_private_key(struct tlsv1_credentials *cred, const char *private_key, const char *private_key_passwd, const u8 *private_key_blob, size_t private_key_blob_len) argument
352 tlsv1_set_dhparams_der(struct tlsv1_credentials *cred, const u8 *dh, size_t len) argument
430 tlsv1_set_dhparams_blob(struct tlsv1_credentials *cred, const u8 *buf, size_t len) argument
482 tlsv1_set_dhparams(struct tlsv1_credentials *cred, const char *dh_file, const u8 *dh_blob, size_t dh_blob_len) argument
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dinterworking.c136 struct wpa_cred *cred; local
138 for (cred = wpa_s->conf->cred; cred; cred = cred->next) {
139 if (cred->roaming_consortium_len)
141 if (cred->required_roaming_consortium_len)
150 struct wpa_cred *cred; local
152 for (cred
162 struct wpa_cred *cred; local
178 struct wpa_cred *cred; local
193 struct wpa_cred *cred; local
208 struct wpa_cred *cred; local
637 nai_realm_find_eap(struct wpa_cred *cred, struct nai_realm *realm) argument
817 already_connected(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
843 remove_duplicate_network(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
905 interworking_connect_3gpp(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
1089 cred_no_required_oi_match(struct wpa_cred *cred, struct wpa_bss *bss) argument
1110 cred_excluded_ssid(struct wpa_cred *cred, struct wpa_bss *bss) argument
1128 cred_below_min_backhaul(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
1187 cred_over_max_bss_load(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
1235 cred_conn_capab_missing(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
1283 struct wpa_cred *cred, *selected = NULL; local
1339 interworking_set_eap_params(struct wpa_ssid *ssid, struct wpa_cred *cred, int ttls) argument
1449 interworking_connect_roaming_consortium( struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
1511 struct wpa_cred *cred, *cred_rc, *cred_3gpp; local
1802 struct wpa_cred *cred; local
1916 struct wpa_cred *cred, *selected = NULL; local
1988 struct wpa_cred *cred, *cred2; local
2033 struct wpa_cred *cred; local
2079 interworking_home_sp_cred(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpabuf *domain_names) argument
2138 struct wpa_cred *cred; local
2197 roaming_prio(struct wpa_supplicant *wpa_s, struct wpa_cred *cred, struct wpa_bss *bss) argument
2227 pick_best_roaming_partner(struct wpa_supplicant *wpa_s, struct wpa_bss *selected, struct wpa_cred *cred) argument
2286 struct wpa_cred *cred, *selected_cred = NULL; local
[all...]
H A Dconfig_file.c216 struct wpa_cred *cred; local
220 wpa_printf(MSG_MSGDUMP, "Line: %d - start of a new cred block", *line);
221 cred = os_zalloc(sizeof(*cred));
222 if (cred == NULL)
224 cred->id = id;
225 cred->sim_num = DEFAULT_USER_SELECTED_SIM;
235 wpa_printf(MSG_ERROR, "Line %d: Invalid cred line "
251 if (wpa_config_set_cred(cred, pos, pos2, *line) < 0)
256 wpa_printf(MSG_ERROR, "Line %d: cred bloc
359 struct wpa_cred *cred, *cred_tail, *cred_head; local
756 wpa_config_write_cred(FILE *f, struct wpa_cred *cred) argument
1206 struct wpa_cred *cred; local
[all...]
H A Dconfig.c1945 void wpa_config_free_cred(struct wpa_cred *cred) argument
1949 os_free(cred->realm);
1950 str_clear_free(cred->username);
1951 str_clear_free(cred->password);
1952 os_free(cred->ca_cert);
1953 os_free(cred->client_cert);
1954 os_free(cred->private_key);
1955 str_clear_free(cred->private_key_passwd);
1956 os_free(cred->imsi);
1957 str_clear_free(cred
2002 struct wpa_cred *cred, *cprev; local
2447 wpa_config_set_cred_req_conn_capab(struct wpa_cred *cred, const char *value) argument
2510 wpa_config_set_cred(struct wpa_cred *cred, const char *var, const char *value, int line) argument
2852 wpa_config_get_cred_no_key(struct wpa_cred *cred, const char *var) argument
3103 struct wpa_cred *cred; local
3119 struct wpa_cred *cred, *last = NULL; local
3147 struct wpa_cred *cred, *prev = NULL; local
[all...]
H A Dwps_supplicant.c174 const struct wps_credential *cred)
195 bss = wpa_bss_get(wpa_s, cred->mac_addr, ssid->ssid, ssid->ssid_len);
346 const struct wps_credential *cred)
356 wpa_s->conf->wps_cred_processing == 2) && cred->cred_attr) {
357 size_t blen = cred->cred_attr_len * 2 + 1;
361 cred->cred_attr, cred->cred_attr_len);
367 wpas_notify_wps_credential(wpa_s, cred);
372 cred->cred_attr, cred
172 wpas_wps_security_workaround(struct wpa_supplicant *wpa_s, struct wpa_ssid *ssid, const struct wps_credential *cred) argument
345 wpa_supplicant_wps_cred(void *ctx, const struct wps_credential *cred) argument
760 const struct wps_credential *cred = ap_settings->cred; local
1869 wpas_wps_network_to_cred(struct wpa_ssid *ssid, struct wps_credential *cred) argument
1909 struct wps_credential cred; local
1932 struct wps_credential cred; local
2104 struct wps_credential cred; local
[all...]
/external/chromium_org/third_party/libjpeg_turbo/
H A Djdmrgext.c29 register int y, cred, cgreen, cblue; local
51 cred = Crrtab[cr];
56 outptr[RGB_RED] = range_limit[y + cred];
64 outptr[RGB_RED] = range_limit[y + cred];
76 cred = Crrtab[cr];
80 outptr[RGB_RED] = range_limit[y + cred];
102 register int y, cred, cgreen, cblue; local
126 cred = Crrtab[cr];
131 outptr0[RGB_RED] = range_limit[y + cred];
139 outptr0[RGB_RED] = range_limit[y + cred];
[all...]
/external/smack/src/org/xbill/DNS/
H A DCache.java24 public int compareCredibility(int cred); argument
45 CacheRRset(Record rec, int cred, long maxttl) { argument
47 this.credibility = cred;
53 CacheRRset(RRset rrset, int cred, long maxttl) { argument
55 this.credibility = cred;
66 compareCredibility(int cred) { argument
67 return credibility - cred;
87 NegativeElement(Name name, int type, SOARecord soa, int cred, argument
95 this.credibility = cred;
111 compareCredibility(int cred) { argument
327 addRecord(Record r, int cred, Object o) argument
351 addRRset(RRset rrset, int cred) argument
382 addNegative(Name name, int type, SOARecord soa, int cred) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/ap/
H A Dwps_hostapd.c320 const struct wps_credential *cred)
327 if (cred->ssid_len <= HOSTAPD_MAX_SSID_LEN) {
328 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len);
329 bss->ssid.ssid_len = cred->ssid_len;
333 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) &&
334 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)))
336 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK))
338 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))
344 if (cred
319 hapd_wps_reconfig_in_memory(struct hostapd_data *hapd, const struct wps_credential *cred) argument
400 const struct wps_credential *cred = ctx; local
615 hostapd_wps_cred_cb(void *ctx, const struct wps_credential *cred) argument
1610 struct wps_credential cred; local
[all...]
/external/wpa_supplicant_8/src/ap/
H A Dwps_hostapd.c320 const struct wps_credential *cred)
327 if (cred->ssid_len <= HOSTAPD_MAX_SSID_LEN) {
328 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len);
329 bss->ssid.ssid_len = cred->ssid_len;
333 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) &&
334 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)))
336 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK))
338 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))
344 if (cred
319 hapd_wps_reconfig_in_memory(struct hostapd_data *hapd, const struct wps_credential *cred) argument
400 const struct wps_credential *cred = ctx; local
615 hostapd_wps_cred_cb(void *ctx, const struct wps_credential *cred) argument
1610 struct wps_credential cred; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/ap/
H A Dwps_hostapd.c320 const struct wps_credential *cred)
327 if (cred->ssid_len <= HOSTAPD_MAX_SSID_LEN) {
328 os_memcpy(bss->ssid.ssid, cred->ssid, cred->ssid_len);
329 bss->ssid.ssid_len = cred->ssid_len;
333 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) &&
334 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)))
336 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK))
338 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))
344 if (cred
319 hapd_wps_reconfig_in_memory(struct hostapd_data *hapd, const struct wps_credential *cred) argument
400 const struct wps_credential *cred = ctx; local
615 hostapd_wps_cred_cb(void *ctx, const struct wps_credential *cred) argument
1610 struct wps_credential cred; local
[all...]
/external/jpeg/
H A Djdmerge.c255 register int y, cred, cgreen, cblue; local
277 cred = Crrtab[cr];
282 outptr[RGB_RED] = range_limit[y + cred];
287 outptr[RGB_RED] = range_limit[y + cred];
296 cred = Crrtab[cr];
300 outptr[RGB_RED] = range_limit[y + cred];
314 register int y, cred, cgreen, cblue; local
338 cred = Crrtab[cr];
343 r = range_limit[y + cred];
348 r = range_limit[y + cred];
378 register int y, cred, cgreen, cblue; local
452 register int y, cred, cgreen, cblue; local
528 register int y, cred, cgreen, cblue; local
613 register int y, cred, cgreen, cblue; local
[all...]
/external/qemu/distrib/jpeg-6b/
H A Djdmerge.c255 register int y, cred, cgreen, cblue; local
277 cred = Crrtab[cr];
282 outptr[RGB_RED] = range_limit[y + cred];
287 outptr[RGB_RED] = range_limit[y + cred];
296 cred = Crrtab[cr];
300 outptr[RGB_RED] = range_limit[y + cred];
314 register int y, cred, cgreen, cblue; local
338 cred = Crrtab[cr];
343 r = range_limit[y + cred];
348 r = range_limit[y + cred];
378 register int y, cred, cgreen, cblue; local
452 register int y, cred, cgreen, cblue; local
528 register int y, cred, cgreen, cblue; local
613 register int y, cred, cgreen, cblue; local
[all...]
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dtls_internal.c184 struct tlsv1_credentials *cred; local
189 cred = tlsv1_cred_alloc();
190 if (cred == NULL)
193 if (tlsv1_set_ca_cert(cred, params->ca_cert,
198 tlsv1_cred_free(cred);
202 if (tlsv1_set_cert(cred, params->client_cert,
207 tlsv1_cred_free(cred);
211 if (tlsv1_set_private_key(cred, params->private_key,
216 tlsv1_cred_free(cred);
220 if (tlsv1_set_dhparams(cred, param
247 struct tlsv1_credentials *cred; local
[all...]
/external/wpa_supplicant_8/src/crypto/
H A Dtls_internal.c184 struct tlsv1_credentials *cred; local
189 cred = tlsv1_cred_alloc();
190 if (cred == NULL)
193 if (tlsv1_set_ca_cert(cred, params->ca_cert,
198 tlsv1_cred_free(cred);
202 if (tlsv1_set_cert(cred, params->client_cert,
207 tlsv1_cred_free(cred);
211 if (tlsv1_set_private_key(cred, params->private_key,
216 tlsv1_cred_free(cred);
220 if (tlsv1_set_dhparams(cred, param
247 struct tlsv1_credentials *cred; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dtls_internal.c184 struct tlsv1_credentials *cred; local
189 cred = tlsv1_cred_alloc();
190 if (cred == NULL)
193 if (tlsv1_set_ca_cert(cred, params->ca_cert,
198 tlsv1_cred_free(cred);
202 if (tlsv1_set_cert(cred, params->client_cert,
207 tlsv1_cred_free(cred);
211 if (tlsv1_set_private_key(cred, params->private_key,
216 tlsv1_cred_free(cred);
220 if (tlsv1_set_dhparams(cred, param
247 struct tlsv1_credentials *cred; local
[all...]
/external/pdfium/core/src/fxcodec/libjpeg/
H A Dfpdfapi_jdmerge.c235 register int y, cred, cgreen, cblue; local
257 cred = Crrtab[cr];
262 outptr[RGB_RED] = range_limit[y + cred];
267 outptr[RGB_RED] = range_limit[y + cred];
276 cred = Crrtab[cr];
280 outptr[RGB_RED] = range_limit[y + cred];
297 register int y, cred, cgreen, cblue; local
321 cred = Crrtab[cr];
326 outptr0[RGB_RED] = range_limit[y + cred];
331 outptr0[RGB_RED] = range_limit[y + cred];
[all...]
/external/wpa_supplicant_8/wpa_supplicant/dbus/
H A Ddbus_old.h78 const struct wps_credential *cred);
111 const struct wps_credential *cred)
110 wpa_supplicant_dbus_notify_wps_cred(struct wpa_supplicant *wpa_s, const struct wps_credential *cred) argument

Completed in 968 milliseconds

12345