8 #ifndef BOTAN_SIMD_SCALAR_H__
9 #define BOTAN_SIMD_SCALAR_H__
11 #include <botan/loadstor.h>
12 #include <botan/bswap.h>
51 const byte* in_b =
static_cast<const byte*
>(in);
60 const byte* in_b =
static_cast<const byte*
>(in);
void store_be(byte out[]) const
void operator^=(const SIMD_Scalar &other)
void rotate_right(size_t rot)
SIMD_Scalar(u32bit B0, u32bit B1, u32bit B2, u32bit B3)
SIMD_Scalar operator<<(size_t shift) const
SIMD_Scalar bswap() const
static SIMD_Scalar load_le(const void *in)
SIMD_Scalar andc(const SIMD_Scalar &other)
void store_le(u16bit in, byte out[2])
static SIMD_Scalar load_be(const void *in)
T rotate_left(T input, size_t rot)
void operator-=(const SIMD_Scalar &other)
void store_le(byte out[]) const
SIMD_Scalar operator~() const
SIMD_Scalar operator&(const SIMD_Scalar &other)
void operator+=(const SIMD_Scalar &other)
SIMD_Scalar operator>>(size_t shift) const
T rotate_right(T input, size_t rot)
void operator&=(const SIMD_Scalar &other)
u32bit load_le< u32bit >(const byte in[], size_t off)
SIMD_Scalar operator^(const SIMD_Scalar &other) const
void rotate_left(size_t rot)
u32bit load_be< u32bit >(const byte in[], size_t off)
SIMD_Scalar operator-(const SIMD_Scalar &other) const
void operator|=(const SIMD_Scalar &other)
void store_be(u16bit in, byte out[2])
static void transpose(SIMD_Scalar &B0, SIMD_Scalar &B1, SIMD_Scalar &B2, SIMD_Scalar &B3)
SIMD_Scalar(const u32bit B[4])
SIMD_Scalar operator+(const SIMD_Scalar &other) const
u16bit reverse_bytes(u16bit val)