diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/arch/mips64/Makefile.inc | 9 | ||||
-rw-r--r-- | src/lib/libcrypto/crypto/arch/mips64/Makefile.inc | 9 |
2 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libcrypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/arch/mips64/Makefile.inc index 3b8f01e41c..b6fc8971e7 100644 --- a/src/lib/libcrypto/arch/mips64/Makefile.inc +++ b/src/lib/libcrypto/arch/mips64/Makefile.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.3 2014/11/17 20:31:22 miod Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.4 2014/12/07 15:45:44 miod Exp $ |
2 | 2 | ||
3 | # mips64-specific libcrypto build rules | 3 | # mips64-specific libcrypto build rules |
4 | 4 | ||
@@ -9,9 +9,14 @@ SSLASM+= aes aes-mips aes-mips | |||
9 | # bf | 9 | # bf |
10 | SRCS+= bf_enc.c | 10 | SRCS+= bf_enc.c |
11 | # bn | 11 | # bn |
12 | .if ${MACHINE} == "sgi" # because of R4000 support | ||
13 | SRCS+= bn_asm.c | ||
14 | .else | ||
12 | SSLASM+= bn mips bn-mips | 15 | SSLASM+= bn mips bn-mips |
16 | CFLAGS+= -DBN_DIV3W | ||
17 | .endif | ||
13 | SSLASM+= bn mips-mont mips-mont | 18 | SSLASM+= bn mips-mont mips-mont |
14 | CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W | 19 | CFLAGS+= -DOPENSSL_BN_ASM_MONT |
15 | # camellia | 20 | # camellia |
16 | SRCS+= camellia.c cmll_cbc.c cmll_misc.c | 21 | SRCS+= camellia.c cmll_cbc.c cmll_misc.c |
17 | # des | 22 | # des |
diff --git a/src/lib/libcrypto/crypto/arch/mips64/Makefile.inc b/src/lib/libcrypto/crypto/arch/mips64/Makefile.inc index 3b8f01e41c..b6fc8971e7 100644 --- a/src/lib/libcrypto/crypto/arch/mips64/Makefile.inc +++ b/src/lib/libcrypto/crypto/arch/mips64/Makefile.inc | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.3 2014/11/17 20:31:22 miod Exp $ | 1 | # $OpenBSD: Makefile.inc,v 1.4 2014/12/07 15:45:44 miod Exp $ |
2 | 2 | ||
3 | # mips64-specific libcrypto build rules | 3 | # mips64-specific libcrypto build rules |
4 | 4 | ||
@@ -9,9 +9,14 @@ SSLASM+= aes aes-mips aes-mips | |||
9 | # bf | 9 | # bf |
10 | SRCS+= bf_enc.c | 10 | SRCS+= bf_enc.c |
11 | # bn | 11 | # bn |
12 | .if ${MACHINE} == "sgi" # because of R4000 support | ||
13 | SRCS+= bn_asm.c | ||
14 | .else | ||
12 | SSLASM+= bn mips bn-mips | 15 | SSLASM+= bn mips bn-mips |
16 | CFLAGS+= -DBN_DIV3W | ||
17 | .endif | ||
13 | SSLASM+= bn mips-mont mips-mont | 18 | SSLASM+= bn mips-mont mips-mont |
14 | CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W | 19 | CFLAGS+= -DOPENSSL_BN_ASM_MONT |
15 | # camellia | 20 | # camellia |
16 | SRCS+= camellia.c cmll_cbc.c cmll_misc.c | 21 | SRCS+= camellia.c cmll_cbc.c cmll_misc.c |
17 | # des | 22 | # des |