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 <crypto/chacha.h>

Data Fields

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

Field Documentation

◆ rounds

uint8_t chacha_ctx::rounds

Number of iterations.

Definition at line 51 of file chacha.h.

◆ state

uint32_t chacha_ctx::state[16]

The current state of the stream.

Definition at line 50 of file chacha.h.


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