aboutsummaryrefslogtreecommitdiff
path: root/crypto/Makefile.am.elf-mips
blob: 227699107092c8ae55843962ae303dfc6759faf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
ASM_MIPS_ELF = aes/aes-mips.S
ASM_MIPS_ELF += bn/bn-mips.S
ASM_MIPS_ELF += bn/mont-mips.S
ASM_MIPS_ELF += sha/sha1-mips.S
ASM_MIPS_ELF += sha/sha512-mips.S
ASM_MIPS_ELF += sha/sha256-mips.S

EXTRA_DIST += $(ASM_MIPS_ELF)

if HOST_ASM_ELF_MIPS
libcrypto_la_CPPFLAGS += -DLIBRESSL_USE_AES_ASSEMBLY
libcrypto_la_CPPFLAGS += -DLIBRESSL_USE_BN_ASSEMBLY
libcrypto_la_CPPFLAGS += -DLIBRESSL_USE_SHA_ASSEMBLY

libcrypto_la_CPPFLAGS += -DOPENSSL_BN_ASM_MONT

libcrypto_la_SOURCES += $(ASM_MIPS_ELF)
endif