A PRNG class for ChaCha20.
More...
#include <chacha20.h>
|
| ChaCha20 () |
|
| ChaCha20 (const unsigned char *key, size_t keylen) |
|
void | SetKey (const unsigned char *key, size_t keylen) |
|
void | SetIV (uint64_t iv) |
|
void | Seek (uint64_t pos) |
|
void | Output (unsigned char *output, size_t bytes) |
|
A PRNG class for ChaCha20.
Definition at line 13 of file chacha20.h.
◆ ChaCha20() [1/2]
◆ ChaCha20() [2/2]
ChaCha20::ChaCha20 |
( |
const unsigned char * |
key, |
|
|
size_t |
keylen |
|
) |
| |
◆ Output()
void ChaCha20::Output |
( |
unsigned char * |
output, |
|
|
size_t |
bytes |
|
) |
| |
◆ Seek()
void ChaCha20::Seek |
( |
uint64_t |
pos | ) |
|
◆ SetIV()
void ChaCha20::SetIV |
( |
uint64_t |
iv | ) |
|
◆ SetKey()
void ChaCha20::SetKey |
( |
const unsigned char * |
key, |
|
|
size_t |
keylen |
|
) |
| |
◆ input
uint32_t ChaCha20::input[16] |
|
private |
The documentation for this class was generated from the following files: