-rw-r--r-- 4180 lib25519-20241004/crypto_nG/merged25519/amd64-avx512ifma-5l-maax/shared-consts.c raw
// linker define vec19 // linker define vec608 // linker define vecmask47 // linker define vecmask52 // linker define pmask1 // linker define pmask2 // linker define pmask3 // linker define pmask4 // linker define pmask5 // linker define pmask6 // linker define pmask7 // linker define pmask8 // linker define upmask1 // linker define upmask2 // linker define upmask3 // linker define upmask4 // linker define upmask5 // linker define upmask6 // linker define upmask7 // linker define mask63 // linker define 121666 // linker define MU0 // linker define MU1 // linker define MU2 // linker define MU3 // linker define MU4 // linker define ORDER0 // linker define ORDER1 // linker define ORDER2 // linker define ORDER3 // linker define EC2D0 // linker define EC2D1 // linker define EC2D2 // linker define EC2D3 // linker define 38 #include "crypto_uint64.h" #include "consts_namespace.h" const crypto_uint64 vec19[] = { 19,19,19,19 }; const crypto_uint64 vec608[] = { 608,608,608,608 }; const crypto_uint64 vecmask47[] = { 0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF }; const crypto_uint64 vecmask52[] = { 0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF }; const crypto_uint64 pmask1[] = { 0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF }; const crypto_uint64 pmask2[] = { 0xFFF0000000000000,0xFFF0000000000000,0xFFF0000000000000,0xFFF0000000000000 }; const crypto_uint64 pmask3[] = { 0x000000FFFFFFFFFF,0x000000FFFFFFFFFF,0x000000FFFFFFFFFF,0x000000FFFFFFFFFF }; const crypto_uint64 pmask4[] = { 0xFFFFFF0000000000,0xFFFFFF0000000000,0xFFFFFF0000000000,0xFFFFFF0000000000 }; const crypto_uint64 pmask5[] = { 0x000000000FFFFFFF,0x000000000FFFFFFF,0x000000000FFFFFFF,0x000000000FFFFFFF }; const crypto_uint64 pmask6[] = { 0xFFFFFFFFF0000000,0xFFFFFFFFF0000000,0xFFFFFFFFF0000000,0xFFFFFFFFF0000000 }; const crypto_uint64 pmask7[] = { 0x000000000000FFFF,0x000000000000FFFF,0x000000000000FFFF,0x000000000000FFFF }; const crypto_uint64 pmask8[] = { 0xFFFFFFFFFFFF0000,0xFFFFFFFFFFFF0000,0xFFFFFFFFFFFF0000,0xFFFFFFFFFFFF0000 }; const crypto_uint64 upmask1[] = { 0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF,0x000FFFFFFFFFFFFF }; const crypto_uint64 upmask2[] = { 0x0000000000000FFF,0x0000000000000FFF,0x0000000000000FFF,0x0000000000000FFF }; const crypto_uint64 upmask3[] = { 0x000FFFFFFFFFF000,0x000FFFFFFFFFF000,0x000FFFFFFFFFF000,0x000FFFFFFFFFF000 }; const crypto_uint64 upmask4[] = { 0x0000000000FFFFFF,0x0000000000FFFFFF,0x0000000000FFFFFF,0x0000000000FFFFFF }; const crypto_uint64 upmask5[] = { 0x000FFFFFFF000000,0x000FFFFFFF000000,0x000FFFFFFF000000,0x000FFFFFFF000000 }; const crypto_uint64 upmask6[] = { 0x0000000FFFFFFFFF,0x0000000FFFFFFFFF,0x0000000FFFFFFFFF,0x0000000FFFFFFFFF }; const crypto_uint64 upmask7[] = { 0x000FFFF000000000,0x000FFFF000000000,0x000FFFF000000000,0x000FFFF000000000 }; //const crypto_uint64 upmask8[] = { 0x0000FFFFFFFFFFFF,0x0000FFFFFFFFFFFF,0x0000FFFFFFFFFFFF,0x0000FFFFFFFFFFFF }; const crypto_uint64 mask63[] = { 0x7FFFFFFFFFFFFFFF }; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(121666) = 121666; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(MU0) = 0xED9CE5A30A2C131B; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(MU1) = 0x2106215D086329A7; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(MU2) = 0xFFFFFFFFFFFFFFEB; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(MU3) = 0xFFFFFFFFFFFFFFFF; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(MU4) = 0x000000000000000F; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(ORDER0) = 0x5812631A5CF5D3ED; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(ORDER1) = 0x14DEF9DEA2F79CD6; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(ORDER2) = 0x0000000000000000; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(ORDER3) = 0x1000000000000000; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(EC2D0) = 0xEBD69B9426B2F146; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(EC2D1) = 0x00E0149A8283B156; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(EC2D2) = 0x198E80F2EEF3D130; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(EC2D3) = 0xA406D9DC56DFFCE7; const crypto_uint64 CRYPTO_SHARED_NAMESPACE(38) = 38;