summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2023-05-20 12:07:21 +0000
committertb <>2023-05-20 12:07:21 +0000
commit60a7766ceebcd12f2f115404174534b3834614d4 (patch)
treeaa64b384ea53d84c461e05894c7db05b3068259a /src
parenta875e04ed3014912ab09376e2dfebe7eb86419d5 (diff)
downloadopenbsd-60a7766ceebcd12f2f115404174534b3834614d4.tar.gz
openbsd-60a7766ceebcd12f2f115404174534b3834614d4.tar.bz2
openbsd-60a7766ceebcd12f2f115404174534b3834614d4.zip
Add a slow regress target that runs openssl speed with proper alignment
and with an unaligned offset. Let's see if all ciphers on our strict alignment arches can deal with this.
Diffstat (limited to 'src')
-rw-r--r--src/regress/usr.bin/openssl/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/regress/usr.bin/openssl/Makefile b/src/regress/usr.bin/openssl/Makefile
index d41b65a3f4..8cdaac01ac 100644
--- a/src/regress/usr.bin/openssl/Makefile
+++ b/src/regress/usr.bin/openssl/Makefile
@@ -1,11 +1,12 @@
1# $OpenBSD: Makefile,v 1.7 2021/02/16 21:39:17 jan Exp $ 1# $OpenBSD: Makefile,v 1.8 2023/05/20 12:07:21 tb Exp $
2 2
3SUBDIR= options x509 3SUBDIR= options x509
4 4
5CLEANFILES+= testdsa.key testdsa.pem rsakey.pem rsacert.pem dsa512.pem 5CLEANFILES+= testdsa.key testdsa.pem rsakey.pem rsacert.pem dsa512.pem
6CLEANFILES+= appstest_dir 6CLEANFILES+= appstest_dir
7 7
8REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest 8REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest speed
9REGRESS_SLOW_TARGETS=speed
9 10
10OPENSSL=/usr/bin/openssl 11OPENSSL=/usr/bin/openssl
11CLEAR1=p 12CLEAR1=p
@@ -59,6 +60,10 @@ ssl-rsa:
59 env OPENSSL=${OPENSSL} sh ${.CURDIR}/testrsa.sh ${.OBJDIR} ${.CURDIR} 60 env OPENSSL=${OPENSSL} sh ${.CURDIR}/testrsa.sh ${.OBJDIR} ${.CURDIR}
60appstest: 61appstest:
61 env OPENSSL=${OPENSSL} sh ${.CURDIR}/appstest.sh -q 62 env OPENSSL=${OPENSSL} sh ${.CURDIR}/appstest.sh -q
63speed:
64.for offset in 0 3
65 ${OPENSSL} speed -unaligned ${offset}
66.endfor
62 67
63clean: 68clean:
64 rm -rf ${CLEANFILES} 69 rm -rf ${CLEANFILES}