-rw-r--r-- 1624 lib25519-20240928/crypto_nPbatch/montgomery25519/amd64-avx512ifma-8x1-maax/shared-consts.c raw
#include "crypto_uint64.h" #include "consts_namespace.h" #define ALIGN64 CRYPTO_ALIGN(64) const ALIGN64 crypto_uint64 vec19[] = { 19,19,19,19,19,19,19,19 }; const ALIGN64 crypto_uint64 vec608[] = { 608,608,608,608,608,608,608,608 }; const ALIGN64 crypto_uint64 vecmask47[] = { 0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF }; const ALIGN64 crypto_uint64 vecmask52[] = { 0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF }; const ALIGN64 crypto_uint64 vec2p0[] = { 0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400,0x3FFFFFFFFFFFB400 }; const ALIGN64 crypto_uint64 vec2p123[] = { 0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00,0x3FFFFFFFFFFFFC00 }; const ALIGN64 crypto_uint64 vec2p4[] = { 0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00,0x1FFFFFFFFFFFC00 }; const ALIGN64 crypto_uint64 veca24[] = { 121666,121666,121666,121666,121666,121666,121666,121666 }; const ALIGN64 crypto_uint64 vec0[] = { 0,0,0,0,0,0,0,0 }; const ALIGN64 crypto_uint64 vec1[] = { 1,1,1,1,1,1,1,1 }; const ALIGN64 crypto_uint64 one[] = { 1,0,0,0,0,0,0,0 }; const ALIGN64 crypto_uint64 sixtytwo[] = { 62,0,0,0,0,0,0,0 }; const ALIGN64 crypto_uint64 sixtythree[] = { 63,0,0,0,0,0,0,0 }; const ALIGN64 crypto_uint64 mask63[] = { 0x7FFFFFFFFFFFFFFF };