iPXE
secure_channel Struct Reference

A secure channel. More...

#include <channel.h>

Data Fields

struct secure_channel_operationsop
 Channel operations.
uint8_t ephemeral [SHA256_DIGEST_SIZE]
 Ephemeral master secret.
struct secure_channel_properties props
 Security properties.
struct secure_pipe tx
 Transmit pipe.
struct secure_pipe rx
 Receive pipe.

Detailed Description

A secure channel.

This is designed to be embedded within a containing structure that represents the consumer, such as a TLS connection.

The containing structure must have been initialised to all zeros before use.

Definition at line 72 of file channel.h.

Field Documentation

◆ op

struct secure_channel_operations* secure_channel::op

Channel operations.

Definition at line 74 of file channel.h.

◆ ephemeral

uint8_t secure_channel::ephemeral[SHA256_DIGEST_SIZE]

Ephemeral master secret.

Definition at line 77 of file channel.h.

◆ props

struct secure_channel_properties secure_channel::props

Security properties.

Definition at line 79 of file channel.h.

◆ tx

struct secure_pipe secure_channel::tx

Transmit pipe.

Definition at line 82 of file channel.h.

Referenced by tls_iob_reserved(), tls_pipe_name(), tls_send_record(), and tls_tx_step().

◆ rx

struct secure_pipe secure_channel::rx

Receive pipe.

Definition at line 84 of file channel.h.

Referenced by tls_new_change_cipher(), tls_new_ciphertext(), tls_newdata_process_header(), and tls_pipe_name().


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