|
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. | |
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 241 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_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 243 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_name(), tls_new_server_key_exchange(), and tls_select_cipher().
| struct cipher_algorithm* tls_cipher_suite::cipher |
Bulk encryption cipher algorithm.
Definition at line 245 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_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 247 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_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 249 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_name(), and tls_select_cipher().
| uint16_t tls_cipher_suite::code |
Numeric code (in network-endian order).
Definition at line 251 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 253 of file tls.h.
Referenced by tls_change_cipher(), tls_cipher_name(), and tls_set_cipher().
| uint8_t tls_cipher_suite::fixed_iv_len |
Fixed initialisation vector length.
Definition at line 255 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_change_cipher(), tls_new_ciphertext(), tls_send_record(), and tls_set_cipher().
| uint8_t tls_cipher_suite::record_iv_len |
Record initialisation vector length.
Definition at line 257 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_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 259 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_change_cipher(), tls_hmac_init(), tls_iob_reserved(), tls_new_ciphertext(), tls_send_record(), and tls_set_cipher().