diff options
-rw-r--r-- | src/lib/libcrypto/arch/sparc/Makefile.inc | 27 | ||||
-rw-r--r-- | src/lib/libcrypto/crypto/arch/sparc/Makefile.inc | 27 |
2 files changed, 54 insertions, 0 deletions
diff --git a/src/lib/libcrypto/arch/sparc/Makefile.inc b/src/lib/libcrypto/arch/sparc/Makefile.inc new file mode 100644 index 0000000000..54dc318737 --- /dev/null +++ b/src/lib/libcrypto/arch/sparc/Makefile.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.1 2014/05/05 04:44:54 miod Exp $ | ||
2 | |||
3 | # sparc-specific libcrypto build rules | ||
4 | |||
5 | # aes | ||
6 | SRCS+= aes_core.c aes_cbc.c | ||
7 | # bf | ||
8 | SRCS+= bf_enc.c | ||
9 | # bn | ||
10 | .if 0 # uses `umul' and `udiv' instructions | ||
11 | SRCS+= sparcv8.S | ||
12 | .PATH: ${LCRYPTO_SRC}/bn/asm | ||
13 | .else | ||
14 | SRCS+= bn_asm.c | ||
15 | .endif | ||
16 | # des | ||
17 | SRCS+= fcrypt_b.c | ||
18 | SRCS+= des_enc-sparc.S | ||
19 | GENERATED+= des_enc-sparc.S | ||
20 | des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4 | ||
21 | m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET} | ||
22 | # rc4 | ||
23 | SRCS+= rc4_enc.c rc4_skey.c | ||
24 | ## rc5 | ||
25 | #SRCS+= rc5_enc.c | ||
26 | # whrlpool | ||
27 | SRCS+= wp_block.c | ||
diff --git a/src/lib/libcrypto/crypto/arch/sparc/Makefile.inc b/src/lib/libcrypto/crypto/arch/sparc/Makefile.inc new file mode 100644 index 0000000000..54dc318737 --- /dev/null +++ b/src/lib/libcrypto/crypto/arch/sparc/Makefile.inc | |||
@@ -0,0 +1,27 @@ | |||
1 | # $OpenBSD: Makefile.inc,v 1.1 2014/05/05 04:44:54 miod Exp $ | ||
2 | |||
3 | # sparc-specific libcrypto build rules | ||
4 | |||
5 | # aes | ||
6 | SRCS+= aes_core.c aes_cbc.c | ||
7 | # bf | ||
8 | SRCS+= bf_enc.c | ||
9 | # bn | ||
10 | .if 0 # uses `umul' and `udiv' instructions | ||
11 | SRCS+= sparcv8.S | ||
12 | .PATH: ${LCRYPTO_SRC}/bn/asm | ||
13 | .else | ||
14 | SRCS+= bn_asm.c | ||
15 | .endif | ||
16 | # des | ||
17 | SRCS+= fcrypt_b.c | ||
18 | SRCS+= des_enc-sparc.S | ||
19 | GENERATED+= des_enc-sparc.S | ||
20 | des_enc-sparc.S: ${LCRYPTO_SRC}/des/asm/des_enc.m4 | ||
21 | m4 ${LCRYPTO_SRC}/des/asm/des_enc.m4 > ${.TARGET} | ||
22 | # rc4 | ||
23 | SRCS+= rc4_enc.c rc4_skey.c | ||
24 | ## rc5 | ||
25 | #SRCS+= rc5_enc.c | ||
26 | # whrlpool | ||
27 | SRCS+= wp_block.c | ||