From 03e78745a00170e3c372c8abdfd39a151efab690 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 20 May 2023 12:07:21 +0000 Subject: 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. --- src/regress/usr.bin/openssl/Makefile | 9 +++++++-- 1 file 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 @@ -# $OpenBSD: Makefile,v 1.7 2021/02/16 21:39:17 jan Exp $ +# $OpenBSD: Makefile,v 1.8 2023/05/20 12:07:21 tb Exp $ SUBDIR= options x509 CLEANFILES+= testdsa.key testdsa.pem rsakey.pem rsacert.pem dsa512.pem CLEANFILES+= appstest_dir -REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest +REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest speed +REGRESS_SLOW_TARGETS=speed OPENSSL=/usr/bin/openssl CLEAR1=p @@ -59,6 +60,10 @@ ssl-rsa: env OPENSSL=${OPENSSL} sh ${.CURDIR}/testrsa.sh ${.OBJDIR} ${.CURDIR} appstest: env OPENSSL=${OPENSSL} sh ${.CURDIR}/appstest.sh -q +speed: +.for offset in 0 3 + ${OPENSSL} speed -unaligned ${offset} +.endfor clean: rm -rf ${CLEANFILES} -- cgit v1.2.3-55-g6feb