diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-27 09:29:34 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-27 09:29:34 -0700 |
commit | 65823332d4db44105a3bddf3fc76b19084d11334 (patch) | |
tree | 21565a4b667ef81827ce8059e5fd42847543a6eb /node | |
parent | ee8682ac75b5b97038a52953b66e26b94d6410c8 (diff) | |
download | infinitytier-65823332d4db44105a3bddf3fc76b19084d11334.tar.gz infinitytier-65823332d4db44105a3bddf3fc76b19084d11334.zip |
Comment out some unused functions.
Diffstat (limited to 'node')
-rw-r--r-- | node/C25519.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/node/C25519.cpp b/node/C25519.cpp index cab7b9d5..965c678c 100644 --- a/node/C25519.cpp +++ b/node/C25519.cpp @@ -765,12 +765,15 @@ void sc25519_from64bytes(sc25519 *r, const unsigned char x[64]) barrett_reduce(r, t); } +/* void sc25519_to32bytes(unsigned char r[32], const sc25519 *x) { int i; for(i=0;i<32;i++) r[i] = x->v[i]; } +*/ +/* void sc25519_add(sc25519 *r, const sc25519 *x, const sc25519 *y) { int i, carry; @@ -783,7 +786,9 @@ void sc25519_add(sc25519 *r, const sc25519 *x, const sc25519 *y) } reduce_add_sub(r); } +*/ +/* void sc25519_mul(sc25519 *r, const sc25519 *x, const sc25519 *y) { int i,j,carry; @@ -794,7 +799,6 @@ void sc25519_mul(sc25519 *r, const sc25519 *x, const sc25519 *y) for(j=0;j<32;j++) t[i+j] += x->v[i] * y->v[j]; - /* Reduce coefficients */ for(i=0;i<63;i++) { carry = t[i] >> 8; @@ -804,6 +808,7 @@ void sc25519_mul(sc25519 *r, const sc25519 *x, const sc25519 *y) barrett_reduce(r, t); } +*/ void sc25519_window3(signed char r[85], const sc25519 *s) { |