SshEncryptionEngine Struct Reference

Encryption engine. More...

#include <ssh.h>

Data Fields

CipherMode cipherMode
 Cipher mode of operation. More...
const CipherAlgocipherAlgo
 Cipher algorithm. More...
CipherContext cipherContext
 Cipher context. More...
const HashAlgohashAlgo
 Hash algorithm for MAC operations. More...
 HMAC context. More...
size_t macSize
 Size of the MAC tag, in bytes. More...
bool_t etm
 Encrypt-then-MAC. More...
 Initialization vector. More...
uint8_t encKey [SSH_MAX_ENC_KEY_SIZE]
 Encryption key. More...
size_t encKeyLen
 Length of the encryption key, in bytes. More...
 Integrity key. More...
uint8_t seqNum [4]
 Sequence number. More...
GcmContext gcmContext
 GCM context. More...
uint8_t aad [4]
 Additional authenticated data. More...

Detailed Description

Encryption engine.

Definition at line 1273 of file ssh.h.

Field Documentation

◆ aad

uint8_t aad[4]

Additional authenticated data.

Definition at line 1291 of file ssh.h.

◆ cipherAlgo

const CipherAlgo* cipherAlgo

Cipher algorithm.

Definition at line 1276 of file ssh.h.

◆ cipherContext

CipherContext cipherContext

Cipher context.

Definition at line 1277 of file ssh.h.

◆ cipherMode

CipherMode cipherMode

Cipher mode of operation.

Definition at line 1275 of file ssh.h.

◆ encKey

uint8_t encKey[SSH_MAX_ENC_KEY_SIZE]

Encryption key.

Definition at line 1283 of file ssh.h.

◆ encKeyLen

size_t encKeyLen

Length of the encryption key, in bytes.

Definition at line 1284 of file ssh.h.

◆ etm

bool_t etm


Definition at line 1281 of file ssh.h.

◆ gcmContext

GcmContext gcmContext

GCM context.

Definition at line 1288 of file ssh.h.

◆ hashAlgo

const HashAlgo* hashAlgo

Hash algorithm for MAC operations.

Definition at line 1278 of file ssh.h.

◆ hmacContext

HmacContext* hmacContext

HMAC context.

Definition at line 1279 of file ssh.h.

◆ iv

Initialization vector.

Definition at line 1282 of file ssh.h.

◆ macKey


Integrity key.

Definition at line 1285 of file ssh.h.

◆ macSize

size_t macSize

Size of the MAC tag, in bytes.

Definition at line 1280 of file ssh.h.

◆ seqNum

uint8_t seqNum[4]

Sequence number.

Definition at line 1286 of file ssh.h.

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