diff options
author | Bob Beck <beck@cvs.openbsd.org> | 2023-07-07 12:01:33 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 2023-07-07 12:01:33 +0000 |
commit | cfe5e12feb9600c5314bba81ba07f59806992ee3 (patch) | |
tree | 37157c6cd69312409d26b71d898a3b58a799ce6b /lib/libcrypto/hidden/openssl/poly1305.h | |
parent | ca891b6d8eac884b8be8b5dcf4f0fc4e72480a5e (diff) |
hide symbols in sm, rand, and poly1305
ok jsing@
Diffstat (limited to 'lib/libcrypto/hidden/openssl/poly1305.h')
-rw-r--r-- | lib/libcrypto/hidden/openssl/poly1305.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/lib/libcrypto/hidden/openssl/poly1305.h b/lib/libcrypto/hidden/openssl/poly1305.h new file mode 100644 index 00000000000..0959c560ee8 --- /dev/null +++ b/lib/libcrypto/hidden/openssl/poly1305.h @@ -0,0 +1,32 @@ +/* $OpenBSD: poly1305.h,v 1.1 2023/07/07 12:01:32 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_POLY1305_H +#define _LIBCRYPTO_POLY1305_H + +#ifndef _MSC_VER +#include_next <openssl/poly1305.h> +#else +#include "../include/openssl/poly1305.h" +#endif +#include "crypto_namespace.h" + +LCRYPTO_USED(CRYPTO_poly1305_init); +LCRYPTO_USED(CRYPTO_poly1305_update); +LCRYPTO_USED(CRYPTO_poly1305_finish); + +#endif /* _LIBCRYPTO_POLY1305_H */ |