chacha20_ctx_t Union Reference

Context of a ChaCha20 multipart operation. More...

Detailed Description

Context of a ChaCha20 multipart operation.

Definition at line 43 of file chacha20poly1305.h.

#include <chacha20poly1305.h>

Data Fields

uint32_t words [CHACHA20POLY1305_BLOCK_BYTES/sizeof(uint32_t)]
 < Array Access to ChaCha20 state
 
struct {
   uint32_t   constant [CHACHA20POLY1305_CONSTANT_BYTES/sizeof(uint32_t)]
 < Constant Value More...
 
   uint32_t   key [CHACHA20POLY1305_KEY_BYTES/sizeof(uint32_t)]
 Counter of the ChaCha20 operation.
 
   uint32_t   counter [CHACHA20POLY1305_COUNTER_BYTES/sizeof(uint32_t)]
 Nonce of the ChaCha20 operation.
 
   uint32_t   nonce [CHACHA20POLY1305_NONCE_BYTES/sizeof(uint32_t)]
 
split
 Individual access to ChaCha20 state.
 

Field Documentation

◆ constant

uint32_t chacha20_ctx_t::constant[CHACHA20POLY1305_CONSTANT_BYTES/sizeof(uint32_t)]

< Constant Value

Key of the ChaCha20 operation

Definition at line 48 of file chacha20poly1305.h.


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