/hostap-latest/src/eap_peer/ |
D | eap_teap_pac.c | 188 static int eap_teap_read_line(struct eap_teap_read_ctx *rc, char **value) in eap_teap_read_line() argument 192 rc->line++; in eap_teap_read_line() 193 if (rc->f) { in eap_teap_read_line() 194 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) in eap_teap_read_line() 200 if (rc->pos >= rc->end) in eap_teap_read_line() 202 l_end = rc->pos; in eap_teap_read_line() 203 while (l_end < rc->end && *l_end != '\n') in eap_teap_read_line() 205 len = l_end - rc->pos; in eap_teap_read_line() 206 if (len >= rc->buf_len) in eap_teap_read_line() 207 len = rc->buf_len - 1; in eap_teap_read_line() [all …]
|
D | eap_fast_pac.c | 188 static int eap_fast_read_line(struct eap_fast_read_ctx *rc, char **value) in eap_fast_read_line() argument 192 rc->line++; in eap_fast_read_line() 193 if (rc->f) { in eap_fast_read_line() 194 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) in eap_fast_read_line() 199 if (rc->pos >= rc->end) in eap_fast_read_line() 201 l_end = rc->pos; in eap_fast_read_line() 202 while (l_end < rc->end && *l_end != '\n') in eap_fast_read_line() 204 len = l_end - rc->pos; in eap_fast_read_line() 205 if (len >= rc->buf_len) in eap_fast_read_line() 206 len = rc->buf_len - 1; in eap_fast_read_line() [all …]
|
/hostap-latest/src/crypto/ |
D | tls_mbedtls_alt.c | 261 …ttribute_cold__ __attribute_noinline__ static void emsgrc(int level, const char *const msg, int rc) in emsgrc() argument 266 mbedtls_strerror(rc, buf, sizeof(buf)); in emsgrc() 267 wpa_printf(level, "MTLS: %s: %s (-0x%04x)", msg, buf, -rc); in emsgrc() 269 wpa_printf(level, "MTLS: %s: (-0x%04x)", msg, -rc); in emsgrc() 273 #define elog(rc, msg) emsgrc(MSG_ERROR, (msg), (rc)) argument 274 #define ilog(rc, msg) emsgrc(MSG_INFO, (msg), (rc)) argument 779 int rc = mbedtls_dhm_parse_dhm(&dhm, data, len); in tls_mbedtls_set_dhparams() local 780 if (0 == rc) in tls_mbedtls_set_dhparams() 781 rc = mbedtls_ssl_conf_dh_param_ctx(&tls_conf->conf, &dhm); in tls_mbedtls_set_dhparams() 782 if (0 != rc) in tls_mbedtls_set_dhparams() [all …]
|
D | crypto_mbedtls_alt.c | 1257 int rc = in crypto_bignum_exptmod() local 1263 return rc; in crypto_bignum_exptmod() 1299 int rc = mbedtls_mpi_div_mpi(&R, NULL, (const mbedtls_mpi *)a, (const mbedtls_mpi *)b) || in crypto_bignum_div() local 1304 return rc; in crypto_bignum_div() 2512 int rc = mbedtls_pk_parse_public_key(ctx, der, der_len); in crypto_ec_key_parse_pub() local 2513 if (rc == 0) in crypto_ec_key_parse_pub() 2515 else if (rc == MBEDTLS_ERR_ECP_FEATURE_UNAVAILABLE) in crypto_ec_key_parse_pub() 2519 rc = crypto_mbedtls_pk_parse_subpubkey_compressed(ctx, der, der_len); in crypto_ec_key_parse_pub() 2520 if (rc == 0) in crypto_ec_key_parse_pub()
|
D | tls_openssl.c | 182 int rc = -1; in tls_add_ca_from_keystore_encoded() local 189 return rc; in tls_add_ca_from_keystore_encoded() 196 rc = tls_add_ca_from_keystore( in tls_add_ca_from_keystore_encoded() 202 return rc; in tls_add_ca_from_keystore_encoded() 2903 int rc = 0; in tls_connection_ca_cert() local 2916 rc = -1; in tls_connection_ca_cert() 2921 if (rc) in tls_connection_ca_cert() 2922 return rc; in tls_connection_ca_cert()
|
/hostap-latest/src/utils/ |
D | os_internal.c | 133 size_t rc; in os_get_random() local 141 rc = fread(buf, 1, len, f); in os_get_random() 144 return rc != len ? -1 : 0; in os_get_random()
|
D | os_unix.c | 267 size_t rc; in os_get_random() 278 rc = fread(buf, 1, len, f); in os_get_random() 281 return rc != len ? -1 : 0; in os_get_random()
|
/hostap-latest/hostapd/ |
D | hostapd.android.rc | 2 # init.rc fragment for hostapd on Android
|
D | config_file.c | 1294 struct hostapd_roaming_consortium *rc; in parse_roaming_consortium() local 1304 rc = os_realloc_array(bss->roaming_consortium, in parse_roaming_consortium() 1307 if (rc == NULL) in parse_roaming_consortium() 1310 os_memcpy(rc[bss->roaming_consortium_count].oi, oi, len); in parse_roaming_consortium() 1311 rc[bss->roaming_consortium_count].len = len; in parse_roaming_consortium() 1313 bss->roaming_consortium = rc; in parse_roaming_consortium()
|
/hostap-latest/src/common/ |
D | sae.h | 120 u16 rc; /* protocol instance variable: Rc (received send-confirm) */ member
|
/hostap-latest/src/ap/ |
D | gas_serv.c | 384 struct hostapd_roaming_consortium *rc; in anqp_add_roaming_consortium() local 385 rc = &hapd->conf->roaming_consortium[i]; in anqp_add_roaming_consortium() 386 wpabuf_put_u8(buf, rc->len); in anqp_add_roaming_consortium() 387 wpabuf_put_data(buf, rc->oi, rc->len); in anqp_add_roaming_consortium()
|
D | ieee802_11.c | 1570 (peer_send_confirm <= sta->sae->rc || in handle_auth_sae() 1577 peer_send_confirm, sta->sae->rc); in handle_auth_sae() 1586 sta->sae->rc = peer_send_confirm; in handle_auth_sae()
|