iPXE
tls_cipherspec Struct Reference

A TLS cipher specification. More...

#include <tls.h>

Data Fields

struct tls_cipher_suite * suite
 Cipher suite.
const struct tls_endpoint * writer
 Writer endpoint.
struct secure_pipe * pipe
 Secure pipe.
const struct tls_phase * pending
 Pending traffic phase change.
uint64_t seq
 Sequence number.
void * dynamic
 Dynamically-allocated storage.
void * cipher_key
 Cipher key.
void * mac_secret
 MAC secret.
void * fixed_iv
 Fixed initialisation vector.

Detailed Description

A TLS cipher specification.

Definition at line 333 of file tls.h.

Field Documentation

◆ suite

◆ writer

const struct tls_endpoint* tls_cipherspec::writer

Writer endpoint.

Definition at line 337 of file tls.h.

Referenced by add_tls(), tls_change_cipher(), and tls_prep_cipher().

◆ pipe

struct secure_pipe* tls_cipherspec::pipe

Secure pipe.

Definition at line 339 of file tls.h.

Referenced by add_tls(), tls_change_cipher(), tls_clear_cipher(), and tls_prep_cipher().

◆ pending

const struct tls_phase* tls_cipherspec::pending

Pending traffic phase change.

Definition at line 341 of file tls.h.

Referenced by tls_new_change_cipher(), tls_new_finished(), tls_new_handshake(), tls_new_server_hello(), and tls_pending_cipher().

◆ seq

uint64_t tls_cipherspec::seq

Sequence number.

Definition at line 343 of file tls.h.

Referenced by tls_clear_cipher(), tls_new_ciphertext(), and tls_send_record().

◆ dynamic

void* tls_cipherspec::dynamic

Dynamically-allocated storage.

Definition at line 346 of file tls.h.

Referenced by tls_change_cipher(), and tls_clear_cipher().

◆ cipher_key

void* tls_cipherspec::cipher_key

Cipher key.

Definition at line 348 of file tls.h.

Referenced by tls_change_cipher(), and tls_clear_cipher().

◆ mac_secret

void* tls_cipherspec::mac_secret

MAC secret.

Definition at line 350 of file tls.h.

Referenced by tls_change_cipher(), tls_clear_cipher(), and tls_hmac_init().

◆ fixed_iv

void* tls_cipherspec::fixed_iv

Fixed initialisation vector.

Definition at line 352 of file tls.h.

Referenced by tls_change_cipher(), tls_clear_cipher(), tls_new_ciphertext(), and tls_send_record().


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