Data Fields
tls_cipher_suite Struct Reference

A TLS cipher suite. More...

#include <tls.h>

Data Fields

struct pubkey_algorithmpubkey
 Public-key encryption algorithm. More...
struct cipher_algorithmcipher
 Bulk encryption cipher algorithm. More...
struct digest_algorithmdigest
 MAC digest algorithm. More...
uint16_t key_len
 Key length. More...
uint16_t code
 Numeric code (in network-endian order) More...

Detailed Description

A TLS cipher suite.

Definition at line 143 of file tls.h.

Field Documentation

◆ pubkey

struct pubkey_algorithm* tls_cipher_suite::pubkey

Public-key encryption algorithm.

Definition at line 145 of file tls.h.

Referenced by tls_clear_cipher(), tls_select_cipher(), tls_send_client_key_exchange(), tls_set_cipher(), and tls_validator_done().

◆ cipher

struct cipher_algorithm* tls_cipher_suite::cipher

Bulk encryption cipher algorithm.

Definition at line 147 of file tls.h.

Referenced by tls_assemble_block(), tls_generate_keys(), tls_new_ciphertext(), tls_select_cipher(), tls_send_plaintext(), tls_set_cipher(), and tls_split_block().

◆ digest

struct digest_algorithm* tls_cipher_suite::digest

◆ key_len

uint16_t tls_cipher_suite::key_len

Key length.

Definition at line 151 of file tls.h.

Referenced by tls_generate_keys(), and tls_select_cipher().

◆ code

uint16_t tls_cipher_suite::code

Numeric code (in network-endian order)

Definition at line 153 of file tls.h.

Referenced by tls_find_cipher_suite(), and tls_send_client_hello().

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