diff options
Diffstat (limited to 'src/crypto/zinc/curve25519/curve25519-fiat32.c')
-rw-r--r-- | src/crypto/zinc/curve25519/curve25519-fiat32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/zinc/curve25519/curve25519-fiat32.c b/src/crypto/zinc/curve25519/curve25519-fiat32.c index 60a04e4..7f4f01c 100644 --- a/src/crypto/zinc/curve25519/curve25519-fiat32.c +++ b/src/crypto/zinc/curve25519/curve25519-fiat32.c @@ -760,7 +760,7 @@ static void curve25519_generic(u8 out[CURVE25519_KEY_SIZE], u8 e[32]; memcpy(e, scalar, 32); - normalize_secret(e); + clamp_secret(e); /* The following implementation was transcribed to Coq and proven to * correspond to unary scalar multiplication in affine coordinates given |