|
Botan 3.14.1
Crypto and TLS for C&
|
#include <simd_4x64.h>
Public Member Functions | |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | andc (const SIMD_4x64 &other) const |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | bswap () const |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | operator& (const SIMD_4x64 &other) const |
| BOTAN_FN_ISA_SIMD_4X64 void | operator&= (const SIMD_4x64 &other) |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | operator+ (const SIMD_4x64 &other) const |
| BOTAN_FN_ISA_SIMD_4X64 void | operator+= (const SIMD_4x64 &other) |
| SIMD_4x64 & | operator= (const SIMD_4x64 &other)=default |
| SIMD_4x64 & | operator= (SIMD_4x64 &&other)=default |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | operator^ (const SIMD_4x64 &other) const |
| BOTAN_FN_ISA_SIMD_4X64 void | operator^= (const SIMD_4x64 &other) |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | operator| (const SIMD_4x64 &other) const |
| BOTAN_FN_ISA_SIMD_4X64 void | operator|= (const SIMD_4x64 &other) |
| __m256i BOTAN_FN_ISA_SIMD_4X64 | raw () const noexcept |
| template<size_t ROT> | |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | rotl () const |
| template<size_t ROT> requires (ROT > 0 && ROT < 64) | |
| BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | rotr () const |
| template<int SHIFT> | |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | shl () const noexcept |
| template<int SHIFT> | |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | shr () const noexcept |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | sigma0 () const |
| SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | sigma1 () const |
| BOTAN_FN_ISA_SIMD_4X64 | SIMD_4x64 () |
| BOTAN_FN_ISA_SIMD_4X64 | SIMD_4x64 (__m256i x) |
| SIMD_4x64 (const SIMD_4x64 &other)=default | |
| SIMD_4x64 (SIMD_4x64 &&other)=default | |
| BOTAN_FN_ISA_SIMD_4X64 void | store_be (uint8_t out[]) const |
| void BOTAN_FN_ISA_SIMD_4X64 | store_le (uint64_t out[4]) const |
| BOTAN_FN_ISA_SIMD_4X64 void | store_le (uint8_t out[]) const |
| BOTAN_FN_ISA_SIMD_4X64 void | store_le2 (void *outh, void *outl) |
| ~SIMD_4x64 ()=default | |
Static Public Member Functions | |
| static SIMD_4x64 BOTAN_FN_ISA_SIMD_4X64 | alignr8 (const SIMD_4x64 &a, const SIMD_4x64 &b) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | broadcast_2x64 (const uint64_t *in) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | chi (const SIMD_4x64 &x, const SIMD_4x64 &y, const SIMD_4x64 &z) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | choose (const SIMD_4x64 &mask, const SIMD_4x64 &a, const SIMD_4x64 &b) |
| template<size_t Stride> | |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | load_be (const uint8_t *const *ptrs, size_t i, size_t n, size_t offset=0) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | load_be (const void *in) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | load_be2 (const void *lo, const void *hi) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | load_le (const void *in) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | load_le2 (const void *lo, const void *hi) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | majority (const SIMD_4x64 &x, const SIMD_4x64 &y, const SIMD_4x64 &z) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | mul2_32 (SIMD_4x64 x, SIMD_4x64 y) |
| template<uint8_t CTRL> | |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | permute_4x64 (SIMD_4x64 x) |
| static BOTAN_FN_ISA_SIMD_4X64 SIMD_4x64 | splat (uint64_t v) |
| static BOTAN_FN_ISA_SIMD_4X64 void | transpose (SIMD_4x64 &B0, SIMD_4x64 &B1, SIMD_4x64 &B2, SIMD_4x64 &B3) |
| static void BOTAN_FN_ISA_SIMD_4X64 | twist (SIMD_4x64 &B, SIMD_4x64 &C, SIMD_4x64 &D) |
| static void BOTAN_FN_ISA_SIMD_4X64 | untwist (SIMD_4x64 &B, SIMD_4x64 &C, SIMD_4x64 &D) |
Definition at line 22 of file simd_4x64.h.
|
default |
References SIMD_4x64().
Referenced by alignr8(), andc(), broadcast_2x64(), bswap(), chi(), choose(), load_be(), load_be2(), load_le(), load_le2(), majority(), mul2_32(), operator&(), operator&=(), operator+(), operator+=(), operator=(), operator=(), operator^(), operator^=(), operator|(), operator|=(), permute_4x64(), rotl(), rotr(), shl(), shr(), sigma0(), sigma1(), SIMD_4x64(), SIMD_4x64(), splat(), transpose(), twist(), and untwist().
|
default |
References SIMD_4x64().
|
default |
|
inline |
Definition at line 33 of file simd_4x64.h.
Referenced by alignr8(), andc(), broadcast_2x64(), bswap(), chi(), choose(), load_le(), load_le2(), majority(), mul2_32(), permute_4x64(), rotr(), shl(), shr(), and splat().
|
inlineexplicit |
Definition at line 267 of file simd_4x64.h.
|
inlinestatic |
Definition at line 123 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inlinestatic |
Definition at line 61 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inline |
Definition at line 65 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
Referenced by load_be(), load_be2(), and store_be().
|
inlinestatic |
The Keccak chi operation, x ^ (~y & z)
Definition at line 183 of file simd_4x64.h.
References andc(), raw(), SIMD_4x64(), and SIMD_4x64().
|
inlinestatic |
Definition at line 193 of file simd_4x64.h.
References andc(), raw(), SIMD_4x64(), and SIMD_4x64().
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 57 of file simd_4x64.h.
References load_be().
|
inlinestatic |
Definition at line 49 of file simd_4x64.h.
References bswap(), load_le(), and SIMD_4x64().
Referenced by load_be(), and Botan::sha2_64_mb_compress_x4().
|
inlinestatic |
Definition at line 41 of file simd_4x64.h.
References bswap(), load_le2(), and SIMD_4x64().
|
inlinestatic |
Definition at line 45 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
Referenced by Botan::keccak_mb_absorb_x4(), Botan::keccak_mb_permute_x4(), load_be(), Botan::sha2_64_mb_compress_x4(), and Botan::sha2_64_mb_extract_x4().
|
inlinestatic |
Definition at line 36 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
Referenced by load_be2().
|
inlinestatic |
Definition at line 202 of file simd_4x64.h.
References choose(), raw(), SIMD_4x64(), and SIMD_4x64().
|
inlinestatic |
Definition at line 238 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inline |
Definition at line 96 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 116 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 84 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 108 of file simd_4x64.h.
References SIMD_4x64().
References SIMD_4x64().
References SIMD_4x64().
|
inline |
Definition at line 90 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 112 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 102 of file simd_4x64.h.
References SIMD_4x64().
|
inline |
Definition at line 120 of file simd_4x64.h.
References SIMD_4x64().
|
inlinestatic |
Definition at line 244 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inlinenoexcept |
Definition at line 265 of file simd_4x64.h.
Referenced by chi(), choose(), and majority().
|
inline |
|
inline |
Definition at line 128 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inlinenoexcept |
Definition at line 229 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inlinenoexcept |
Definition at line 224 of file simd_4x64.h.
References SIMD_4x64(), and SIMD_4x64().
|
inline |
Definition at line 166 of file simd_4x64.h.
References rotr(), and SIMD_4x64().
|
inline |
Definition at line 173 of file simd_4x64.h.
References rotr(), and SIMD_4x64().
|
inlinestatic |
|
inline |
Definition at line 82 of file simd_4x64.h.
References bswap(), and store_le().
Referenced by Botan::sha2_64_mb_extract_x4().
|
inline |
Definition at line 72 of file simd_4x64.h.
References store_le().
Referenced by Botan::keccak_mb_absorb_x4(), Botan::keccak_mb_permute_x4(), Botan::sha2_64_mb_compress_x4(), store_be(), and store_le().
|
inline |
Definition at line 74 of file simd_4x64.h.
|
inline |
Definition at line 78 of file simd_4x64.h.
|
inlinestatic |
Definition at line 211 of file simd_4x64.h.
References SIMD_4x64().
Referenced by Botan::sha2_64_mb_compress_x4(), and Botan::sha2_64_mb_extract_x4().
|
inlinestatic |
Definition at line 249 of file simd_4x64.h.
References permute_4x64(), and SIMD_4x64().
|
inlinestatic |
Definition at line 256 of file simd_4x64.h.
References permute_4x64(), and SIMD_4x64().