|
iPXE
|
A TLS cipher suite. More...
#include <tls.h>
Data Fields | |
| struct tls_key_exchange_algorithm * | exchange |
| Key exchange algorithm. | |
| struct pubkey_algorithm * | pubkey |
| Public-key encryption algorithm. | |
| struct cipher_algorithm * | cipher |
| Bulk encryption cipher algorithm. | |
| struct digest_algorithm * | digest |
| MAC digest algorithm. | |
| struct digest_algorithm * | handshake |
| Handshake digest algorithm (for TLSv1.2 and above). | |
| uint16_t | code |
| Numeric code (in network-endian order). | |
| uint8_t | key_len |
| Key length. | |
| uint8_t | fixed_iv_len |
| Fixed initialisation vector length. | |
| uint8_t | record_iv_len |
| Record initialisation vector length. | |
| uint8_t | mac_len |
| MAC length. | |
| uint8_t | verify_len |
| Verification data length. | |
| uint8_t | flags |
| Flags. | |
A TLS cipher suite.
All algorithm fields must be defined. If the cipher suite does not use the algorithm in question, then the null version of that algorithm must be used (e.g. &digest_null for AEAD ciphers that have no MAC digest algorithm).
| struct tls_key_exchange_algorithm* tls_cipher_suite::exchange |
Key exchange algorithm.
Definition at line 268 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_cipher_name(), tls_new_server_key_exchange(), tls_select_cipher(), and tls_send_client_key_exchange().
| struct pubkey_algorithm* tls_cipher_suite::pubkey |
Public-key encryption algorithm.
Definition at line 270 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_cipher_name(), and tls_select_cipher().
| struct cipher_algorithm* tls_cipher_suite::cipher |
Bulk encryption cipher algorithm.
Definition at line 272 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_change_cipher(), tls_cipher_name(), tls_new_ciphertext(), tls_select_cipher(), and tls_send_record().
| struct digest_algorithm* tls_cipher_suite::digest |
MAC digest algorithm.
Definition at line 274 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_cipher_name(), tls_hmac(), tls_hmac_final(), tls_hmac_init(), tls_hmac_list(), tls_hmac_update(), tls_new_ciphertext(), tls_select_cipher(), and tls_send_record().
| struct digest_algorithm* tls_cipher_suite::handshake |
Handshake digest algorithm (for TLSv1.2 and above).
Definition at line 276 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_cipher_name(), and tls_select_cipher().
| uint16_t tls_cipher_suite::code |
Numeric code (in network-endian order).
Definition at line 278 of file tls.h.
Referenced by tls_client_hello(), and tls_find_cipher_suite().
| uint8_t tls_cipher_suite::key_len |
Key length.
Definition at line 280 of file tls.h.
Referenced by tls_change_cipher(), and tls_cipher_name().
| uint8_t tls_cipher_suite::fixed_iv_len |
Fixed initialisation vector length.
Definition at line 282 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_change_cipher(), tls_new_ciphertext(), and tls_send_record().
| uint8_t tls_cipher_suite::record_iv_len |
Record initialisation vector length.
Definition at line 284 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_iob_reserved(), tls_new_ciphertext(), tls_newdata_process_header(), and tls_send_record().
| uint8_t tls_cipher_suite::mac_len |
MAC length.
Definition at line 286 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), tls_change_cipher(), tls_hmac_init(), tls_iob_reserved(), tls_new_ciphertext(), and tls_send_record().
| uint8_t tls_cipher_suite::verify_len |
Verification data length.
Definition at line 288 of file tls.h.
Referenced by __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), __tls_cipher_suite(), and tls_select_cipher().
| uint8_t tls_cipher_suite::flags |
Flags.
Definition at line 290 of file tls.h.
Referenced by tls_new_ciphertext(), and tls_send_record().