iPXE
tls_key_exchange_algorithm Struct Reference

A TLS key exchange algorithm. More...

#include <tls.h>

Data Fields

const char * name
 Algorithm name.
struct tls_named_group * group
 Default named group.
int(* parse )(struct tls_connection *tls, const struct tls_cursor *cursor, struct tls_key_exchange_parameters *kex)
 Parse key exchange parameters from Server Key Exchange record.
const uint8_t * map
 ClientKeyExchange descriptor mapping.

Detailed Description

A TLS key exchange algorithm.

Definition at line 238 of file tls.h.

Field Documentation

◆ name

const char* tls_key_exchange_algorithm::name

Algorithm name.

Definition at line 240 of file tls.h.

Referenced by tls_cipher_name(), and tls_new_server_key_exchange().

◆ group

struct tls_named_group* tls_key_exchange_algorithm::group

Default named group.

Definition at line 242 of file tls.h.

Referenced by tls_select_cipher().

◆ parse

int(* tls_key_exchange_algorithm::parse) (struct tls_connection *tls, const struct tls_cursor *cursor, struct tls_key_exchange_parameters *kex)

Parse key exchange parameters from Server Key Exchange record.

Parameters
tlsTLS connection
cursorServer Key Exchange handshake record
kexKey exchange parameters to fill in
Return values
rcReturn status code

Definition at line 251 of file tls.h.

Referenced by tls_new_server_key_exchange().

◆ map

const uint8_t* tls_key_exchange_algorithm::map

ClientKeyExchange descriptor mapping.

Definition at line 255 of file tls.h.

Referenced by tls_send_client_key_exchange().


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