From: dtucker Date: Fri, 21 Jan 2022 02:54:41 +0000 (+0000) Subject: Enable all supported ciphers and macs in the server before trying X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a2347b6efa99128c1302e9ce2c69fe70501c3a16;p=openbsd Enable all supported ciphers and macs in the server before trying to benchmark them. Increase the data file size to get more signal. --- diff --git a/regress/usr.bin/ssh/cipher-speed.sh b/regress/usr.bin/ssh/cipher-speed.sh index 22d1d7f14fb..bfda94a0131 100644 --- a/regress/usr.bin/ssh/cipher-speed.sh +++ b/regress/usr.bin/ssh/cipher-speed.sh @@ -1,8 +1,18 @@ -# $OpenBSD: cipher-speed.sh,v 1.14 2017/04/30 23:34:55 djm Exp $ +# $OpenBSD: cipher-speed.sh,v 1.15 2022/01/21 02:54:41 dtucker Exp $ # Placed in the Public Domain. tid="cipher speed" +# Enable all supported ciphers and macs. +ciphers=`${SSH} -Q Ciphers | tr '\n' , | sed 's/,$//'` +macs=`${SSH} -Q MACs | tr '\n' , | sed 's/,$//'` +cat >>$OBJ/sshd_proxy <