TlsEncryptionEngine Struct Reference

Encryption engine. More...

#include <tls.h>

Data Fields

uint16_t version
 Negotiated TLS version. More...
uint8_t macKey [48]
 MAC key. More...
size_t macKeyLen
 Length of the MAC key. More...
uint8_t encKey [32]
 Encryption key. More...
size_t encKeyLen
 Length of the encryption key. More...
uint8_t iv [16]
 Initialization vector. More...
size_t fixedIvLen
 Length of the fixed part of the IV. More...
size_t recordIvLen
 Length of the IV. More...
size_t authTagLen
 Length of the authentication tag. More...
const CipherAlgocipherAlgo
 Cipher algorithm. More...
void * cipherContext
 Cipher context. More...
CipherMode cipherMode
 Cipher mode of operation. More...
const HashAlgohashAlgo
 Hash algorithm for MAC operations. More...
 HMAC context. More...
 GCM context. More...
TlsSequenceNumber seqNum
 TLS sequence number. More...
uint16_t epoch
 Counter value incremented on every cipher state change. More...
DtlsSequenceNumber dtlsSeqNum
 Record sequence number. More...
size_t recordSizeLimit
 Maximum size of record in octets. More...

Detailed Description

Encryption engine.

Definition at line 1942 of file tls.h.

Field Documentation

◆ authTagLen

size_t authTagLen

Length of the authentication tag.

Definition at line 1952 of file tls.h.

◆ cipherAlgo

const CipherAlgo* cipherAlgo

Cipher algorithm.

Definition at line 1953 of file tls.h.

◆ cipherContext

void* cipherContext

Cipher context.

Definition at line 1954 of file tls.h.

◆ cipherMode

CipherMode cipherMode

Cipher mode of operation.

Definition at line 1955 of file tls.h.

◆ dtlsSeqNum

DtlsSequenceNumber dtlsSeqNum

Record sequence number.

Definition at line 1964 of file tls.h.

◆ encKey

uint8_t encKey[32]

Encryption key.

Definition at line 1947 of file tls.h.

◆ encKeyLen

size_t encKeyLen

Length of the encryption key.

Definition at line 1948 of file tls.h.

◆ epoch

uint16_t epoch

Counter value incremented on every cipher state change.

Definition at line 1963 of file tls.h.

◆ fixedIvLen

size_t fixedIvLen

Length of the fixed part of the IV.

Definition at line 1950 of file tls.h.

◆ gcmContext

GcmContext* gcmContext

GCM context.

Definition at line 1959 of file tls.h.

◆ hashAlgo

const HashAlgo* hashAlgo

Hash algorithm for MAC operations.

Definition at line 1956 of file tls.h.

◆ hmacContext

HmacContext* hmacContext

HMAC context.

Definition at line 1957 of file tls.h.

◆ iv

uint8_t iv[16]

Initialization vector.

Definition at line 1949 of file tls.h.

◆ macKey

uint8_t macKey[48]

MAC key.

Definition at line 1945 of file tls.h.

◆ macKeyLen

size_t macKeyLen

Length of the MAC key.

Definition at line 1946 of file tls.h.

◆ recordIvLen

size_t recordIvLen

Length of the IV.

Definition at line 1951 of file tls.h.

◆ recordSizeLimit

size_t recordSizeLimit

Maximum size of record in octets.

Definition at line 1967 of file tls.h.

◆ seqNum

TLS sequence number.

Definition at line 1961 of file tls.h.

◆ version

uint16_t version

Negotiated TLS version.

Definition at line 1944 of file tls.h.

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