diff options
author | Ian Moffett <ian@osmora.org> | 2024-09-25 20:53:17 -0400 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-09-25 20:53:17 -0400 |
commit | 9cb48c92ea0f653c0924a466be07e5ac11a67ee7 (patch) | |
tree | 2dc6a56db63fb8b37af07494584485b90b9865f4 /lib | |
parent | 89aae02aaa9c3260e974068491b0c93bc62c8799 (diff) |
lib: crypto: Remove unused function
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'lib')
-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) { |