|
iPXE
|
A TLS connection. More...
#include <tls.h>
Data Fields | |
| struct refcnt | refcnt |
| Reference counter. | |
| struct tls_session * | session |
| Session. | |
| struct list_head | list |
| List of connections within the same session. | |
| struct tls_session_id | new_id |
| New session ID (if any). | |
| struct tls_cursor | new_ticket |
| New session ticket (if any). | |
| struct interface | plainstream |
| Plaintext stream. | |
| struct interface | cipherstream |
| Ciphertext stream. | |
| uint16_t | version |
| Protocol version. | |
| uint16_t | legacy_version |
| Legacy protocol version. | |
| struct tls_cipher_suite * | suite |
| Cipher suite. | |
| struct tls_named_group * | group |
| Key exchange named group. | |
| int | secure_renegotiation |
| Secure renegotiation flag. | |
| int | extended_master_secret |
| Extended master secret flag. | |
| struct tls_verify_data | verify |
| Verification data. | |
| struct tls_cursor | cookie |
| Cookie. | |
| struct secure_channel | channel |
| Secure channel. | |
| struct tls_key_schedule | key |
| Key schedule. | |
| struct tls_tx | tx |
| Transmit state. | |
| struct tls_rx | rx |
| Receive state. | |
| struct tls_client | client |
| Client state. | |
| struct tls_server | server |
| Server state. | |
| struct refcnt tls_connection::refcnt |
| struct tls_session* tls_connection::session |
Session.
Definition at line 483 of file tls.h.
Referenced by add_tls(), free_tls(), tls_client_hello(), tls_close(), tls_establish(), tls_new_server_hello(), tls_resume(), tls_save(), tls_session(), tls_set_session_id(), tls_tx_resume_all(), and tls_tx_step().
| struct list_head tls_connection::list |
List of connections within the same session.
Definition at line 485 of file tls.h.
Referenced by add_tls(), free_tls(), tls_close(), tls_establish(), tls_tx_resume_all(), and tls_tx_step().
| struct tls_session_id tls_connection::new_id |
New session ID (if any).
Definition at line 487 of file tls.h.
Referenced by tls_establish(), tls_new_server_hello(), and tls_save().
| struct tls_cursor tls_connection::new_ticket |
New session ticket (if any).
Definition at line 489 of file tls.h.
Referenced by free_tls(), tls_establish(), tls_new_session_ticket(), and tls_save().
| struct interface tls_connection::plainstream |
Plaintext stream.
Definition at line 492 of file tls.h.
Referenced by add_tls(), tls_cipherstream_window(), tls_close(), tls_establish(), tls_new_data(), and tls_tx_step().
| struct interface tls_connection::cipherstream |
Ciphertext stream.
Definition at line 494 of file tls.h.
Referenced by add_tls(), tls_alloc_iob(), tls_close(), tls_plainstream_window(), tls_progress(), tls_send_record(), and tls_tx_step().
| uint16_t tls_connection::version |
Protocol version.
Definition at line 497 of file tls.h.
Referenced by add_tls(), tls_client_hello(), tls_new_certificate(), tls_new_hello_request(), tls_new_server_hello(), tls_new_server_hello_done(), tls_new_session_ticket(), tls_parse_dhe(), tls_parse_ecdhe(), tls_select_cipher(), tls_send_certificate(), tls_send_certificate_verify(), tls_send_client_key_exchange(), tls_verify_signature(), and tls_version().
| uint16_t tls_connection::legacy_version |
Legacy protocol version.
Definition at line 499 of file tls.h.
Referenced by add_tls(), tls_select_cipher(), and tls_send_record().
| struct tls_cipher_suite* tls_connection::suite |
Cipher suite.
Definition at line 501 of file tls.h.
Referenced by add_tls(), tls_change_cipher(), tls_new_server_hello(), tls_new_server_key_exchange(), tls_restart(), tls_select_cipher(), and tls_send_client_key_exchange().
| struct tls_named_group* tls_connection::group |
Key exchange named group.
Definition at line 503 of file tls.h.
Referenced by add_tls(), tls_client_hello(), tls_new_server_hello(), tls_new_server_key_exchange(), tls_select_cipher(), and tls_send_client_key_exchange().
| int tls_connection::secure_renegotiation |
Secure renegotiation flag.
Definition at line 505 of file tls.h.
Referenced by tls_client_hello(), tls_new_hello_request(), and tls_new_server_hello().
| int tls_connection::extended_master_secret |
Extended master secret flag.
Definition at line 507 of file tls.h.
Referenced by tls_channel_load(), tls_new_hello_request(), tls_new_server_hello(), and tls_send_client_key_exchange().
| struct tls_verify_data tls_connection::verify |
Verification data.
Definition at line 509 of file tls.h.
Referenced by free_tls(), tls_channel_verify(), tls_client_hello(), tls_new_server_hello(), tls_send_finished(), and tls_set_verify_len().
| struct tls_cursor tls_connection::cookie |
Cookie.
Definition at line 511 of file tls.h.
Referenced by free_tls(), tls_client_hello(), and tls_new_server_hello().
| struct secure_channel tls_connection::channel |
Secure channel.
Definition at line 514 of file tls.h.
Referenced by add_tls(), tls_change_cipher(), tls_clear_digest(), tls_close(), tls_establish(), tls_hash_verify(), tls_iob_reserved(), tls_key_agree(), tls_key_encrypt(), tls_key_share(), tls_new_ciphertext(), tls_new_finished(), tls_newdata_process_header(), tls_nonce(), tls_pipe_name(), tls_random(), tls_ready(), tls_restart(), tls_resume(), tls_save(), and tls_send_record().
| struct tls_key_schedule tls_connection::key |
Key schedule.
Definition at line 516 of file tls.h.
Referenced by tls_add_handshake(), tls_change_cipher(), tls_channel_apply(), tls_channel_load(), tls_channel_reset(), tls_channel_save(), tls_channel_verify(), tls_clear_digest(), tls_hash_sign(), tls_hash_verify(), tls_new_finished(), tls_new_server_hello(), tls_prep_cipher(), tls_send_certificate_verify(), tls_send_client_key_exchange(), tls_send_finished(), and tls_set_digest().
| struct tls_tx tls_connection::tx |
Transmit state.
Definition at line 518 of file tls.h.
Referenced by add_tls(), free_tls(), tls_close(), tls_iob_reserved(), tls_new_ciphertext(), tls_new_finished(), tls_new_server_hello(), tls_restart(), tls_send_change_cipher(), tls_send_finished(), tls_send_record(), tls_tx_resume(), tls_tx_step(), and tls_validator_done().
| struct tls_rx tls_connection::rx |
Receive state.
Definition at line 520 of file tls.h.
Referenced by add_tls(), free_tls(), tls_cipherstream_deliver(), tls_new_change_cipher(), tls_new_ciphertext(), tls_new_finished(), tls_new_handshake(), tls_new_record(), tls_new_server_hello(), tls_newdata_process_data(), and tls_newdata_process_header().
| struct tls_client tls_connection::client |
Client state.
Definition at line 522 of file tls.h.
Referenced by add_tls(), free_tls(), tls_close(), tls_hash_sign(), tls_new_certificate_request(), tls_new_finished(), tls_new_server_hello(), tls_restart(), tls_send_certificate(), tls_send_certificate_verify(), tls_send_finished(), tls_session(), and tls_validator_done().
| struct tls_server tls_connection::server |
Server state.
Definition at line 524 of file tls.h.
Referenced by add_tls(), free_tls(), tls_close(), tls_establish(), tls_key_encrypt(), tls_new_certificate(), tls_new_finished(), tls_progress(), tls_restart(), tls_send_finished(), tls_session(), tls_tx_step(), tls_validator_done(), tls_validator_start(), and tls_verify_signature().