Browse Source

Revert to the use of C code for the basic BN routines (bn_add_words,

bn_div_words, bn_mul_add_words, bn_mul_words, bn_sqr_words, bn_sub_words)
on sgi, because the generated assembly code isn't R4000-safe.
OPENBSD_5_7
miod 9 years ago
parent
commit
70560f682d
1 changed files with 7 additions and 2 deletions
  1. +7
    -2
      src/lib/libcrypto/crypto/arch/mips64/Makefile.inc

+ 7
- 2
src/lib/libcrypto/crypto/arch/mips64/Makefile.inc View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile.inc,v 1.3 2014/11/17 20:31:22 miod Exp $
# $OpenBSD: Makefile.inc,v 1.4 2014/12/07 15:45:44 miod Exp $
# mips64-specific libcrypto build rules
@ -9,9 +9,14 @@ SSLASM+= aes aes-mips aes-mips
# bf
SRCS+= bf_enc.c
# bn
.if ${MACHINE} == "sgi" # because of R4000 support
SRCS+= bn_asm.c
.else
SSLASM+= bn mips bn-mips
CFLAGS+= -DBN_DIV3W
.endif
SSLASM+= bn mips-mont mips-mont
CFLAGS+= -DOPENSSL_BN_ASM_MONT -DBN_DIV3W
CFLAGS+= -DOPENSSL_BN_ASM_MONT
# camellia
SRCS+= camellia.c cmll_cbc.c cmll_misc.c
# des


Loading…
Cancel
Save