summaryrefslogtreecommitdiff
path: root/src/ext/ed25519/ref10/blinding.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-08-29 09:24:27 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-25 15:08:31 -0400
commitf0eb7ae79f54781bc00e51ff5e9630b2103e4df0 (patch)
tree78ae6d9e1cf9ff7ca931530081ec6f26b2aa4503 /src/ext/ed25519/ref10/blinding.c
parent1d3b33e1ede15c787d0c2d1f8823cdad1a196008 (diff)
downloadtor-f0eb7ae79f54781bc00e51ff5e9630b2103e4df0.tar.gz
tor-f0eb7ae79f54781bc00e51ff5e9630b2103e4df0.zip
More documentation for ed25519 stuff.
Diffstat (limited to 'src/ext/ed25519/ref10/blinding.c')
-rw-r--r--src/ext/ed25519/ref10/blinding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ext/ed25519/ref10/blinding.c b/src/ext/ed25519/ref10/blinding.c
index a17dbcd3e3..f0154e098f 100644
--- a/src/ext/ed25519/ref10/blinding.c
+++ b/src/ext/ed25519/ref10/blinding.c
@@ -14,7 +14,7 @@ gettweak(unsigned char *out, const unsigned char *param)
{
const char str[] = "Derive temporary signing key";
crypto_hash_sha512_2(out, (const unsigned char*)str, strlen(str), param, 32);
- out[0] &= 248; /* Necessary ? */
+ out[0] &= 248; /* Is this necessary necessary ? */
out[31] &= 63;
out[31] |= 64;
}