Botan 3.8.1
Crypto and TLS for C&
|
#include <simd_avx2.h>
Public Member Functions | |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | andc (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | bswap () const noexcept |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator& (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 void | operator&= (const SIMD_8x32 &other) |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator+ (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 void | operator+= (const SIMD_8x32 &other) |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator- (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 void | operator-= (const SIMD_8x32 &other) |
SIMD_8x32 & | operator= (const SIMD_8x32 &other)=default |
SIMD_8x32 & | operator= (SIMD_8x32 &&other)=default |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator^ (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 void | operator^= (const SIMD_8x32 &other) |
BOTAN_FN_ISA_AVX2 void | operator^= (uint32_t other) |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator| (const SIMD_8x32 &other) const noexcept |
BOTAN_FN_ISA_AVX2 void | operator|= (const SIMD_8x32 &other) |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | operator~ () const noexcept |
__m256i BOTAN_FN_ISA_AVX2 | raw () const noexcept |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | rev_words () const noexcept |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | reverse () const noexcept |
template<size_t ROT> requires (ROT > 0 && ROT < 32) | |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | rotl () const noexcept |
template<size_t ROT> | |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | rotr () const noexcept |
template<int SHIFT> | |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | shl () const noexcept |
template<int SHIFT> | |
BOTAN_FN_ISA_AVX2 SIMD_8x32 | shr () const noexcept |
SIMD_8x32 BOTAN_FN_ISA_AVX2 | sigma0 () const noexcept |
SIMD_8x32 BOTAN_FN_ISA_AVX2 | sigma1 () const noexcept |
BOTAN_FN_ISA_AVX2 BOTAN_FORCE_INLINE | SIMD_8x32 () noexcept |
BOTAN_FN_ISA_AVX2 | SIMD_8x32 (__m256i x) noexcept |
SIMD_8x32 (const SIMD_8x32 &other)=default | |
BOTAN_FN_ISA_AVX2 | SIMD_8x32 (const uint32_t B[8]) noexcept |
SIMD_8x32 (SIMD_8x32 &&other)=default | |
BOTAN_FN_ISA_AVX2 | SIMD_8x32 (uint32_t B0, uint32_t B1, uint32_t B2, uint32_t B3) noexcept |
BOTAN_FN_ISA_AVX2 | SIMD_8x32 (uint32_t B0, uint32_t B1, uint32_t B2, uint32_t B3, uint32_t B4, uint32_t B5, uint32_t B6, uint32_t B7) noexcept |
BOTAN_FN_ISA_AVX2 void | store_be (uint8_t out[]) const noexcept |
BOTAN_FN_ISA_AVX2 void | store_le (uint8_t out[]) const noexcept |
BOTAN_FN_ISA_AVX2 void | store_le128 (uint32_t out1[], uint32_t out2[]) const noexcept |
BOTAN_FN_ISA_AVX2 void | store_le128 (uint8_t out[]) const noexcept |
~SIMD_8x32 ()=default | |
Static Public Member Functions | |
static SIMD_8x32 BOTAN_FN_ISA_AVX2 | byte_shuffle (const SIMD_8x32 &tbl, const SIMD_8x32 &idx) |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | choose (const SIMD_8x32 &mask, const SIMD_8x32 &a, const SIMD_8x32 &b) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_be (const uint8_t *in) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_be128 (const uint8_t in1[], const uint8_t in2[]) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_le (const uint32_t *in) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_le (const uint8_t *in) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_le128 (const uint32_t *in) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_le128 (const uint32_t in1[], const uint32_t in2[]) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | load_le128 (const uint8_t *in) noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | majority (const SIMD_8x32 &x, const SIMD_8x32 &y, const SIMD_8x32 &z) noexcept |
static BOTAN_FN_ISA_AVX2 void | reset_registers () noexcept |
static BOTAN_FN_ISA_AVX2 SIMD_8x32 | splat (uint32_t B) noexcept |
static BOTAN_FN_ISA_AVX2 void | transpose (SIMD_8x32 &B0, SIMD_8x32 &B1, SIMD_8x32 &B2, SIMD_8x32 &B3) noexcept |
static BOTAN_FN_ISA_AVX2 void | transpose (SIMD_8x32 &B0, SIMD_8x32 &B1, SIMD_8x32 &B2, SIMD_8x32 &B3, SIMD_8x32 &B4, SIMD_8x32 &B5, SIMD_8x32 &B6, SIMD_8x32 &B7) noexcept |
static BOTAN_FN_ISA_AVX2 void | zero_registers () noexcept |
Definition at line 17 of file simd_avx2.h.
|
default |
References SIMD_8x32().
Referenced by andc(), bswap(), byte_shuffle(), choose(), load_be(), load_be128(), load_le(), load_le(), load_le128(), load_le128(), load_le128(), majority(), operator&(), operator&=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator=(), operator^(), operator^=(), operator|(), operator|=(), operator~(), rev_words(), reverse(), rotl(), rotr(), shl(), shr(), sigma0(), sigma1(), SIMD_8x32(), SIMD_8x32(), splat(), transpose(), and transpose().
|
default |
References SIMD_8x32().
|
default |
|
inlinenoexcept |
Definition at line 28 of file simd_avx2.h.
References BOTAN_FORCE_INLINE.
Referenced by andc(), bswap(), byte_shuffle(), load_be128(), load_le(), load_le(), load_le128(), load_le128(), load_le128(), operator~(), rev_words(), reverse(), rotl(), shl(), shr(), and splat().
|
inlineexplicitnoexcept |
Definition at line 31 of file simd_avx2.h.
|
inlineexplicitnoexcept |
Definition at line 36 of file simd_avx2.h.
|
inlineexplicitnoexcept |
Definition at line 48 of file simd_avx2.h.
|
inlinenoexcept |
Definition at line 317 of file simd_avx2.h.
Definition at line 225 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 230 of file simd_avx2.h.
References bswap(), SIMD_8x32(), and SIMD_8x32().
Referenced by bswap(), load_be(), reverse(), and store_be().
|
inlinestatic |
Definition at line 304 of file simd_avx2.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 287 of file simd_avx2.h.
References SIMD_8x32().
Referenced by majority().
|
inlinestaticnoexcept |
Definition at line 76 of file simd_avx2.h.
References bswap(), load_le(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 93 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 61 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 56 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by load_be().
|
inlinestaticnoexcept |
Definition at line 71 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 87 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 66 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 296 of file simd_avx2.h.
References choose(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 184 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 206 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 156 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 191 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 163 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 194 of file simd_avx2.h.
References SIMD_8x32().
References SIMD_8x32().
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 170 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 197 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 200 of file simd_avx2.h.
References splat().
|
inlinenoexcept |
Definition at line 177 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 203 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 219 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 314 of file simd_avx2.h.
Referenced by byte_shuffle(), Botan::gf2p8affine(), Botan::gf2p8affineinv(), Botan::gf2p8mul(), rev_words(), store_le128(), and store_le128().
|
inlinestaticnoexcept |
Definition at line 309 of file simd_avx2.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 243 of file simd_avx2.h.
References bswap(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 108 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::rotl(), and rotr().
|
inlinenoexcept |
Definition at line 137 of file simd_avx2.h.
References rotl(), and SIMD_8x32().
Referenced by Botan::rotr(), sigma0(), and sigma1().
|
inlinenoexcept |
Definition at line 209 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::shl().
|
inlinenoexcept |
Definition at line 214 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 141 of file simd_avx2.h.
References rotr(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 148 of file simd_avx2.h.
References rotr(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 53 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by operator^=().
|
inlinenoexcept |
Definition at line 105 of file simd_avx2.h.
References bswap(), and store_le().
|
inlinenoexcept |
Definition at line 79 of file simd_avx2.h.
Referenced by store_be().
|
inlinenoexcept |
Definition at line 100 of file simd_avx2.h.
References raw().
|
inlinenoexcept |
Definition at line 82 of file simd_avx2.h.
References raw().
|
inlinestaticnoexcept |
Definition at line 256 of file simd_avx2.h.
References SIMD_8x32().
Referenced by transpose().
|
inlinestaticnoexcept |
Definition at line 269 of file simd_avx2.h.
References SIMD_8x32(), and transpose().
|
inlinestaticnoexcept |
Definition at line 312 of file simd_avx2.h.