|
Botan 3.14.1
Crypto and TLS for C&
|
#include <simd_8x32.h>
Public Member Functions | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | andc (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | bswap () const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator& (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | operator&= (const SIMD_8x32 &other) |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator+ (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | operator+= (const SIMD_8x32 &other) |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator- (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | operator-= (const SIMD_8x32 &other) |
| SIMD_8x32 & | operator= (const SIMD_8x32 &other)=default |
| SIMD_8x32 & | operator= (SIMD_8x32 &&other)=default |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator^ (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | operator^= (const SIMD_8x32 &other) |
| BOTAN_FN_ISA_SIMD_8X32 void | operator^= (uint32_t other) |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator| (const SIMD_8x32 &other) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | operator|= (const SIMD_8x32 &other) |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | operator~ () const noexcept |
| __m256i BOTAN_FN_ISA_SIMD_8X32 | raw () const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | rev_words () const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | reverse () const noexcept |
| template<size_t ROT> requires (ROT > 0 && ROT < 32) | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | rotl () const noexcept |
| template<size_t ROT> | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | rotr () const noexcept |
| template<size_t I> requires (I > 0 && I <= 3) | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | shift_elems_left () const noexcept |
| template<size_t I> requires (I > 0 && I <= 3) | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | shift_elems_right () const noexcept |
| template<int SHIFT> | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | shl () const noexcept |
| template<int SHIFT> | |
| BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | shr () const noexcept |
| SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | sigma0 () const noexcept |
| SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | sigma1 () const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 BOTAN_FORCE_INLINE | SIMD_8x32 () noexcept |
| BOTAN_FN_ISA_SIMD_8X32 | SIMD_8x32 (__m256i x) noexcept |
| SIMD_8x32 (const SIMD_8x32 &other)=default | |
| BOTAN_FN_ISA_SIMD_8X32 | SIMD_8x32 (const uint32_t B[8]) noexcept |
| SIMD_8x32 (SIMD_8x32 &&other)=default | |
| BOTAN_FN_ISA_SIMD_8X32 | SIMD_8x32 (uint32_t B0, uint32_t B1, uint32_t B2, uint32_t B3) noexcept |
| BOTAN_FN_ISA_SIMD_8X32 | 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_SIMD_8X32 void | store_be (uint8_t out[]) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | store_le (uint32_t out[]) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | store_le (uint8_t out[]) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | store_le128 (uint32_t out1[], uint32_t out2[]) const noexcept |
| BOTAN_FN_ISA_SIMD_8X32 void | store_le128 (uint8_t out[]) const noexcept |
| SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | swap_halves () const noexcept |
| SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | unsigned_lt (const SIMD_8x32 &other) const noexcept |
| template<uint8_t POLY> | |
| SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | xtime () const noexcept |
| ~SIMD_8x32 ()=default | |
Static Public Member Functions | |
| static SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | alignr8 (const SIMD_8x32 &a, const SIMD_8x32 &b) |
| static SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | byte_shuffle (const SIMD_8x32 &tbl, const SIMD_8x32 &idx) |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | choose (const SIMD_8x32 &mask, const SIMD_8x32 &a, const SIMD_8x32 &b) noexcept |
| template<size_t Stride> | |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_be (const uint8_t *const *ptrs, size_t i, size_t n, size_t offset=0) |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_be (const uint8_t *in) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_be128 (const uint8_t in1[], const uint8_t in2[]) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_le (const uint32_t *in) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_le (const uint8_t *in) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_le128 (const uint32_t *in) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_le128 (const uint32_t in1[], const uint32_t in2[]) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | load_le128 (const uint8_t *in) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | majority (const SIMD_8x32 &x, const SIMD_8x32 &y, const SIMD_8x32 &z) noexcept |
| static SIMD_8x32 BOTAN_FN_ISA_SIMD_8X32 | masked_byte_shuffle (const SIMD_8x32 &tbl, const SIMD_8x32 &idx) |
| static BOTAN_FN_ISA_SIMD_8X32 void | reset_registers () noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 SIMD_8x32 | splat (uint32_t B) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 void | transpose (SIMD_8x32 &B0, SIMD_8x32 &B1, SIMD_8x32 &B2, SIMD_8x32 &B3) noexcept |
| static BOTAN_FN_ISA_SIMD_8X32 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_SIMD_8X32 void | zero_registers () noexcept |
Definition at line 19 of file simd_8x32.h.
|
default |
References SIMD_8x32().
Referenced by alignr8(), andc(), bswap(), byte_shuffle(), choose(), load_be(), load_be128(), load_le(), load_le(), load_le128(), load_le128(), load_le128(), majority(), masked_byte_shuffle(), operator&(), operator&=(), operator+(), operator+=(), operator-(), operator-=(), operator=(), operator=(), operator^(), operator^=(), operator|(), operator|=(), operator~(), rev_words(), reverse(), rotl(), rotr(), shift_elems_left(), shift_elems_right(), shl(), shr(), sigma0(), sigma1(), SIMD_8x32(), SIMD_8x32(), splat(), swap_halves(), transpose(), transpose(), unsigned_lt(), and xtime().
|
default |
References SIMD_8x32().
|
default |
|
inlinenoexcept |
Definition at line 30 of file simd_8x32.h.
References BOTAN_FORCE_INLINE.
Referenced by alignr8(), andc(), bswap(), byte_shuffle(), choose(), load_be128(), load_le(), load_le(), load_le128(), load_le128(), load_le128(), majority(), masked_byte_shuffle(), operator~(), rev_words(), reverse(), rotl(), shift_elems_left(), shift_elems_right(), shl(), shr(), splat(), swap_halves(), unsigned_lt(), and xtime().
|
inlineexplicitnoexcept |
Definition at line 33 of file simd_8x32.h.
|
inlineexplicitnoexcept |
Definition at line 39 of file simd_8x32.h.
|
inlineexplicitnoexcept |
Definition at line 52 of file simd_8x32.h.
|
inlineexplicitnoexcept |
Definition at line 393 of file simd_8x32.h.
|
inlinestatic |
Definition at line 286 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 243 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 248 of file simd_8x32.h.
References bswap(), SIMD_8x32(), and SIMD_8x32().
Referenced by bswap(), load_be(), reverse(), and store_be().
|
inlinestatic |
Definition at line 351 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 334 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by majority().
|
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 89 of file simd_8x32.h.
References load_be().
|
inlinestaticnoexcept |
Definition at line 81 of file simd_8x32.h.
References bswap(), load_le(), and SIMD_8x32().
Referenced by load_be(), and Botan::sha2_32_mb_compress_x8().
|
inlinestaticnoexcept |
Definition at line 111 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 66 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 61 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by load_be(), Botan::sha2_32_mb_compress_x8(), and Botan::sha2_32_mb_extract_x8().
|
inlinestaticnoexcept |
Definition at line 76 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 105 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 71 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 343 of file simd_8x32.h.
References choose(), SIMD_8x32(), and SIMD_8x32().
|
inlinestatic |
Byte shuffle with masking, performed within each half
If the top bit of an index byte is set the output byte is zero, otherwise the low 4 bits select a byte from the same half of tbl.
Definition at line 361 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 202 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 224 of file simd_8x32.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 174 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 209 of file simd_8x32.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 181 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 212 of file simd_8x32.h.
References SIMD_8x32().
References SIMD_8x32().
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 188 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 215 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 218 of file simd_8x32.h.
References splat().
|
inlinenoexcept |
Definition at line 195 of file simd_8x32.h.
References SIMD_8x32().
|
inline |
Definition at line 221 of file simd_8x32.h.
References SIMD_8x32().
|
inlinenoexcept |
Definition at line 237 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 390 of file simd_8x32.h.
Referenced by alignr8(), byte_shuffle(), Botan::gf2p8affine(), Botan::gf2p8affineinv(), Botan::gf2p8mul(), masked_byte_shuffle(), rev_words(), shift_elems_left(), shift_elems_right(), store_le128(), store_le128(), swap_halves(), unsigned_lt(), and xtime().
|
inlinestaticnoexcept |
Definition at line 385 of file simd_8x32.h.
|
inlinenoexcept |
|
inlinenoexcept |
Definition at line 261 of file simd_8x32.h.
References bswap(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 126 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::rotl(), and rotr().
|
inlinenoexcept |
Definition at line 155 of file simd_8x32.h.
References rotl(), and SIMD_8x32().
Referenced by Botan::rotr(), sigma0(), and sigma1().
|
inlinenoexcept |
Definition at line 291 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 298 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 227 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by Botan::shl().
|
inlinenoexcept |
Definition at line 232 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 159 of file simd_8x32.h.
References rotr(), and SIMD_8x32().
|
inlinenoexcept |
Definition at line 166 of file simd_8x32.h.
References rotr(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 58 of file simd_8x32.h.
References SIMD_8x32(), and SIMD_8x32().
Referenced by operator^=().
|
inlinenoexcept |
Definition at line 123 of file simd_8x32.h.
References bswap(), and store_le().
Referenced by Botan::sha2_32_mb_extract_x8().
|
inlinenoexcept |
Definition at line 97 of file simd_8x32.h.
|
inlinenoexcept |
Definition at line 94 of file simd_8x32.h.
Referenced by Botan::sha2_32_mb_compress_x8(), and store_be().
|
inlinenoexcept |
Definition at line 118 of file simd_8x32.h.
References raw().
|
inlinenoexcept |
|
inlinenoexcept |
Swap the two 128-bit halves of the register
Definition at line 368 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 274 of file simd_8x32.h.
References SIMD_8x32().
Referenced by Botan::sha2_32_mb_compress_x8(), Botan::sha2_32_mb_extract_x8(), and transpose().
|
inlinestaticnoexcept |
Definition at line 305 of file simd_8x32.h.
References SIMD_8x32(), and transpose().
|
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 327 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinenoexcept |
Multiply each byte by x in GF(2^8) using the reduction polynomial given by POLY (which omits the implicit x^8 term)
Definition at line 377 of file simd_8x32.h.
References raw(), SIMD_8x32(), and SIMD_8x32().
|
inlinestaticnoexcept |
Definition at line 388 of file simd_8x32.h.