diff options
| author | joshua <> | 2024-03-29 01:47:29 +0000 |
|---|---|---|
| committer | joshua <> | 2024-03-29 01:47:29 +0000 |
| commit | 180ff1f0243566d2bdec5895a9f30bdeb795c928 (patch) | |
| tree | 452259c0fee1c60e6a350ce598f802264c12aa68 /src/lib/libcrypto/hidden/openssl | |
| parent | f8ad9d09c9360bde74a2c15f487d03b470375d10 (diff) | |
| download | openbsd-180ff1f0243566d2bdec5895a9f30bdeb795c928.tar.gz openbsd-180ff1f0243566d2bdec5895a9f30bdeb795c928.tar.bz2 openbsd-180ff1f0243566d2bdec5895a9f30bdeb795c928.zip | |
Hide symbols in DES
ok jsing beck
Diffstat (limited to 'src/lib/libcrypto/hidden/openssl')
| -rw-r--r-- | src/lib/libcrypto/hidden/openssl/des.h | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/src/lib/libcrypto/hidden/openssl/des.h b/src/lib/libcrypto/hidden/openssl/des.h new file mode 100644 index 0000000000..9f6ea9c104 --- /dev/null +++ b/src/lib/libcrypto/hidden/openssl/des.h | |||
| @@ -0,0 +1,64 @@ | |||
| 1 | /* $OpenBSD: des.h,v 1.1 2024/03/29 01:47:29 joshua Exp $ */ | ||
| 2 | /* | ||
| 3 | * Copyright (c) 2024 Joshua Sing <joshua@joshuasing.dev> | ||
| 4 | * | ||
| 5 | * Permission to use, copy, modify, and distribute this software for any | ||
| 6 | * purpose with or without fee is hereby granted, provided that the above | ||
| 7 | * copyright notice and this permission notice appear in all copies. | ||
| 8 | * | ||
| 9 | * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES | ||
| 10 | * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF | ||
| 11 | * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR | ||
| 12 | * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES | ||
| 13 | * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN | ||
| 14 | * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | ||
| 15 | * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
| 16 | */ | ||
| 17 | |||
| 18 | #ifndef _LIBCRYPTO_DES_H | ||
| 19 | #define _LIBCRYPTO_DES_H | ||
| 20 | |||
| 21 | #ifndef _MSC_VER | ||
| 22 | #include_next <openssl/des.h> | ||
| 23 | #else | ||
| 24 | #include "../include/openssl/des.h" | ||
| 25 | #endif | ||
| 26 | #include "crypto_namespace.h" | ||
| 27 | |||
| 28 | LCRYPTO_USED(DES_ecb3_encrypt); | ||
| 29 | LCRYPTO_USED(DES_cbc_cksum); | ||
| 30 | LCRYPTO_USED(DES_cbc_encrypt); | ||
| 31 | LCRYPTO_USED(DES_ncbc_encrypt); | ||
| 32 | LCRYPTO_USED(DES_xcbc_encrypt); | ||
| 33 | LCRYPTO_USED(DES_cfb_encrypt); | ||
| 34 | LCRYPTO_USED(DES_ecb_encrypt); | ||
| 35 | LCRYPTO_USED(DES_encrypt1); | ||
| 36 | LCRYPTO_USED(DES_encrypt2); | ||
| 37 | LCRYPTO_USED(DES_encrypt3); | ||
| 38 | LCRYPTO_USED(DES_decrypt3); | ||
| 39 | LCRYPTO_USED(DES_ede3_cbc_encrypt); | ||
| 40 | LCRYPTO_USED(DES_ede3_cbcm_encrypt); | ||
| 41 | LCRYPTO_USED(DES_ede3_cfb64_encrypt); | ||
| 42 | LCRYPTO_USED(DES_ede3_cfb_encrypt); | ||
| 43 | LCRYPTO_USED(DES_ede3_ofb64_encrypt); | ||
| 44 | LCRYPTO_USED(DES_enc_read); | ||
| 45 | LCRYPTO_USED(DES_enc_write); | ||
| 46 | LCRYPTO_USED(DES_fcrypt); | ||
| 47 | LCRYPTO_USED(DES_crypt); | ||
| 48 | LCRYPTO_USED(DES_ofb_encrypt); | ||
| 49 | LCRYPTO_USED(DES_pcbc_encrypt); | ||
| 50 | LCRYPTO_USED(DES_quad_cksum); | ||
| 51 | LCRYPTO_USED(DES_random_key); | ||
| 52 | LCRYPTO_USED(DES_set_odd_parity); | ||
| 53 | LCRYPTO_USED(DES_check_key_parity); | ||
| 54 | LCRYPTO_USED(DES_is_weak_key); | ||
| 55 | LCRYPTO_USED(DES_set_key); | ||
| 56 | LCRYPTO_USED(DES_key_sched); | ||
| 57 | LCRYPTO_USED(DES_set_key_checked); | ||
| 58 | LCRYPTO_USED(DES_set_key_unchecked); | ||
| 59 | LCRYPTO_USED(DES_string_to_key); | ||
| 60 | LCRYPTO_USED(DES_string_to_2keys); | ||
| 61 | LCRYPTO_USED(DES_cfb64_encrypt); | ||
| 62 | LCRYPTO_USED(DES_ofb64_encrypt); | ||
| 63 | |||
| 64 | #endif /* _LIBCRYPTO_DES_H */ | ||
