summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2012-07-12 21:31:53 +0000
committerjkim <jkim@FreeBSD.org>2012-07-12 21:31:53 +0000
commitd3ee5648494871eccd110b365f1ae826f18c7f94 (patch)
treea0965f7ab17f2f0508832bfb144e9e80ed27562e /secure/lib
parente393e47b1e23744a7d0ed999afb5d137070f5f8f (diff)
downloadFreeBSD-src-d3ee5648494871eccd110b365f1ae826f18c7f94.zip
FreeBSD-src-d3ee5648494871eccd110b365f1ae826f18c7f94.tar.gz
Sort ASM definitions by crypto module for slightly easier maintenance.
Specifically, GHASH_ASM belongs to crypto/modes.
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypto/Makefile.inc6
1 files changed, 4 insertions, 2 deletions
diff --git a/secure/lib/libcrypto/Makefile.inc b/secure/lib/libcrypto/Makefile.inc
index b55fb5e..a34111f 100644
--- a/secure/lib/libcrypto/Makefile.inc
+++ b/secure/lib/libcrypto/Makefile.inc
@@ -22,16 +22,18 @@ CFLAGS+=-DL_ENDIAN -DOPENSSL_IA32_SSE2
CFLAGS+=-DAES_ASM -DBSAES_ASM -DVPAES_ASM
CFLAGS+=-DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m
CFLAGS+=-DMD5_ASM
+CFLAGS+=-DGHASH_ASM
CFLAGS+=-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-CFLAGS+=-DWHIRLPOOL_ASM -DGHASH_ASM
+CFLAGS+=-DWHIRLPOOL_ASM
.elif ${MACHINE_CPUARCH} == "i386"
CFLAGS+=-DL_ENDIAN -DOPENSSL_IA32_SSE2
CFLAGS+=-DAES_ASM -DVPAES_ASM
CFLAGS+=-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m
CFLAGS+=-DMD5_ASM
+CFLAGS+=-DGHASH_ASM
CFLAGS+=-DRMD160_ASM
CFLAGS+=-DSHA1_ASM -DSHA256_ASM -DSHA512_ASM
-CFLAGS+=-DWHIRLPOOL_ASM -DGHASH_ASM
+CFLAGS+=-DWHIRLPOOL_ASM
.endif
MANDIR= ${SHAREDIR}/openssl/man/man
OpenPOWER on IntegriCloud