11#ifndef CRYPTOPP_DONNA_SSE_H
12#define CRYPTOPP_DONNA_SSE_H
13#ifndef CRYPTOPP_DOXYGEN_PROCESSING
18NAMESPACE_BEGIN(CryptoPP)
20NAMESPACE_BEGIN(ArchSSE)
23using CryptoPP::word32;
26#define ALIGN(n) CRYPTOPP_ALIGN_DATA(n)
44typedef word32 bignum25519[12];
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}};
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