7#ifndef BOTAN_SERPENT_FUNCS_H_
8#define BOTAN_SERPENT_FUNCS_H_
10#include <botan/compiler.h>
11#include <botan/types.h>
12#include <botan/internal/rotate.h>
60 inline void operator()(
size_t R, T& B0, T& B1, T& B2, T& B3)
const {
62 B1 ^= m_RK[4 * R + 1];
63 B2 ^= m_RK[4 * R + 2];
64 B3 ^= m_RK[4 * R + 3];
60 inline void operator()(
size_t R, T& B0, T& B1, T& B2, T& B3)
const {
…}
Key_Inserter(const uint32_t *RK)
void operator()(size_t R, T &B0, T &B1, T &B2, T &B3) const
#define BOTAN_FORCE_INLINE
BOTAN_FORCE_INLINE void transform(T &B0, T &B1, T &B2, T &B3)
BOTAN_FORCE_INLINE uint32_t shl(uint32_t v)
BOTAN_FORCE_INLINE void i_transform(T &B0, T &B1, T &B2, T &B3)
constexpr T rotl(T input)
constexpr T rotr(T input)