Enable the assembler code for BN, which was lost quite some time ago.
authormiod <miod@openbsd.org>
Sun, 4 May 2014 17:13:05 +0000 (17:13 +0000)
committermiod <miod@openbsd.org>
Sun, 4 May 2014 17:13:05 +0000 (17:13 +0000)
lib/libcrypto/arch/vax/Makefile.inc [new file with mode: 0644]
lib/libcrypto/crypto/arch/vax/Makefile.inc [new file with mode: 0644]

diff --git a/lib/libcrypto/arch/vax/Makefile.inc b/lib/libcrypto/arch/vax/Makefile.inc
new file mode 100644 (file)
index 0000000..968783c
--- /dev/null
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile.inc,v 1.1 2014/05/04 17:13:05 miod Exp $
+
+# vax-specific libcrypto build rules
+
+# aes
+CFLAGS+=-DOPENSSL_NO_ASM
+SRCS+= aes_core.c aes_cbc.c 
+# bf
+SRCS+= bf_enc.c
+# bn
+SRCS+= bn_asm_vax.S
+# des
+SRCS+= des_enc.c fcrypt_b.c
+# rc4
+SRCS+= rc4_enc.c rc4_skey.c
+## rc5
+#SRCS+= rc5_enc.c 
+# whrlpool
+SRCS+= wp_block.c
diff --git a/lib/libcrypto/crypto/arch/vax/Makefile.inc b/lib/libcrypto/crypto/arch/vax/Makefile.inc
new file mode 100644 (file)
index 0000000..968783c
--- /dev/null
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile.inc,v 1.1 2014/05/04 17:13:05 miod Exp $
+
+# vax-specific libcrypto build rules
+
+# aes
+CFLAGS+=-DOPENSSL_NO_ASM
+SRCS+= aes_core.c aes_cbc.c 
+# bf
+SRCS+= bf_enc.c
+# bn
+SRCS+= bn_asm_vax.S
+# des
+SRCS+= des_enc.c fcrypt_b.c
+# rc4
+SRCS+= rc4_enc.c rc4_skey.c
+## rc5
+#SRCS+= rc5_enc.c 
+# whrlpool
+SRCS+= wp_block.c