1# $OpenBSD: try-ciphers.sh,v 1.12 2011/08/02 01:23:41 djm Exp $
| 1# $OpenBSD: try-ciphers.sh,v 1.13 2012/06/28 05:07:45 dtucker Exp $
|
2# Placed in the Public Domain. 3 4tid="try ciphers" 5 6ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc 7 arcfour128 arcfour256 arcfour 8 aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se 9 aes128-ctr aes192-ctr aes256-ctr" 10macs="hmac-sha1 hmac-md5 umac-64@openssh.com hmac-sha1-96 hmac-md5-96" 11config_defined HAVE_EVP_SHA256 &&
| 2# Placed in the Public Domain. 3 4tid="try ciphers" 5 6ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc 7 arcfour128 arcfour256 arcfour 8 aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se 9 aes128-ctr aes192-ctr aes256-ctr" 10macs="hmac-sha1 hmac-md5 umac-64@openssh.com hmac-sha1-96 hmac-md5-96" 11config_defined HAVE_EVP_SHA256 &&
|
12 macs="$macs hmac-sha2-256 hmac-sha2-256-96 hmac-sha2-512 hmac-sha2-512-96"
| 12 macs="$macs hmac-sha2-256 hmac-sha2-512"
|
13 14for c in $ciphers; do 15 for m in $macs; do 16 trace "proto 2 cipher $c mac $m" 17 verbose "test $tid: proto 2 cipher $c mac $m" 18 ${SSH} -F $OBJ/ssh_proxy -2 -m $m -c $c somehost true 19 if [ $? -ne 0 ]; then 20 fail "ssh -2 failed with mac $m cipher $c"
--- 31 unchanged lines hidden --- | 13 14for c in $ciphers; do 15 for m in $macs; do 16 trace "proto 2 cipher $c mac $m" 17 verbose "test $tid: proto 2 cipher $c mac $m" 18 ${SSH} -F $OBJ/ssh_proxy -2 -m $m -c $c somehost true 19 if [ $? -ne 0 ]; then 20 fail "ssh -2 failed with mac $m cipher $c"
--- 31 unchanged lines hidden --- |