DeterministicESPAsyncWebServer v6.27.1
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
SshAesGcmCtx Struct Reference

AES-256-GCM context for one SSH direction (HW AES on ESP32). More...

#include <ssh_aesgcm.h>

Public Attributes

mbedtls_aes_context mbed
 mbedtls context (HW-accelerated on ESP32), encrypt key schedule.
 
uint8_t h [16]
 GHASH subkey H = E(K, 0^128).
 
GhashKey ghk
 4-bit GHASH table built from H (once at init).
 
uint8_t iv [SSH_AESGCM_IV_LEN]
 current nonce; low 8 bytes (invocation counter) ++ per packet.
 
bool ready
 true once a key/IV is installed.
 

Detailed Description

AES-256-GCM context for one SSH direction (HW AES on ESP32).

Definition at line 49 of file ssh_aesgcm.h.

Member Data Documentation

◆ mbed

mbedtls_aes_context SshAesGcmCtx::mbed

mbedtls context (HW-accelerated on ESP32), encrypt key schedule.

Definition at line 51 of file ssh_aesgcm.h.

◆ h

uint8_t SshAesGcmCtx::h[16]

GHASH subkey H = E(K, 0^128).

Definition at line 52 of file ssh_aesgcm.h.

Referenced by ssh_aesgcm_init().

◆ ghk

GhashKey SshAesGcmCtx::ghk

4-bit GHASH table built from H (once at init).

Definition at line 53 of file ssh_aesgcm.h.

Referenced by ssh_aesgcm_init().

◆ iv

uint8_t SshAesGcmCtx::iv[SSH_AESGCM_IV_LEN]

current nonce; low 8 bytes (invocation counter) ++ per packet.

Definition at line 54 of file ssh_aesgcm.h.

Referenced by ssh_aesgcm_init(), ssh_aesgcm_open(), and ssh_aesgcm_seal().

◆ ready

bool SshAesGcmCtx::ready

true once a key/IV is installed.

Definition at line 55 of file ssh_aesgcm.h.

Referenced by ssh_aesgcm_init().


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