diff options
| author | jsing <> | 2025-07-22 09:18:02 +0000 |
|---|---|---|
| committer | jsing <> | 2025-07-22 09:18:02 +0000 |
| commit | cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38 (patch) | |
| tree | 9825fb894a8de1f7e73e9b6aa7b5af0a792839e8 /src/lib/libcrypto/arch/i386 | |
| parent | da7a63b669ad2a502ae120afede3fd850082e8b6 (diff) | |
| download | openbsd-cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38.tar.gz openbsd-cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38.tar.bz2 openbsd-cbc4928ebdbd9c244a1c0e3c2e90497a0d246b38.zip | |
Remove crypto_cpu_caps_ia32()
There are no more consumers of crypto_cpu_caps_ia32(), so remove it.
ok bcook@ joshua@ tb@
Diffstat (limited to 'src/lib/libcrypto/arch/i386')
| -rw-r--r-- | src/lib/libcrypto/arch/i386/crypto_arch.h | 3 | ||||
| -rw-r--r-- | src/lib/libcrypto/arch/i386/crypto_cpu_caps.c | 8 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/lib/libcrypto/arch/i386/crypto_arch.h b/src/lib/libcrypto/arch/i386/crypto_arch.h index ccaa3e8494..d2faa36e2e 100644 --- a/src/lib/libcrypto/arch/i386/crypto_arch.h +++ b/src/lib/libcrypto/arch/i386/crypto_arch.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto_arch.h,v 1.11 2025/07/22 09:13:49 jsing Exp $ */ | 1 | /* $OpenBSD: crypto_arch.h,v 1.12 2025/07/22 09:18:02 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -21,7 +21,6 @@ | |||
| 21 | #define HEADER_CRYPTO_ARCH_H | 21 | #define HEADER_CRYPTO_ARCH_H |
| 22 | 22 | ||
| 23 | #define HAVE_CRYPTO_CPU_CAPS_INIT | 23 | #define HAVE_CRYPTO_CPU_CAPS_INIT |
| 24 | #define HAVE_CRYPTO_CPU_CAPS_IA32 | ||
| 25 | 24 | ||
| 26 | #ifndef __ASSEMBLER__ | 25 | #ifndef __ASSEMBLER__ |
| 27 | extern uint64_t crypto_cpu_caps_i386; | 26 | extern uint64_t crypto_cpu_caps_i386; |
diff --git a/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c b/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c index 12717a6db3..07d60f9a3f 100644 --- a/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c +++ b/src/lib/libcrypto/arch/i386/crypto_cpu_caps.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto_cpu_caps.c,v 1.5 2025/06/28 12:21:46 jsing Exp $ */ | 1 | /* $OpenBSD: crypto_cpu_caps.c,v 1.6 2025/07/22 09:18:02 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -122,9 +122,3 @@ crypto_cpu_caps_init(void) | |||
| 122 | 122 | ||
| 123 | OPENSSL_ia32cap_P = caps; | 123 | OPENSSL_ia32cap_P = caps; |
| 124 | } | 124 | } |
| 125 | |||
| 126 | uint64_t | ||
| 127 | crypto_cpu_caps_ia32(void) | ||
| 128 | { | ||
| 129 | return OPENSSL_ia32cap_P; | ||
| 130 | } | ||
