Botan
1.11.15
|
#include <botan/internal/block_utils.h>
#include <botan/serpent.h>
#include <botan/internal/serpent_sbox.h>
Go to the source code of this file.
Namespaces | |
namespace | Botan |
Defines | |
#define | key_xor(round, B0, B1, B2, B3) |
Functions | |
Botan::BOTAN_REGISTER_BLOCK_CIPHER_NOARGS (Serpent) |
#define key_xor | ( | round, | |
B0, | |||
B1, | |||
B2, | |||
B3 | |||
) |
B0 ^= round_key[4*round ]; \ B1 ^= round_key[4*round+1]; \ B2 ^= round_key[4*round+2]; \ B3 ^= round_key[4*round+3];
Definition at line 47 of file serpent.cpp.
Referenced by Botan::Serpent::decrypt_n(), and Botan::Serpent::encrypt_n().