[openssh-commits] [openssh] 01/03: upstream: Enable all supported ciphers and macs in the server

git+noreply at mindrot.org git+noreply at mindrot.org
Wed Feb 2 16:53:01 AEDT 2022


This is an automated email from the git hooks/post-receive script.

djm pushed a commit to branch master
in repository openssh.

commit 968e508967ef42480cebad8cf3172465883baa77
Author: dtucker at openbsd.org <dtucker at openbsd.org>
Date:   Fri Jan 21 02:54:41 2022 +0000

    upstream: Enable all supported ciphers and macs in the server
    
    before trying to benchmark them.  Increase the data file size to get more
    signal.
    
    OpenBSD-Regress-ID: dc3697d9f7defdfc51c608782c8e750128e46eb6
---
 regress/cipher-speed.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/regress/cipher-speed.sh b/regress/cipher-speed.sh
index 5da95b3a..1340bd15 100644
--- a/regress/cipher-speed.sh
+++ b/regress/cipher-speed.sh
@@ -3,6 +3,16 @@
 
 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 <<EOD
+Ciphers $ciphers
+MACs $macs
+EOD
+
+increase_datafile_size 10000 # 10MB
+
 getbytes ()
 {
 	sed -n -e '/transferred/s/.*secs (\(.* bytes.sec\).*/\1/p' \

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list