diff options
author | tb <> | 2023-05-20 12:07:21 +0000 |
---|---|---|
committer | tb <> | 2023-05-20 12:07:21 +0000 |
commit | 03e78745a00170e3c372c8abdfd39a151efab690 (patch) | |
tree | aa64b384ea53d84c461e05894c7db05b3068259a /src/regress/usr.bin/openssl | |
parent | 3d109e0a2941852707bea5f42b0adcee09d77740 (diff) | |
download | openbsd-03e78745a00170e3c372c8abdfd39a151efab690.tar.gz openbsd-03e78745a00170e3c372c8abdfd39a151efab690.tar.bz2 openbsd-03e78745a00170e3c372c8abdfd39a151efab690.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/regress/usr.bin/openssl')
-rw-r--r-- | src/regress/usr.bin/openssl/Makefile | 9 |
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 | ||
3 | SUBDIR= options x509 | 3 | SUBDIR= options x509 |
4 | 4 | ||
5 | CLEANFILES+= testdsa.key testdsa.pem rsakey.pem rsacert.pem dsa512.pem | 5 | CLEANFILES+= testdsa.key testdsa.pem rsakey.pem rsacert.pem dsa512.pem |
6 | CLEANFILES+= appstest_dir | 6 | CLEANFILES+= appstest_dir |
7 | 7 | ||
8 | REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest | 8 | REGRESS_TARGETS=ssl-enc ssl-dsa ssl-rsa appstest speed |
9 | REGRESS_SLOW_TARGETS=speed | ||
9 | 10 | ||
10 | OPENSSL=/usr/bin/openssl | 11 | OPENSSL=/usr/bin/openssl |
11 | CLEAR1=p | 12 | CLEAR1=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} |
60 | appstest: | 61 | appstest: |
61 | env OPENSSL=${OPENSSL} sh ${.CURDIR}/appstest.sh -q | 62 | env OPENSSL=${OPENSSL} sh ${.CURDIR}/appstest.sh -q |
63 | speed: | ||
64 | .for offset in 0 3 | ||
65 | ${OPENSSL} speed -unaligned ${offset} | ||
66 | .endfor | ||
62 | 67 | ||
63 | clean: | 68 | clean: |
64 | rm -rf ${CLEANFILES} | 69 | rm -rf ${CLEANFILES} |