diff options
Diffstat (limited to 'lib/crypto')
-rw-r--r-- | lib/crypto/ecdh.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/crypto/ecdh.c b/lib/crypto/ecdh.c index 9062d6b..b7c6f2b 100644 --- a/lib/crypto/ecdh.c +++ b/lib/crypto/ecdh.c @@ -35,15 +35,6 @@ #include <crypto/ecdh.h> #include <stdio.h> -static inline int -x25519_check_clamp(unsigned char *key) -{ - key[0] &= 248; - key[31] &= 127; - key[31] |= 64; - return 0; -} - int gen_x25519_keypair(struct x25519_keypair *res) { |