iPXE
tls_key_exchange_algorithm Struct Reference

A TLS key exchange algorithm. More...

#include <tls.h>

Data Fields

const char * name
 Algorithm name.
struct exchange_algorithmexchange
 Default key exchange algorithm.
int(* parse )(struct tls_connection *tls, const void *data, size_t len, struct tls_key_exchange_parameters *params)
 Parse key exchange parameters from Server Key Exchange record.
uint8_t len_len
 Length of length field in Client Key Exchange record.

Detailed Description

A TLS key exchange algorithm.

Definition at line 210 of file tls.h.

Field Documentation

◆ name

const char* tls_key_exchange_algorithm::name

Algorithm name.

Definition at line 212 of file tls.h.

Referenced by tls_cipher_name(), and tls_new_server_key_exchange().

◆ exchange

struct exchange_algorithm* tls_key_exchange_algorithm::exchange

Default key exchange algorithm.

Definition at line 214 of file tls.h.

Referenced by tls_cipher_name(), tls_keysize_is_variable(), and tls_select_cipher().

◆ parse

int(* tls_key_exchange_algorithm::parse) (struct tls_connection *tls, const void *data, size_t len, struct tls_key_exchange_parameters *params)

Parse key exchange parameters from Server Key Exchange record.

Parameters
tlsTLS connection
dataServer Key Exchange handshake record
lenLength of Server Key Exchange handshake record
paramsKey exchange parameters to fill in
Return values
rcReturn status code

Definition at line 224 of file tls.h.

Referenced by tls_new_server_key_exchange().

◆ len_len

uint8_t tls_key_exchange_algorithm::len_len

Length of length field in Client Key Exchange record.

Definition at line 228 of file tls.h.

Referenced by tls_send_client_key_exchange().


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