diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-01-11 01:13:35 -0800 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-01-23 14:29:44 +0100 |
commit | f43eabd5616d5dd114b1818867e4c51d3c24dbd3 (patch) | |
tree | 001a46f2f2f53b9c997812e5275419a4313779c0 /src/crypto/zinc/curve25519/curve25519-hacl64.c | |
parent | a2fad76b15bf650942f373263cbfab43d12a3939 (diff) |
global: normalize -> clamp
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/crypto/zinc/curve25519/curve25519-hacl64.c')
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-hacl64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519-hacl64.c b/src/crypto/zinc/curve25519/curve25519-hacl64.c index 9129239..ff22d3b 100644 --- a/src/crypto/zinc/curve25519/curve25519-hacl64.c +++ b/src/crypto/zinc/curve25519/curve25519-hacl64.c @@ -767,7 +767,7 @@ static void curve25519_generic(u8 mypublic[CURVE25519_KEY_SIZE], u8 e[32] __aligned(32) = { 0 }; u8 *scalar; memcpy(e, secret, 32); - normalize_secret(e); + clamp_secret(e); scalar = e; { u64 buf[15] = { 0 }; |