Import fe constants
This commit is contained in:
parent
f523ea1656
commit
221350c78a
@ -0,0 +1,15 @@
|
|||||||
|
/* 37095705934669439343138083508754565189542113879843219016388785533085940283555 */
|
||||||
|
static const fe d = {
|
||||||
|
-10913610, 13857413, -15372611, 6949391, 114729, -8787816, -6275908, -3247719, -18696448, -12055116
|
||||||
|
};
|
||||||
|
|
||||||
|
/* 2 * d =
|
||||||
|
* 16295367250680780974490674513165176452449235426866156013048779062215315747161
|
||||||
|
*/
|
||||||
|
static const fe d2 = {
|
||||||
|
-21827239, -5839606, -30745221, 13898782, 229458, 15978800, -12551817, -6495438, 29715968, 9444199 };
|
||||||
|
|
||||||
|
/* sqrt(-1) */
|
||||||
|
static const fe sqrtm1 = {
|
||||||
|
-32595792, -7943725, 9377950, 3500415, 12389472, -272473, -25146209, -2005654, 326686, 11406482
|
||||||
|
};
|
16
src/libsodium/crypto_core/curve25519/ref10/fe_51/constants.h
Normal file
16
src/libsodium/crypto_core/curve25519/ref10/fe_51/constants.h
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
/* 37095705934669439343138083508754565189542113879843219016388785533085940283555 */
|
||||||
|
static const fe d = {
|
||||||
|
929955233495203, 466365720129213, 1662059464998953, 2033849074728123, 1442794654840575
|
||||||
|
};
|
||||||
|
|
||||||
|
/* 2 * d =
|
||||||
|
* 16295367250680780974490674513165176452449235426866156013048779062215315747161
|
||||||
|
*/
|
||||||
|
static const fe d2 = {
|
||||||
|
1859910466990425, 932731440258426, 1072319116312658, 1815898335770999, 633789495995903
|
||||||
|
};
|
||||||
|
|
||||||
|
/* sqrt(-1) */
|
||||||
|
static const fe sqrtm1 = {
|
||||||
|
1718705420411056, 234908883556509, 2233514472574048, 2117202627021982, 765476049583133
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user