11#ifndef CRYPTOPP_DONNA_SSE_H
12#define CRYPTOPP_DONNA_SSE_H
13#ifndef CRYPTOPP_DOXYGEN_PROCESSING
20NAMESPACE_BEGIN(ArchSSE)
23using CryptoPP::word32;
26#define ALIGN(n) CRYPTOPP_ALIGN_DATA(n)
28typedef union packedelem8_t {
33typedef union packedelem32_t {
38typedef union packedelem64_t {
44typedef word32 bignum25519[12];
45typedef packedelem32 packed32bignum25519[5];
46typedef packedelem64 packed64bignum25519[10];
48const word32 reduce_mask_26 = (1 << 26) - 1;
49const word32 reduce_mask_25 = (1 << 25) - 1;
51const packedelem32 sse2_bot32bitmask = {{0xffffffff, 0x00000000, 0xffffffff, 0x00000000}};
52const packedelem32 sse2_top32bitmask = {{0x00000000, 0xffffffff, 0x00000000, 0xffffffff}};
53const packedelem32 sse2_top64bitmask = {{0x00000000, 0x00000000, 0xffffffff, 0xffffffff}};
54const packedelem32 sse2_bot64bitmask = {{0xffffffff, 0xffffffff, 0x00000000, 0x00000000}};
57const packedelem64 packedmask26 = {{0x03ffffff, 0x03ffffff}};
58const packedelem64 packedmask25 = {{0x01ffffff, 0x01ffffff}};
59const packedelem32 packedmask2625 = {{0x3ffffff,0,0x1ffffff,0}};
60const packedelem32 packedmask26262626 = {{0x03ffffff, 0x03ffffff, 0x03ffffff, 0x03ffffff}};
61const packedelem32 packedmask25252525 = {{0x01ffffff, 0x01ffffff, 0x01ffffff, 0x01ffffff}};
64const packedelem64 packednineteen = {{19, 19}};
65const packedelem64 packednineteenone = {{19, 1}};
66const packedelem64 packedthirtyeight = {{38, 38}};
67const packedelem64 packed3819 = {{19*2,19}};
68const packedelem64 packed9638 = {{19*4,19*2}};
71const packedelem64 packed121666121665 = {{121666, 121665}};
74const packedelem32 packed2p0 = {{0x7ffffda,0x3fffffe,0x7fffffe,0x3fffffe}};
75const packedelem32 packed2p1 = {{0x7fffffe,0x3fffffe,0x7fffffe,0x3fffffe}};
76const packedelem32 packed2p2 = {{0x7fffffe,0x3fffffe,0x0000000,0x0000000}};
78const packedelem32 packed32zeromodp0 = {{0x7ffffda,0x7ffffda,0x3fffffe,0x3fffffe}};
79const packedelem32 packed32zeromodp1 = {{0x7fffffe,0x7fffffe,0x3fffffe,0x3fffffe}};
Library configuration file.
unsigned int word32
32-bit unsigned datatype
unsigned long long word64
64-bit unsigned datatype
Crypto++ library namespace.