|
Botan 3.14.1
Crypto and TLS for C&
|
#include <simd_8x64.h>
Public Member Functions | |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | andc (const SIMD_8x64 &other) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | bswap () const |
| template<int LANE> requires (LANE >= 0 && LANE < 8) | |
| uint64_t BOTAN_FN_ISA_SIMD_8X64 | extract () const |
| uint8_t BOTAN_FN_ISA_SIMD_8X64 | lanes_eq (const SIMD_8x64 &other) const |
| uint8_t BOTAN_FN_ISA_SIMD_8X64 | lanes_gt (const SIMD_8x64 &other) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | madd52hi (const SIMD_8x64 &a, const SIMD_8x64 &b) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | madd52lo (const SIMD_8x64 &a, const SIMD_8x64 &b) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | masked_madd52hi (uint8_t lanes, const SIMD_8x64 &a, const SIMD_8x64 &b) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | masked_madd52lo (uint8_t lanes, const SIMD_8x64 &a, const SIMD_8x64 &b) const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | operator& (const SIMD_8x64 &other) const |
| BOTAN_FN_ISA_SIMD_8X64 void | operator&= (const SIMD_8x64 &other) |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | operator+ (const SIMD_8x64 &other) const |
| BOTAN_FN_ISA_SIMD_8X64 void | operator+= (const SIMD_8x64 &other) |
| SIMD_8x64 & | operator= (const SIMD_8x64 &other)=default |
| SIMD_8x64 & | operator= (SIMD_8x64 &&other)=default |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | operator^ (const SIMD_8x64 &other) const |
| BOTAN_FN_ISA_SIMD_8X64 void | operator^= (const SIMD_8x64 &other) |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | operator| (const SIMD_8x64 &other) const |
| BOTAN_FN_ISA_SIMD_8X64 void | operator|= (const SIMD_8x64 &other) |
| __m512i BOTAN_FN_ISA_SIMD_8X64 | raw () const noexcept |
| template<size_t ROT> | |
| BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | rotl () const |
| template<size_t ROT> requires (ROT > 0 && ROT < 64) | |
| BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | rotr () const |
| template<int SHIFT> | |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | shl () const noexcept |
| template<int SHIFT> | |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | shr () const noexcept |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | sigma0 () const |
| SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | sigma1 () const |
| BOTAN_FN_ISA_SIMD_8X64 | SIMD_8x64 () |
| BOTAN_FN_ISA_SIMD_8X64 | SIMD_8x64 (__m512i x) |
| SIMD_8x64 (const SIMD_8x64 &other)=default | |
| SIMD_8x64 (SIMD_8x64 &&other)=default | |
| BOTAN_FN_ISA_SIMD_8X64 void | store_be (uint8_t out[]) const |
| void | store_le (uint64_t out[8]) const |
| BOTAN_FN_ISA_SIMD_8X64 void | store_le (uint8_t out[]) const |
| BOTAN_FN_ISA_SIMD_8X64 void | store_le4 (void *out0, void *out1, void *out2, void *out3) |
| ~SIMD_8x64 ()=default | |
Static Public Member Functions | |
| template<int LANES> requires (LANES > 0 && LANES < 8) | |
| static SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | alignr (const SIMD_8x64 &hi, const SIMD_8x64 &lo) |
| static SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | alignr8 (const SIMD_8x64 &a, const SIMD_8x64 &b) |
| static BOTAN_FN_ISA_AVX512 SIMD_8x64 | broadcast_2x64 (const uint64_t *in) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | chi (const SIMD_8x64 &x, const SIMD_8x64 &y, const SIMD_8x64 &z) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | choose (const SIMD_8x64 &mask, const SIMD_8x64 &a, const SIMD_8x64 &b) |
| static SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | interleave_hi (const SIMD_8x64 &a, const SIMD_8x64 &b) |
| static SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | interleave_lo (const SIMD_8x64 &a, const SIMD_8x64 &b) |
| template<size_t Stride> | |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | load_be (const uint8_t *const *ptrs, size_t i, size_t n, size_t offset=0) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | load_be (const void *in) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | load_be4 (const void *in0, const void *in1, const void *in2, const void *in3) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | load_le (const void *in) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | load_le4 (const void *in0, const void *in1, const void *in2, const void *in3) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | majority (const SIMD_8x64 &x, const SIMD_8x64 &y, const SIMD_8x64 &z) |
| static SIMD_8x64 BOTAN_FN_ISA_SIMD_8X64 | masked_add (uint8_t lanes, const SIMD_8x64 &a, const SIMD_8x64 &b) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | mul2_32 (SIMD_8x64 x, SIMD_8x64 y) |
| static BOTAN_FN_ISA_SIMD_8X64 SIMD_8x64 | splat (uint64_t v) |
| static BOTAN_FN_ISA_SIMD_8X64 void | transpose (SIMD_8x64 &B0, SIMD_8x64 &B1, SIMD_8x64 &B2, SIMD_8x64 &B3, SIMD_8x64 &B4, SIMD_8x64 &B5, SIMD_8x64 &B6, SIMD_8x64 &B7) |
| static void BOTAN_FN_ISA_SIMD_8X64 | twist (SIMD_8x64 &B, SIMD_8x64 &C, SIMD_8x64 &D) |
| static void BOTAN_FN_ISA_SIMD_8X64 | untwist (SIMD_8x64 &B, SIMD_8x64 &C, SIMD_8x64 &D) |
Definition at line 18 of file simd_8x64.h.
|
default |
References SIMD_8x64().
Referenced by alignr(), alignr8(), andc(), broadcast_2x64(), bswap(), chi(), choose(), interleave_hi(), interleave_lo(), lanes_eq(), lanes_gt(), load_be(), load_be4(), load_le(), load_le4(), madd52hi(), madd52lo(), majority(), masked_add(), masked_madd52hi(), masked_madd52lo(), mul2_32(), operator&(), operator&=(), operator+(), operator+=(), operator=(), operator=(), operator^(), operator^=(), operator|(), operator|=(), rotl(), rotr(), shl(), shr(), sigma0(), sigma1(), SIMD_8x64(), SIMD_8x64(), splat(), transpose(), twist(), and untwist().
|
default |
References SIMD_8x64().
|
default |
|
inline |
Definition at line 29 of file simd_8x64.h.
Referenced by alignr(), alignr8(), andc(), broadcast_2x64(), bswap(), chi(), choose(), interleave_hi(), interleave_lo(), load_le(), load_le4(), madd52hi(), madd52lo(), majority(), masked_add(), masked_madd52hi(), masked_madd52lo(), mul2_32(), rotr(), shl(), shr(), splat(), twist(), and untwist().
|
inlineexplicit |
Definition at line 348 of file simd_8x64.h.
|
inlinestatic |
Shift the concatenation hi:lo right by LANES lanes, returning the low 8 lanes
Definition at line 239 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Definition at line 231 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
Definition at line 136 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
|
inline |
Definition at line 72 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
Referenced by load_be(), load_be4(), and store_be().
|
inlinestatic |
The Keccak chi operation, x ^ (~y & z)
Definition at line 143 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Definition at line 175 of file simd_8x64.h.
References raw(), SIMD_8x64(), and SIMD_8x64().
|
inline |
Definition at line 246 of file simd_8x64.h.
|
inlinestatic |
Interleave the high halves of a and b: a4 b4 a5 b5 a6 b6 a7 b7
Definition at line 292 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Interleave the low halves of a and b: a0 b0 a1 b1 a2 b2 a3 b3
Definition at line 284 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
Return a bitmask of the lanes where this == other
Definition at line 300 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Return a bitmask of the lanes where this > other (unsigned)
Definition at line 307 of file simd_8x64.h.
References SIMD_8x64().
|
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 68 of file simd_8x64.h.
References load_be().
|
inlinestatic |
Definition at line 60 of file simd_8x64.h.
References bswap(), load_le(), and SIMD_8x64().
Referenced by load_be(), and Botan::sha2_64_mb_compress_x8().
|
inlinestatic |
Definition at line 44 of file simd_8x64.h.
References bswap(), load_le4(), and SIMD_8x64().
|
inlinestatic |
Definition at line 51 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
Referenced by Botan::keccak_mb_absorb_x8(), Botan::keccak_mb_permute_x8(), load_be(), Botan::sha2_64_mb_compress_x8(), and Botan::sha2_64_mb_extract_x8().
|
inlinestatic |
Definition at line 32 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
Referenced by load_be4().
|
inline |
IFMA: this + high 52 bits of (a * b), using the low 52 bits of each lane of a and b
Definition at line 263 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
IFMA: this + low 52 bits of (a * b), using the low 52 bits of each lane of a and b
Definition at line 256 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Definition at line 180 of file simd_8x64.h.
References raw(), SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Return a + b in the lanes selected by the bitmask, and a elsewhere
Definition at line 314 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
As madd52hi, but only in the lanes selected by the bitmask; the other lanes are unchanged
Definition at line 277 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
As madd52lo, but only in the lanes selected by the bitmask; the other lanes are unchanged
Definition at line 270 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Definition at line 322 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
Definition at line 109 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 129 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 97 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 121 of file simd_8x64.h.
References SIMD_8x64().
References SIMD_8x64().
References SIMD_8x64().
|
inline |
Definition at line 103 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 125 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 115 of file simd_8x64.h.
References SIMD_8x64().
|
inline |
Definition at line 133 of file simd_8x64.h.
References SIMD_8x64().
|
inlinenoexcept |
Definition at line 346 of file simd_8x64.h.
Referenced by choose(), and majority().
|
inline |
|
inline |
Definition at line 149 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinenoexcept |
Definition at line 227 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinenoexcept |
Definition at line 222 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inline |
Definition at line 160 of file simd_8x64.h.
References rotr(), and SIMD_8x64().
|
inline |
Definition at line 167 of file simd_8x64.h.
References rotr(), and SIMD_8x64().
|
inlinestatic |
|
inline |
Definition at line 88 of file simd_8x64.h.
References bswap(), and store_le().
Referenced by Botan::sha2_64_mb_extract_x8().
|
inline |
Definition at line 82 of file simd_8x64.h.
References store_le().
Referenced by Botan::keccak_mb_absorb_x8(), Botan::keccak_mb_permute_x8(), Botan::sha2_64_mb_compress_x8(), store_be(), and store_le().
|
inline |
Definition at line 84 of file simd_8x64.h.
|
inline |
Definition at line 90 of file simd_8x64.h.
|
inlinestatic |
Definition at line 185 of file simd_8x64.h.
References SIMD_8x64().
Referenced by Botan::sha2_64_mb_compress_x8(), and Botan::sha2_64_mb_extract_x8().
|
inlinestatic |
Definition at line 328 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().
|
inlinestatic |
Definition at line 337 of file simd_8x64.h.
References SIMD_8x64(), and SIMD_8x64().