diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/arch/hppa/Makefile.inc | 50 | ||||
| -rw-r--r-- | src/lib/libcrypto/crypto/arch/hppa/Makefile.inc | 50 |
2 files changed, 100 insertions, 0 deletions
diff --git a/src/lib/libcrypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/arch/hppa/Makefile.inc new file mode 100644 index 0000000000..a25c69392b --- /dev/null +++ b/src/lib/libcrypto/arch/hppa/Makefile.inc | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | # $OpenBSD: Makefile.inc,v 1.1 2014/05/01 22:27:59 miod Exp $ | ||
| 2 | |||
| 3 | # hppa-specific libcrypto build rules | ||
| 4 | |||
| 5 | # aes | ||
| 6 | SRCS+= aes_core.c aes_cbc.c | ||
| 7 | CFLAGS+= -DAES_ASM | ||
| 8 | SSLASM+= aes aes-parisc aes-parisc | ||
| 9 | # bf | ||
| 10 | SRCS+= bf_enc.c | ||
| 11 | # bn | ||
| 12 | SRCS+= bn_asm.c | ||
| 13 | SSLASM+= bn parisc-mont parisc-mont | ||
| 14 | # des | ||
| 15 | SRCS+= des_enc.c fcrypt_b.c | ||
| 16 | # modes | ||
| 17 | CFLAGS+= -DGHASH_ASM | ||
| 18 | SSLASM+= modes ghash-parisc ghash-parisc | ||
| 19 | # rc4 | ||
| 20 | .if 0 # about 35% slower than C code | ||
| 21 | SSLASM+= rc4 rc4-parisc rc4-parisc | ||
| 22 | .else | ||
| 23 | SRCS+= rc4_enc.c rc4_skey.c | ||
| 24 | .endif | ||
| 25 | ## rc5 | ||
| 26 | #SRCS+= rc5_enc.c | ||
| 27 | # sha | ||
| 28 | CFLAGS+= -DSHA1_ASM | ||
| 29 | SSLASM+= sha sha1-parisc sha1-parisc | ||
| 30 | CFLAGS+= -DSHA256_ASM | ||
| 31 | SSLASM+= sha sha512-parisc sha256-parisc | ||
| 32 | CFLAGS+= -DSHA512_ASM | ||
| 33 | SSLASM+= sha sha512-parisc sha512-parisc | ||
| 34 | # whrlpool | ||
| 35 | SRCS+= wp_block.c | ||
| 36 | |||
| 37 | .for dir src dst in ${SSLASM} | ||
| 38 | SRCS+= ${dst}.S | ||
| 39 | GENERATED+=${dst}.S | ||
| 40 | ${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl | ||
| 41 | /usr/bin/perl \ | ||
| 42 | ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 32 ${.TARGET} > ${.TARGET} | ||
| 43 | .endfor | ||
| 44 | |||
| 45 | CFLAGS+= -DOPENSSL_CPUID_OBJ | ||
| 46 | SRCS+= pariscid.S | ||
| 47 | GENERATED+=pariscid.S | ||
| 48 | pariscid.S: ${LCRYPTO_SRC}/pariscid.pl | ||
| 49 | /usr/bin/perl \ | ||
| 50 | ${LCRYPTO_SRC}/pariscid.pl 32 > ${.TARGET} | ||
diff --git a/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc b/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc new file mode 100644 index 0000000000..a25c69392b --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/hppa/Makefile.inc | |||
| @@ -0,0 +1,50 @@ | |||
| 1 | # $OpenBSD: Makefile.inc,v 1.1 2014/05/01 22:27:59 miod Exp $ | ||
| 2 | |||
| 3 | # hppa-specific libcrypto build rules | ||
| 4 | |||
| 5 | # aes | ||
| 6 | SRCS+= aes_core.c aes_cbc.c | ||
| 7 | CFLAGS+= -DAES_ASM | ||
| 8 | SSLASM+= aes aes-parisc aes-parisc | ||
| 9 | # bf | ||
| 10 | SRCS+= bf_enc.c | ||
| 11 | # bn | ||
| 12 | SRCS+= bn_asm.c | ||
| 13 | SSLASM+= bn parisc-mont parisc-mont | ||
| 14 | # des | ||
| 15 | SRCS+= des_enc.c fcrypt_b.c | ||
| 16 | # modes | ||
| 17 | CFLAGS+= -DGHASH_ASM | ||
| 18 | SSLASM+= modes ghash-parisc ghash-parisc | ||
| 19 | # rc4 | ||
| 20 | .if 0 # about 35% slower than C code | ||
| 21 | SSLASM+= rc4 rc4-parisc rc4-parisc | ||
| 22 | .else | ||
| 23 | SRCS+= rc4_enc.c rc4_skey.c | ||
| 24 | .endif | ||
| 25 | ## rc5 | ||
| 26 | #SRCS+= rc5_enc.c | ||
| 27 | # sha | ||
| 28 | CFLAGS+= -DSHA1_ASM | ||
| 29 | SSLASM+= sha sha1-parisc sha1-parisc | ||
| 30 | CFLAGS+= -DSHA256_ASM | ||
| 31 | SSLASM+= sha sha512-parisc sha256-parisc | ||
| 32 | CFLAGS+= -DSHA512_ASM | ||
| 33 | SSLASM+= sha sha512-parisc sha512-parisc | ||
| 34 | # whrlpool | ||
| 35 | SRCS+= wp_block.c | ||
| 36 | |||
| 37 | .for dir src dst in ${SSLASM} | ||
| 38 | SRCS+= ${dst}.S | ||
| 39 | GENERATED+=${dst}.S | ||
| 40 | ${dst}.S: ${LCRYPTO_SRC}/${dir}/asm/${src}.pl | ||
| 41 | /usr/bin/perl \ | ||
| 42 | ${LCRYPTO_SRC}/${dir}/asm/${src}.pl 32 ${.TARGET} > ${.TARGET} | ||
| 43 | .endfor | ||
| 44 | |||
| 45 | CFLAGS+= -DOPENSSL_CPUID_OBJ | ||
| 46 | SRCS+= pariscid.S | ||
| 47 | GENERATED+=pariscid.S | ||
| 48 | pariscid.S: ${LCRYPTO_SRC}/pariscid.pl | ||
| 49 | /usr/bin/perl \ | ||
| 50 | ${LCRYPTO_SRC}/pariscid.pl 32 > ${.TARGET} | ||
