mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
- (djm) [regress/cipher-speed.sh regress/integrity.sh regress/try-ciphers.sh]
check for GCM support before testing GCM ciphers.
This commit is contained in:
parent
efa1c95092
commit
b26699bbad
@ -1,3 +1,7 @@
|
|||||||
|
20130117
|
||||||
|
- (djm) [regress/cipher-speed.sh regress/integrity.sh regress/try-ciphers.sh]
|
||||||
|
check for GCM support before testing GCM ciphers.
|
||||||
|
|
||||||
20130112
|
20130112
|
||||||
- (djm) OpenBSD CVS Sync
|
- (djm) OpenBSD CVS Sync
|
||||||
- djm@cvs.openbsd.org 2013/01/12 11:22:04
|
- djm@cvs.openbsd.org 2013/01/12 11:22:04
|
||||||
|
@ -16,11 +16,11 @@ ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
|
|||||||
arcfour128 arcfour256 arcfour
|
arcfour128 arcfour256 arcfour
|
||||||
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se
|
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se
|
||||||
aes128-ctr aes192-ctr aes256-ctr"
|
aes128-ctr aes192-ctr aes256-ctr"
|
||||||
config_defined OPENSSL_HAVE_EVPGCM &&
|
config_defined OPENSSL_HAVE_EVPGCM && \
|
||||||
ciphers="$ciphers aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
ciphers="$ciphers aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
||||||
macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
|
macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
|
||||||
hmac-sha1-96 hmac-md5-96"
|
hmac-sha1-96 hmac-md5-96"
|
||||||
config_defined HAVE_EVP_SHA256 &&
|
config_defined HAVE_EVP_SHA256 && \
|
||||||
macs="$macs hmac-sha2-256 hmac-sha2-512"
|
macs="$macs hmac-sha2-256 hmac-sha2-512"
|
||||||
|
|
||||||
for c in $ciphers; do n=0; for m in $macs; do
|
for c in $ciphers; do n=0; for m in $macs; do
|
||||||
|
@ -16,7 +16,7 @@ macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
|
|||||||
hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com"
|
hmac-sha2-256-etm@openssh.com hmac-sha2-512-etm@openssh.com"
|
||||||
# The following are not MACs, but ciphers with integrated integrity. They are
|
# The following are not MACs, but ciphers with integrated integrity. They are
|
||||||
# handled specially below.
|
# handled specially below.
|
||||||
config_defined OPENSSL_HAVE_EVPGCM &&
|
config_defined OPENSSL_HAVE_EVPGCM && \
|
||||||
macs="$macs aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
macs="$macs aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
||||||
|
|
||||||
# sshd-command for proxy (see test-exec.sh)
|
# sshd-command for proxy (see test-exec.sh)
|
||||||
|
@ -6,8 +6,9 @@ tid="try ciphers"
|
|||||||
ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
|
ciphers="aes128-cbc 3des-cbc blowfish-cbc cast128-cbc
|
||||||
arcfour128 arcfour256 arcfour
|
arcfour128 arcfour256 arcfour
|
||||||
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se
|
aes192-cbc aes256-cbc rijndael-cbc@lysator.liu.se
|
||||||
aes128-ctr aes192-ctr aes256-ctr
|
aes128-ctr aes192-ctr aes256-ctr"
|
||||||
aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
config_defined OPENSSL_HAVE_EVPGCM && \
|
||||||
|
ciphers="$ciphers aes128-gcm@openssh.com aes256-gcm@openssh.com"
|
||||||
macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
|
macs="hmac-sha1 hmac-md5 umac-64@openssh.com umac-128@openssh.com
|
||||||
hmac-sha1-96 hmac-md5-96
|
hmac-sha1-96 hmac-md5-96
|
||||||
hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com
|
hmac-sha1-etm@openssh.com hmac-md5-etm@openssh.com
|
||||||
|
Loading…
x
Reference in New Issue
Block a user