iPXE
tls_cipher_suite Struct Reference

A TLS cipher suite. More...

#include <tls.h>

Data Fields

struct tls_key_exchange_algorithmexchange
 Key exchange algorithm.
struct pubkey_algorithmpubkey
 Public-key encryption algorithm.
struct cipher_algorithmcipher
 Bulk encryption cipher algorithm.
struct digest_algorithmdigest
 MAC digest algorithm.
struct digest_algorithmhandshake
 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.

Detailed Description

A TLS cipher suite.

Definition at line 200 of file tls.h.

Field Documentation

◆ exchange

◆ pubkey

◆ cipher

◆ digest

◆ handshake

◆ code

uint16_t tls_cipher_suite::code

Numeric code (in network-endian order)

Definition at line 212 of file tls.h.

Referenced by tls_client_hello(), and tls_find_cipher_suite().

◆ key_len

uint8_t tls_cipher_suite::key_len

Key length.

Definition at line 214 of file tls.h.

Referenced by tls_generate_keys(), and tls_select_cipher().

◆ fixed_iv_len

◆ record_iv_len

◆ mac_len


The documentation for this struct was generated from the following file: