From 9cb48c92ea0f653c0924a466be07e5ac11a67ee7 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Wed, 25 Sep 2024 20:53:17 -0400 Subject: lib: crypto: Remove unused function Signed-off-by: Ian Moffett --- lib/crypto/ecdh.c | 9 --------- 1 file changed, 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 #include -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) { -- cgit v1.2.3