summaryrefslogtreecommitdiff
path: root/lib/libcrypto/arch
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2023-07-07 15:51:04 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2023-07-07 15:51:04 +0000
commit1c3112a1c839e4770e1654354b572b3f9d03a237 (patch)
treef84f7c64c56c2fd6f0c1d5a3973fc83f7c51f09b /lib/libcrypto/arch
parentb8d37ce0b5ac765054220103b582765d6e609c92 (diff)
Provide a libcrypto Makefile.inc for riscv64.
This is currently no different from the existing behaviour and just pulls in the C code that would have previously been built. However, it means that OPENSSL_NO_ASM is no longer being defined by the main libcrypto Makefile, which in turn will allow us to implement assembly optimisations.
Diffstat (limited to 'lib/libcrypto/arch')
-rw-r--r--lib/libcrypto/arch/riscv64/Makefile.inc26
1 files changed, 26 insertions, 0 deletions
diff --git a/lib/libcrypto/arch/riscv64/Makefile.inc b/lib/libcrypto/arch/riscv64/Makefile.inc
new file mode 100644
index 00000000000..28e2a46b831
--- /dev/null
+++ b/lib/libcrypto/arch/riscv64/Makefile.inc
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile.inc,v 1.1 2023/07/07 15:51:03 jsing Exp $
+
+# riscv64 libcrypto build rules
+
+# aes
+SRCS+= aes_core.c
+SRCS+= aes_cbc.c
+
+# bf
+SRCS+= bf_enc.c
+
+# camellia
+SRCS+= camellia.c
+SRCS+= cmll_cbc.c
+SRCS+= cmll_misc.c
+
+# des
+SRCS+= des_enc.c
+SRCS+= fcrypt_b.c
+
+# rc4
+SRCS+= rc4_enc.c
+SRCS+= rc4_skey.c
+
+# whrlpool
+SRCS+= wp_block.c