Update comments
parent
c0150ed4bd
commit
67af746743
|
|
@ -2,7 +2,7 @@
|
||||||
// This is a integration of Andrew Moon's public domain code.
|
// This is a integration of Andrew Moon's public domain code.
|
||||||
// Also see curve25519-donna-32bit.h.
|
// Also see curve25519-donna-32bit.h.
|
||||||
|
|
||||||
// If needed, see Moon's commit "Go back to ignoring 256th bit",
|
// If needed, see Moon's commit "Go back to ignoring 256th bit [sic]",
|
||||||
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
// This is a integration of Andrew Moon's public domain code.
|
// This is a integration of Andrew Moon's public domain code.
|
||||||
// Also see curve25519-donna-64bit.h.
|
// Also see curve25519-donna-64bit.h.
|
||||||
|
|
||||||
// If needed, see Moon's commit "Go back to ignoring 256th bit",
|
// If needed, see Moon's commit "Go back to ignoring 256th bit [sic]",
|
||||||
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
@ -46,7 +46,7 @@ typedef word64 bignum25519[5];
|
||||||
|
|
||||||
const byte basePoint[32] = {9};
|
const byte basePoint[32] = {9};
|
||||||
const word64 reduce_mask_51 = ((word64)1 << 51) - 1;
|
const word64 reduce_mask_51 = ((word64)1 << 51) - 1;
|
||||||
const word64 reduce_mask_52 = ((word64)1 << 52) - 1;
|
// const word64 reduce_mask_52 = ((word64)1 << 52) - 1;
|
||||||
|
|
||||||
/* out = in */
|
/* out = in */
|
||||||
inline void
|
inline void
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
// packedelem8.v in a calcualtion is undefined behavior. We will have to
|
// packedelem8.v in a calcualtion is undefined behavior. We will have to
|
||||||
// keep an eye on things or rewrite significant portions of this code.
|
// keep an eye on things or rewrite significant portions of this code.
|
||||||
|
|
||||||
// If needed, see Moon's commit "Go back to ignoring 256th bit",
|
// If needed, see Moon's commit "Go back to ignoring 256th bit [sic]",
|
||||||
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
// https://github.com/floodyberry/curve25519-donna/commit/57a683d18721a658
|
||||||
|
|
||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue