Botan  2.4.0
Crypto and TLS for C++11
Namespaces | Macros
serpent.cpp File Reference
#include <botan/serpent.h>
#include <botan/loadstor.h>
#include <botan/internal/serpent_sbox.h>
#include <botan/cpuid.h>

Go to the source code of this file.

Namespaces

 Botan
 

Macros

#define key_xor(round, B0, B1, B2, B3)
 

Macro Definition Documentation

◆ key_xor

#define key_xor (   round,
  B0,
  B1,
  B2,
  B3 
)
Value:
B0 ^= m_round_key[4*round ]; \
B1 ^= m_round_key[4*round+1]; \
B2 ^= m_round_key[4*round+2]; \
B3 ^= m_round_key[4*round+3];

Definition at line 49 of file serpent.cpp.

Referenced by Botan::Serpent::decrypt_n(), and Botan::Serpent::encrypt_n().