diff options
| author | jsing <> | 2025-09-07 06:28:03 +0000 |
|---|---|---|
| committer | jsing <> | 2025-09-07 06:28:03 +0000 |
| commit | 98287b7cd5d64488bbaf57088225f91bd8e8a7f9 (patch) | |
| tree | d754d9b930316cfd9ea844b18cd7f5b0b2a74ed1 /src/lib/libcrypto/arch | |
| parent | 9283c4361ce1f1a39a1f03c588c3d1a3da64025e (diff) | |
| download | openbsd-98287b7cd5d64488bbaf57088225f91bd8e8a7f9.tar.gz openbsd-98287b7cd5d64488bbaf57088225f91bd8e8a7f9.tar.bz2 openbsd-98287b7cd5d64488bbaf57088225f91bd8e8a7f9.zip | |
Remove BN_DIV2W.
The BN_DIV2W define provides a code path for double word division via the C
compiler, which is only enabled on hppa. Simplify the code and mop this up.
ok tb@
Diffstat (limited to 'src/lib/libcrypto/arch')
| -rw-r--r-- | src/lib/libcrypto/arch/hppa/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc index 11bfa4a5d3..bb8f1498dd 100644 --- a/src/lib/libcrypto/arch/hppa/Makefile.inc +++ b/src/lib/libcrypto/arch/hppa/Makefile.inc | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile.inc,v 1.26 2025/02/14 12:01:58 jsing Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.27 2025/09/07 06:28:03 jsing Exp $ |
| 2 | 2 | ||
| 3 | # hppa-specific libcrypto build rules | 3 | # hppa-specific libcrypto build rules |
| 4 | 4 | ||
| @@ -7,7 +7,7 @@ CFLAGS+= -DAES_ASM | |||
| 7 | SSLASM+= aes aes-parisc aes-parisc | 7 | SSLASM+= aes aes-parisc aes-parisc |
| 8 | # bn | 8 | # bn |
| 9 | SSLASM+= bn parisc-mont parisc-mont | 9 | SSLASM+= bn parisc-mont parisc-mont |
| 10 | CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV2W | 10 | CFLAGS+= -DOPENSSL_BN_ASM_MONT |
| 11 | # modes | 11 | # modes |
| 12 | CFLAGS+= -DGHASH_ASM | 12 | CFLAGS+= -DGHASH_ASM |
| 13 | SSLASM+= modes ghash-parisc ghash-parisc | 13 | SSLASM+= modes ghash-parisc ghash-parisc |
