1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00

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.
This commit is contained in:
tb 2023-05-20 12:07:21 +00:00
parent 1aa981a472
commit 6a9ebb2fe8

View File

@ -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}