#include <openssl/chacha.h>#include <assert.h>#include <string.h>#include <openssl/cpu.h>#include "../internal.h"#include "internal.h"
Go to the source code of this file.
Macros | |
| #define | QUARTERROUND(a, b, c, d) |
Functions | |
| static void | chacha_core (uint8_t output[64], const uint32_t input[16]) |
| void | CRYPTO_chacha_20 (uint8_t *out, const uint8_t *in, size_t in_len, const uint8_t key[32], const uint8_t nonce[12], uint32_t counter) |
| void | CRYPTO_hchacha20 (uint8_t out[32], const uint8_t key[32], const uint8_t nonce[16]) |
Variables | |
| static const uint8_t | sigma [16] |