|
Botan 3.14.1
Crypto and TLS for C&
|
#include <simd_avx512.h>
Public Member Functions | |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | andc (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | bswap () const |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator& (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 void | operator&= (const SIMD_16x32 &other) |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator+ (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 void | operator+= (const SIMD_16x32 &other) |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator- (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 void | operator-= (const SIMD_16x32 &other) |
| SIMD_16x32 & | operator= (const SIMD_16x32 &other)=default |
| SIMD_16x32 & | operator= (SIMD_16x32 &&other)=default |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator^ (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 void | operator^= (const SIMD_16x32 &other) |
| BOTAN_FN_ISA_AVX512 void | operator^= (uint32_t other) |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator| (const SIMD_16x32 &other) const |
| BOTAN_FN_ISA_AVX512 void | operator|= (const SIMD_16x32 &other) |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | operator~ () const |
| __m512i BOTAN_FN_ISA_AVX512 | raw () const |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | rev_words () const noexcept |
| template<size_t ROT> requires (ROT > 0 && ROT < 32) | |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | rotl () const |
| template<size_t ROT> | |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | rotr () const |
| template<int SHIFT> | |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | shl () const |
| template<int SHIFT> | |
| BOTAN_FN_ISA_AVX512 SIMD_16x32 | shr () const |
| SIMD_16x32 BOTAN_FN_ISA_AVX512 | sigma0 () const |
| SIMD_16x32 BOTAN_FN_ISA_AVX512 | sigma1 () const |
| BOTAN_FN_ISA_AVX512 BOTAN_FORCE_INLINE | SIMD_16x32 () |
| BOTAN_FN_ISA_AVX512 | SIMD_16x32 (__m512i x) noexcept |
| SIMD_16x32 (const SIMD_16x32 &other)=default | |
| BOTAN_FN_ISA_AVX512 | SIMD_16x32 (const uint32_t B[16]) |
| SIMD_16x32 (SIMD_16x32 &&other)=default | |
| BOTAN_FN_ISA_AVX512 | SIMD_16x32 (uint32_t B0, uint32_t B1, uint32_t B2, uint32_t B3, uint32_t B4, uint32_t B5, uint32_t B6, uint32_t B7, uint32_t B8, uint32_t B9, uint32_t BA, uint32_t BB, uint32_t BC, uint32_t BD, uint32_t BE, uint32_t BF) |
| BOTAN_FN_ISA_AVX512 void | store_be (uint8_t out[]) const |
| BOTAN_FN_ISA_AVX512 void | store_le (uint8_t out[]) const |
| SIMD_16x32 BOTAN_FN_ISA_AVX512 | unsigned_lt (const SIMD_16x32 &other) const noexcept |
| ~SIMD_16x32 ()=default | |
Static Public Member Functions | |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | choose (const SIMD_16x32 &mask, const SIMD_16x32 &a, const SIMD_16x32 &b) |
| template<size_t Stride> | |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | load_be (const uint8_t *const *ptrs, size_t i, size_t n, size_t offset=0) |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | load_be (const uint8_t *in) |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | load_le (const uint8_t *in) |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | majority (const SIMD_16x32 &x, const SIMD_16x32 &y, const SIMD_16x32 &z) |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | splat (uint32_t B) |
| template<uint8_t TBL> | |
| static BOTAN_FN_ISA_AVX512 SIMD_16x32 | ternary_fn (const SIMD_16x32 &a, const SIMD_16x32 &b, const SIMD_16x32 &c) |
| static BOTAN_FN_ISA_AVX512 void | transpose (SIMD_16x32 &B0, SIMD_16x32 &B1, SIMD_16x32 &B2, SIMD_16x32 &B3) |
| static BOTAN_FN_ISA_AVX512 void | transpose (SIMD_16x32 &B0, SIMD_16x32 &B1, SIMD_16x32 &B2, SIMD_16x32 &B3, SIMD_16x32 &B4, SIMD_16x32 &B5, SIMD_16x32 &B6, SIMD_16x32 &B7, SIMD_16x32 &B8, SIMD_16x32 &B9, SIMD_16x32 &BA, SIMD_16x32 &BB, SIMD_16x32 &BC, SIMD_16x32 &BD, SIMD_16x32 &BE, SIMD_16x32 &BF) |
| static BOTAN_FN_ISA_AVX512 void | zero_registers () |
Definition at line 19 of file simd_avx512.h.
|
default |
References SIMD_16x32().
Referenced by andc(), bswap(), choose(), load_be(), load_be(), load_le(), majority(), operator&(), operator&=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator=(), operator^(), operator^=(), operator|(), operator|=(), operator~(), rev_words(), rotl(), rotr(), shl(), shr(), sigma0(), sigma1(), SIMD_16x32(), SIMD_16x32(), splat(), ternary_fn(), transpose(), transpose(), and unsigned_lt().
|
default |
References SIMD_16x32().
|
default |
|
inline |
Definition at line 30 of file simd_avx512.h.
References BOTAN_FORCE_INLINE.
Referenced by andc(), bswap(), load_le(), operator~(), rev_words(), rotl(), shl(), shr(), splat(), ternary_fn(), and unsigned_lt().
|
inlineexplicit |
Definition at line 33 of file simd_avx512.h.
|
inlineexplicit |
Definition at line 39 of file simd_avx512.h.
|
inlineexplicitnoexcept |
Definition at line 332 of file simd_avx512.h.
|
inline |
Definition at line 179 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
|
inline |
Definition at line 189 of file simd_avx512.h.
References bswap(), SIMD_16x32(), and SIMD_16x32().
Referenced by bswap(), load_be(), Botan::sha2_32_mb_extract_x16(), and store_be().
|
inlinestatic |
Definition at line 315 of file simd_avx512.h.
References SIMD_16x32(), and ternary_fn().
|
inlinestatic |
Load in big endian order from ptrs[i] + Stride * n + offset, gathering lane i's n'th block out of a set of per lane buffers
Definition at line 75 of file simd_avx512.h.
References load_be(), and SIMD_16x32().
|
inlinestatic |
Definition at line 68 of file simd_avx512.h.
References bswap(), load_le(), and SIMD_16x32().
Referenced by load_be(), and Botan::sha2_32_mb_compress_x16().
|
inlinestatic |
Definition at line 63 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
Referenced by load_be(), Botan::sha2_32_mb_compress_x16(), and Botan::sha2_32_mb_extract_x16().
|
inlinestatic |
Definition at line 320 of file simd_avx512.h.
References SIMD_16x32(), and ternary_fn().
|
inline |
Definition at line 140 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 162 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 112 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 147 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 119 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 150 of file simd_avx512.h.
References SIMD_16x32().
|
default |
References SIMD_16x32().
|
default |
References SIMD_16x32().
|
inline |
Definition at line 126 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 153 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 156 of file simd_avx512.h.
References splat().
|
inline |
Definition at line 133 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
Definition at line 159 of file simd_avx512.h.
References SIMD_16x32().
|
inline |
|
inline |
Definition at line 329 of file simd_avx512.h.
Referenced by Botan::gf2p8affine(), Botan::gf2p8affineinv(), rev_words(), ternary_fn(), transpose(), and unsigned_lt().
|
inlinenoexcept |
|
inline |
Definition at line 86 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
Referenced by Botan::rotl(), and rotr().
|
inline |
Definition at line 93 of file simd_avx512.h.
References rotl(), and SIMD_16x32().
Referenced by Botan::rotr(), sigma0(), and sigma1().
|
inline |
Definition at line 165 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
Referenced by Botan::shl().
|
inline |
Definition at line 170 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
|
inline |
Definition at line 97 of file simd_avx512.h.
References rotr(), and SIMD_16x32().
|
inline |
Definition at line 104 of file simd_avx512.h.
References rotr(), and SIMD_16x32().
|
inlinestatic |
Definition at line 60 of file simd_avx512.h.
References SIMD_16x32(), and SIMD_16x32().
Referenced by operator^=().
|
inline |
Definition at line 83 of file simd_avx512.h.
References bswap(), and store_le().
|
inline |
Definition at line 80 of file simd_avx512.h.
Referenced by Botan::sha2_32_mb_compress_x16(), and store_be().
|
inlinestatic |
Definition at line 184 of file simd_avx512.h.
References raw(), SIMD_16x32(), and SIMD_16x32().
Referenced by choose(), and majority().
|
inlinestatic |
Definition at line 207 of file simd_avx512.h.
References SIMD_16x32().
Referenced by Botan::sha2_32_mb_compress_x16(), and Botan::sha2_32_mb_extract_x16().
|
inlinestatic |
Definition at line 220 of file simd_avx512.h.
References raw(), and SIMD_16x32().
|
inlinenoexcept |
Unsigned lane comparison; returns a mask with all bits set in each 32-bit lane that is (unsigned) less than the corresponding lane of other, and all bits cleared otherwise.
Definition at line 310 of file simd_avx512.h.
References raw(), SIMD_16x32(), and SIMD_16x32().
|
inlinestatic |
Definition at line 324 of file simd_avx512.h.