Botan 3.9.0
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 (uint32_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 19 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 30 of file simd_avx2.h.
References BOTAN_FORCE_INLINE.
Referenced by andc(), bswap(), byte_shuffle(), choose(), load_be128(), load_le(), load_le(), load_le128(), load_le128(), load_le128(), majority(), operator~(), rev_words(), reverse(), rotl(), shl(), shr(), and splat().
|
inlineexplicitnoexcept |
Definition at line 33 of file simd_avx2.h.
|
inlineexplicitnoexcept |
Definition at line 39 of file simd_avx2.h.
|
inlineexplicitnoexcept |
Definition at line 52 of file simd_avx2.h.
|
inlineexplicitnoexcept |
Definition at line 325 of file simd_avx2.h.
Definition at line 233 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 238 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 312 of file simd_avx2.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 295 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by majority().
|
inlinestaticnoexcept |
Definition at line 81 of file simd_avx2.h.
References bswap(), load_le(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 101 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 61 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by load_be().
|
inlinestaticnoexcept |
Definition at line 76 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 95 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 71 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 304 of file simd_avx2.h.
References choose(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 192 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 214 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 164 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 199 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 171 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 202 of file simd_avx2.h.
References SIMD_8x32().
References SIMD_8x32().
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 178 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 205 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 208 of file simd_avx2.h.
References splat().
|
inlinenoexcept |
Definition at line 185 of file simd_avx2.h.
References SIMD_8x32().
|
inline |
Definition at line 211 of file simd_avx2.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 227 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 322 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 317 of file simd_avx2.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 251 of file simd_avx2.h.
References bswap(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 116 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::rotl(), and rotr().
|
inlinenoexcept |
Definition at line 145 of file simd_avx2.h.
References rotl(), and SIMD_8x32().
Referenced by Botan::rotr(), sigma0(), and sigma1().
|
inlinenoexcept |
Definition at line 217 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::shl().
|
inlinenoexcept |
Definition at line 222 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 149 of file simd_avx2.h.
References rotr(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 156 of file simd_avx2.h.
References rotr(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 58 of file simd_avx2.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by operator^=().
|
inlinenoexcept |
Definition at line 113 of file simd_avx2.h.
References bswap(), and store_le().
|
inlinenoexcept |
Definition at line 87 of file simd_avx2.h.
|
inlinenoexcept |
Definition at line 84 of file simd_avx2.h.
Referenced by store_be().
|
inlinenoexcept |
Definition at line 108 of file simd_avx2.h.
References raw().
|
inlinenoexcept |
Definition at line 90 of file simd_avx2.h.
References raw().
|
inlinestaticnoexcept |
Definition at line 264 of file simd_avx2.h.
References SIMD_8x32().
Referenced by transpose().
|
inlinestaticnoexcept |
Definition at line 277 of file simd_avx2.h.
References SIMD_8x32(), and transpose().
|
inlinestaticnoexcept |
Definition at line 320 of file simd_avx2.h.