summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libcrypto/curve25519/curve25519.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/curve25519/curve25519.h b/src/lib/libcrypto/curve25519/curve25519.h
index 69fff02d12..e42bc22c12 100644
--- a/src/lib/libcrypto/curve25519/curve25519.h
+++ b/src/lib/libcrypto/curve25519/curve25519.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: curve25519.h,v 1.6 2022/11/11 01:44:26 tb Exp $ */ 1/* $OpenBSD: curve25519.h,v 1.7 2022/11/13 14:05:04 tb Exp $ */
2/* 2/*
3 * Copyright (c) 2015, Google Inc. 3 * Copyright (c) 2015, Google Inc.
4 * 4 *
@@ -61,7 +61,6 @@ int X25519(uint8_t out_shared_key[X25519_KEY_LENGTH],
61 const uint8_t private_key[X25519_KEY_LENGTH], 61 const uint8_t private_key[X25519_KEY_LENGTH],
62 const uint8_t peers_public_value[X25519_KEY_LENGTH]); 62 const uint8_t peers_public_value[X25519_KEY_LENGTH]);
63 63
64#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
65/* 64/*
66 * ED25519 65 * ED25519
67 * 66 *
@@ -97,7 +96,6 @@ int ED25519_sign(uint8_t *out_sig, const uint8_t *message, size_t message_len,
97int ED25519_verify(const uint8_t *message, size_t message_len, 96int ED25519_verify(const uint8_t *message, size_t message_len,
98 const uint8_t signature[ED25519_SIGNATURE_LENGTH], 97 const uint8_t signature[ED25519_SIGNATURE_LENGTH],
99 const uint8_t public_key[ED25519_PUBLIC_KEY_LENGTH]); 98 const uint8_t public_key[ED25519_PUBLIC_KEY_LENGTH]);
100#endif
101 99
102#if defined(__cplusplus) 100#if defined(__cplusplus)
103} /* extern C */ 101} /* extern C */