Lines Matching refs:ssl

30 	struct eap_ssl_data ssl;  member
184 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TTLS)) { in eap_ttls_init()
221 eap_peer_tls_ssl_deinit(sm, &data->ssl); in eap_ttls_deinit()
301 if (data->ssl.tls_v13) { in eap_ttls_v0_derive_key()
310 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, label, in eap_ttls_v0_derive_key()
326 data->session_id = eap_peer_tls_derive_session_id(sm, &data->ssl, in eap_ttls_v0_derive_key()
344 return eap_peer_tls_derive_key(sm, &data->ssl, "ttls challenge", in eap_ttls_implicit_challenge()
1127 if (eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_TTLS, in eap_ttls_encrypt_response()
1432 tls_connection_resumed(sm->ssl_ctx, data->ssl.conn)) { in eap_ttls_phase2_start()
1467 eap_peer_tls_reset_input(&data->ssl); in eap_ttls_decrypt()
1488 return eap_peer_tls_encrypt(sm, &data->ssl, EAP_TYPE_TTLS, in eap_ttls_decrypt()
1493 retval = eap_peer_tls_decrypt(sm, &data->ssl, in_data, &in_decrypted); in eap_ttls_decrypt()
1502 if (data->ssl.tls_v13 && wpabuf_len(in_decrypted) == 1 && in eap_ttls_decrypt()
1506 eap_peer_tls_reset_output(&data->ssl); in eap_ttls_decrypt()
1570 res = eap_peer_tls_process_helper(sm, &data->ssl, EAP_TYPE_TTLS, in eap_ttls_process_handshake()
1589 if (tls_connection_established(sm->ssl_ctx, data->ssl.conn)) { in eap_ttls_process_handshake()
1660 !data->ssl.tls_out) { in eap_ttls_check_auth_status()
1685 pos = eap_peer_tls_process_init(sm, &data->ssl, EAP_TYPE_TTLS, ret, in eap_ttls_process()
1707 if (tls_connection_established(sm->ssl_ctx, data->ssl.conn) && in eap_ttls_process()
1732 return tls_connection_established(sm->ssl_ctx, data->ssl.conn) && in eap_ttls_has_reauth_data()
1762 if (eap_peer_tls_reauth_init(sm, &data->ssl)) { in eap_ttls_init_for_reauth()
1783 len = eap_peer_tls_status(sm, &data->ssl, buf, buflen, verbose); in eap_ttls_get_status()