-rw-r--r-- 1498 lib25519-20240928/crypto_nP/montgomery25519/amd64-avx512ifma-hey5l-maax/shared-consts.c raw
// linker define hh_p1 // linker define hh_p2 // linker define hh_p3 // linker define sub_p1 // linker define sub_p2 // linker define sub_p3 // linker define hh_xor // linker define swap_c // linker define swap_mask // linker define vec19 // linker define vec608 // linker define vecmask52 // linker define vecmask47 // linker define a24 // linker define mask63 #include "consts_namespace.h" #include "crypto_uint32.h" #include "crypto_uint64.h" const crypto_uint64 hh_p1[] = { 0x0,0x3FFFFFFFFFFFB401,0x0,0x3FFFFFFFFFFFB401 }; const crypto_uint64 hh_p2[] = { 0x0,0x3FFFFFFFFFFFFC01,0x0,0x3FFFFFFFFFFFFC01 }; const crypto_uint64 hh_p3[] = { 0x0,0x1FFFFFFFFFFFC01,0x0,0x1FFFFFFFFFFFC01 }; const crypto_uint64 sub_p1[] = { 0x3FFFFFFFFFFFB400,0x0,0x0,0x0 }; const crypto_uint64 sub_p2[] = { 0x3FFFFFFFFFFFFC00,0x0,0x0,0x0 }; const crypto_uint64 sub_p3[] = { 0x1FFFFFFFFFFFC00,0x0,0x0,0x0 }; const crypto_uint64 hh_xor[] = { 0,-1,0,-1 }; const crypto_uint32 swap_c[] = { 0,1,2,3,4,5,6,7 }; const crypto_uint32 swap_mask[] = { 7,7,7,7,7,7,7,7 }; const crypto_uint64 vec19[] = { 19,19,19,19 }; const crypto_uint64 vec608[] = { 608,608,608,608 }; const crypto_uint64 vecmask52[] = { 0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF,0xFFFFFFFFFFFFF }; const crypto_uint64 vecmask47[] = { 0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF,0x7FFFFFFFFFFF }; const crypto_uint64 a24[] = { 0,121666,0,0 }; const crypto_uint64 mask63[] = { 0x7FFFFFFFFFFFFFFF };