diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 15:12:50 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2023-07-08 15:12:50 +0000 |
commit | c7cf9e86d957bfc02b6d0ea5910fb59ba50e3fbf (patch) | |
tree | 2a9e0cbf44c7332e130b81707a4c4b9fd585218b /lib/libcrypto/hidden/openssl/curve25519.h | |
parent | 1f1419f25e300053d41496064f8fb5b0eb1d186e (diff) |
Hide symbols in curve22519
ok tb@
Diffstat (limited to 'lib/libcrypto/hidden/openssl/curve25519.h')
-rw-r--r-- | lib/libcrypto/hidden/openssl/curve25519.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/lib/libcrypto/hidden/openssl/curve25519.h b/lib/libcrypto/hidden/openssl/curve25519.h new file mode 100644 index 00000000000..3afa324e0a2 --- /dev/null +++ b/lib/libcrypto/hidden/openssl/curve25519.h @@ -0,0 +1,34 @@ +/* $OpenBSD: curve25519.h,v 1.1 2023/07/08 15:12:49 beck Exp $ */ +/* + * Copyright (c) 2023 Bob Beck <beck@openbsd.org> + * + * Permission to use, copy, modify, and distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR + * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN + * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF + * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + +#ifndef _LIBCRYPTO_CURVE25519_H +#define _LIBCRYPTO_CURVE25519_H + +#ifndef _MSC_VER +#include_next <openssl/curve25519.h> +#else +#include "../include/openssl/curve25519.h" +#endif +#include "crypto_namespace.h" + +LCRYPTO_USED(X25519_keypair); +LCRYPTO_USED(X25519); +LCRYPTO_USED(ED25519_keypair); +LCRYPTO_USED(ED25519_sign); +LCRYPTO_USED(ED25519_verify); + +#endif /* _LIBCRYPTO_CURVE25519_H */ |