_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 [48] | |
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 CipherAlgo * cipherAlgo | |
Cipher algorithm. More... | |
void * cipherContext | |
Cipher context. More... | |
CipherMode cipherMode | |
Cipher mode of operation. More... | |
const HashAlgo * hashAlgo | |
Hash algorithm for MAC operations. More... | |
HmacContext * hmacContext | |
HMAC context. More... | |
GcmContext * gcmContext | |
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... | |
bool_t encryptThenMac | |
Encrypt-then-MAC construction. More... | |
Detailed Description
Field Documentation
◆ authTagLen
◆ cipherAlgo
const CipherAlgo* cipherAlgo |
◆ cipherContext
◆ cipherMode
CipherMode cipherMode |
◆ dtlsSeqNum
DtlsSequenceNumber dtlsSeqNum |
◆ encKey
◆ encKeyLen
◆ encryptThenMac
◆ epoch
uint16_t epoch |
◆ fixedIvLen
◆ gcmContext
GcmContext* gcmContext |
◆ hashAlgo
◆ hmacContext
HmacContext* hmacContext |
◆ iv
◆ macKey
◆ macKeyLen
◆ recordIvLen
◆ recordSizeLimit
◆ seqNum
TlsSequenceNumber seqNum |
◆ version
The documentation for this struct was generated from the following file:
- cyclone_ssl/tls.h