summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2022-11-13 14:05:05 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2022-11-13 14:05:05 +0000
commit06c8770d8c503e6056ff7f648aae5bda54c84670 (patch)
treeaa54e2761028eef51bb09274f385148d89cd690b
parent076defc3d313b3c810b4edaae8dd8194b2d6bff2 (diff)
Expose direct access API for Ed25519.
-rw-r--r--lib/libcrypto/curve25519/curve25519.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libcrypto/curve25519/curve25519.h b/lib/libcrypto/curve25519/curve25519.h
index 69fff02d129..e42bc22c124 100644
--- a/lib/libcrypto/curve25519/curve25519.h
+++ b/lib/libcrypto/curve25519/curve25519.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: curve25519.h,v 1.6 2022/11/11 01:44:26 tb Exp $ */
+/* $OpenBSD: curve25519.h,v 1.7 2022/11/13 14:05:04 tb Exp $ */
/*
* Copyright (c) 2015, Google Inc.
*
@@ -61,7 +61,6 @@ int X25519(uint8_t out_shared_key[X25519_KEY_LENGTH],
const uint8_t private_key[X25519_KEY_LENGTH],
const uint8_t peers_public_value[X25519_KEY_LENGTH]);
-#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
/*
* ED25519
*
@@ -97,7 +96,6 @@ int ED25519_sign(uint8_t *out_sig, const uint8_t *message, size_t message_len,
int ED25519_verify(const uint8_t *message, size_t message_len,
const uint8_t signature[ED25519_SIGNATURE_LENGTH],
const uint8_t public_key[ED25519_PUBLIC_KEY_LENGTH]);
-#endif
#if defined(__cplusplus)
} /* extern C */