Loading...
Searching...
No Matches
chacha_ctx Struct Reference

A ChaCha cipher stream context. More...

Detailed Description

A ChaCha cipher stream context.

Initialize with chacha_init().

Definition at line 48 of file chacha.h.

#include <chacha.h>

Data Fields

uint32_t state [16]
 The current state of the stream.
 
uint8_t rounds
 Number of iterations.
 

Field Documentation

◆ rounds

uint8_t chacha_ctx::rounds

Number of iterations.

Definition at line 50 of file chacha.h.

◆ state

uint32_t chacha_ctx::state[16]

The current state of the stream.

Definition at line 49 of file chacha.h.


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