diff options
| author | jsing <> | 2025-06-28 12:20:39 +0000 |
|---|---|---|
| committer | jsing <> | 2025-06-28 12:20:39 +0000 |
| commit | c534647b2ec7521ee4210dd398faaad0018287d0 (patch) | |
| tree | fec7b6fce7f03b0d7e349ca966b8d90f9918667b /src/lib/libcrypto/arch/amd64/crypto_arch.h | |
| parent | fd19eff2f98d72aee359ddccbf890bac0361fb66 (diff) | |
| download | openbsd-c534647b2ec7521ee4210dd398faaad0018287d0.tar.gz openbsd-c534647b2ec7521ee4210dd398faaad0018287d0.tar.bz2 openbsd-c534647b2ec7521ee4210dd398faaad0018287d0.zip | |
Add CLMUL to machine dependent CPU capabilities for amd64.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch/amd64/crypto_arch.h')
| -rw-r--r-- | src/lib/libcrypto/arch/amd64/crypto_arch.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arch/amd64/crypto_arch.h b/src/lib/libcrypto/arch/amd64/crypto_arch.h index 9eb99229d1..213a5d903e 100644 --- a/src/lib/libcrypto/arch/amd64/crypto_arch.h +++ b/src/lib/libcrypto/arch/amd64/crypto_arch.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: crypto_arch.h,v 1.7 2025/06/27 17:10:45 jsing Exp $ */ | 1 | /* $OpenBSD: crypto_arch.h,v 1.8 2025/06/28 12:20:39 jsing Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2024 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -28,7 +28,8 @@ extern uint64_t crypto_cpu_caps_amd64; | |||
| 28 | #endif | 28 | #endif |
| 29 | 29 | ||
| 30 | #define CRYPTO_CPU_CAPS_AMD64_AES (1ULL << 0) | 30 | #define CRYPTO_CPU_CAPS_AMD64_AES (1ULL << 0) |
| 31 | #define CRYPTO_CPU_CAPS_AMD64_SHA (1ULL << 1) | 31 | #define CRYPTO_CPU_CAPS_AMD64_CLMUL (1ULL << 1) |
| 32 | #define CRYPTO_CPU_CAPS_AMD64_SHA (1ULL << 2) | ||
| 32 | 33 | ||
| 33 | #ifndef OPENSSL_NO_ASM | 34 | #ifndef OPENSSL_NO_ASM |
| 34 | 35 | ||
