|
Botan
1.11.15
|
#include <botan/internal/stream_utils.h>#include <botan/chacha.h>Go to the source code of this file.
Namespaces | |
| namespace | Botan |
Defines | |
| #define | CHACHA_QUARTER_ROUND(a, b, c, d) |
Functions | |
| Botan::BOTAN_REGISTER_STREAM_CIPHER_NOARGS (ChaCha) | |
| #define CHACHA_QUARTER_ROUND | ( | a, | |
| b, | |||
| c, | |||
| d | |||
| ) |
do { \ a += b; d ^= a; d = rotate_left(d, 16); \ c += d; b ^= c; b = rotate_left(b, 12); \ a += b; d ^= a; d = rotate_left(d, 8); \ c += d; b ^= c; b = rotate_left(b, 7); \ } while(0)
Referenced by Botan::ChaCha::chacha().
1.7.6.1