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

#include <ssh_aes256ctr.h>

Public Attributes

mbedtls_aes_context _mbed
 mbedtls context with pre-expanded key schedule.
 
uint8_t counter [16]
 Current CTR block (big-endian 128-bit counter).
 
uint8_t keystream [16]
 Buffered keystream from last AES-ECB call.
 
uint8_t pos
 Next byte position within keystream[].
 

Detailed Description

Definition at line 52 of file ssh_aes256ctr.h.

Member Data Documentation

◆ _mbed

mbedtls_aes_context SshAesCtrCtx::_mbed

mbedtls context with pre-expanded key schedule.

Definition at line 54 of file ssh_aes256ctr.h.

Referenced by ssh_aes256ctr_crypt(), ssh_aes256ctr_init(), and ssh_aes256ctr_wipe().

◆ counter

uint8_t SshAesCtrCtx::counter[16]

Current CTR block (big-endian 128-bit counter).

Definition at line 55 of file ssh_aes256ctr.h.

Referenced by ssh_aes256ctr_crypt(), ssh_aes256ctr_init(), and ssh_pkt_recv().

◆ keystream

uint8_t SshAesCtrCtx::keystream[16]

Buffered keystream from last AES-ECB call.

Definition at line 56 of file ssh_aes256ctr.h.

Referenced by ssh_aes256ctr_crypt(), ssh_aes256ctr_init(), and ssh_pkt_recv().

◆ pos

uint8_t SshAesCtrCtx::pos

Next byte position within keystream[].

Definition at line 57 of file ssh_aes256ctr.h.

Referenced by ssh_aes256ctr_crypt(), ssh_aes256ctr_init(), and ssh_pkt_recv().


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