aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-09-25 20:53:17 -0400
committerIan Moffett <ian@osmora.org>2024-09-25 20:53:17 -0400
commit9cb48c92ea0f653c0924a466be07e5ac11a67ee7 (patch)
tree2dc6a56db63fb8b37af07494584485b90b9865f4
parent89aae02aaa9c3260e974068491b0c93bc62c8799 (diff)
lib: crypto: Remove unused function
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--lib/crypto/ecdh.c9
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)
{