DeterministicESPAsyncWebServer v6.28.0
Zero-allocation, bounded-execution async HTTP server for ESP32
Loading...
Searching...
No Matches
DETWS_CRYPTO_HOT Namespace Reference

Functions

uint32_t rd_le32 (const uint8_t *p)
 
uint32_t rotl32 (uint32_t v, int c)
 
void chacha_core (const uint32_t in[16], uint8_t out[64])
 
void wr_le32 (uint8_t *p, uint32_t v)
 
void poly_block (uint32_t h[5], const uint32_t r[5], const uint32_t sr[5], const uint8_t blk[16], uint32_t hibit)
 

Variables

const uint32_t SIGMA0 = 0x61707865
 
const uint32_t SIGMA1 = 0x3320646e
 
const uint32_t SIGMA2 = 0x79622d32
 
const uint32_t SIGMA3 = 0x6b206574
 

Function Documentation

◆ rd_le32()

uint32_t DETWS_CRYPTO_HOT::rd_le32 ( const uint8_t *  p)

Definition at line 22 of file ssh_chacha20.cpp.

References rd_le32().

Referenced by poly_block(), and rd_le32().

◆ rotl32()

uint32_t DETWS_CRYPTO_HOT::rotl32 ( uint32_t  v,
int  c 
)

Definition at line 26 of file ssh_chacha20.cpp.

References rotl32().

Referenced by rotl32().

◆ chacha_core()

void DETWS_CRYPTO_HOT::chacha_core ( const uint32_t  in[16],
uint8_t  out[64] 
)

Definition at line 46 of file ssh_chacha20.cpp.

References chacha_core(), and QR.

Referenced by chacha_core().

◆ wr_le32()

void DETWS_CRYPTO_HOT::wr_le32 ( uint8_t *  p,
uint32_t  v 
)

Definition at line 29 of file ssh_poly1305.cpp.

References wr_le32().

Referenced by wr_le32().

◆ poly_block()

void DETWS_CRYPTO_HOT::poly_block ( uint32_t  h[5],
const uint32_t  r[5],
const uint32_t  sr[5],
const uint8_t  blk[16],
uint32_t  hibit 
)

Definition at line 39 of file ssh_poly1305.cpp.

References poly_block(), and rd_le32().

Referenced by poly_block().

Variable Documentation

◆ SIGMA0

const uint32_t DETWS_CRYPTO_HOT::SIGMA0 = 0x61707865

Definition at line 73 of file ssh_chacha20.cpp.

◆ SIGMA1

const uint32_t DETWS_CRYPTO_HOT::SIGMA1 = 0x3320646e

Definition at line 74 of file ssh_chacha20.cpp.

◆ SIGMA2

const uint32_t DETWS_CRYPTO_HOT::SIGMA2 = 0x79622d32

Definition at line 75 of file ssh_chacha20.cpp.

◆ SIGMA3

const uint32_t DETWS_CRYPTO_HOT::SIGMA3 = 0x6b206574

Definition at line 76 of file ssh_chacha20.cpp.