summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arch/amd64/Makefile.inc
diff options
context:
space:
mode:
authorcvs2svn <admin@example.com>2025-04-14 17:32:06 +0000
committercvs2svn <admin@example.com>2025-04-14 17:32:06 +0000
commitb1ddde874c215cc8891531ed92876f091b7eb83e (patch)
treeedb6da6af7e865d488dc1a29309f1e1ec226e603 /src/lib/libcrypto/arch/amd64/Makefile.inc
parentf0a36529837a161734c802ae4c42e84e42347be2 (diff)
downloadopenbsd-tb_20250414.tar.gz
openbsd-tb_20250414.tar.bz2
openbsd-tb_20250414.zip
This commit was manufactured by cvs2git to create tag 'tb_20250414'.tb_20250414
Diffstat (limited to 'src/lib/libcrypto/arch/amd64/Makefile.inc')
-rw-r--r--src/lib/libcrypto/arch/amd64/Makefile.inc68
1 files changed, 0 insertions, 68 deletions
diff --git a/src/lib/libcrypto/arch/amd64/Makefile.inc b/src/lib/libcrypto/arch/amd64/Makefile.inc
deleted file mode 100644
index b1a6563931..0000000000
--- a/src/lib/libcrypto/arch/amd64/Makefile.inc
+++ /dev/null
@@ -1,68 +0,0 @@
1# $OpenBSD: Makefile.inc,v 1.37 2025/02/14 12:01:58 jsing Exp $
2
3# amd64-specific libcrypto build rules
4
5# all amd64 code generators use this
6EXTRA_PL = ${LCRYPTO_SRC}/perlasm/x86_64-xlate.pl
7
8SRCS += crypto_cpu_caps.c
9
10# aes
11CFLAGS+= -DAES_ASM
12SSLASM+= aes aes-x86_64
13CFLAGS+= -DBSAES_ASM
14SSLASM+= aes bsaes-x86_64
15CFLAGS+= -DVPAES_ASM
16SSLASM+= aes vpaes-x86_64
17SSLASM+= aes aesni-x86_64
18# bn
19CFLAGS+= -DOPENSSL_IA32_SSE2
20CFLAGS+= -DRSA_ASM
21SSLASM+= bn modexp512-x86_64
22CFLAGS+= -DOPENSSL_BN_ASM_MONT
23SSLASM+= bn x86_64-mont
24CFLAGS+= -DOPENSSL_BN_ASM_MONT5
25SSLASM+= bn x86_64-mont5
26
27# bn s2n-bignum
28SRCS += bn_arch.c
29SRCS += bignum_add.S
30SRCS += bignum_cmadd.S
31SRCS += bignum_cmul.S
32SRCS += bignum_mul.S
33SRCS += bignum_mul_4_8_alt.S
34SRCS += bignum_mul_8_16_alt.S
35SRCS += bignum_sqr.S
36SRCS += bignum_sqr_4_8_alt.S
37SRCS += bignum_sqr_8_16_alt.S
38SRCS += bignum_sub.S
39SRCS += word_clz.S
40
41# md5
42CFLAGS+= -DMD5_ASM
43SRCS+= md5_amd64_generic.S
44# modes
45CFLAGS+= -DGHASH_ASM
46SSLASM+= modes ghash-x86_64
47# rc4
48SSLASM+= rc4 rc4-x86_64
49# ripemd
50# sha
51SRCS+= sha1_amd64.c
52SRCS+= sha1_amd64_generic.S
53SRCS+= sha1_amd64_shani.S
54SRCS+= sha256_amd64.c
55SRCS+= sha256_amd64_generic.S
56SRCS+= sha256_amd64_shani.S
57SRCS+= sha512_amd64.c
58SRCS+= sha512_amd64_generic.S
59
60.for dir f in ${SSLASM}
61SRCS+= ${f}.S
62GENERATED+=${f}.S
63${f}.S: ${LCRYPTO_SRC}/${dir}/asm/${f}.pl ${EXTRA_PL}
64 (cd ${LCRYPTO_SRC}/${dir} ; \
65 /usr/bin/perl ./asm/${f}.pl openbsd) > ${.TARGET}
66.endfor
67
68CFLAGS+=-fret-clean