[Bug 591713] Re: Illegal instruction in AES ciphers on WinChip C6
Launchpad Bug Tracker
591713 at bugs.launchpad.net
Sun Jul 24 04:17:20 UTC 2022
[Expired for openssl (Ubuntu) because there has been no activity for 60
days.]
** Changed in: openssl (Ubuntu)
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/591713
Title:
Illegal instruction in AES ciphers on WinChip C6
Status in openssl package in Ubuntu:
Expired
Bug description:
Binary package hint: openssl
Some ciphers from openssl-0.9.8k-7ubuntu8 in Ubuntu 10.04 terminate
with an Illegal instruction signal (SIGILL) when running on a WinChip
C6 processor:
$ cat openssl.sh
#!/bin/sh
for c in `openssl list-cipher-commands`
do
echo $c
echo -n Hello | openssl enc -$c -K 0 -iv 0 > /dev/null
done
$ openssl.sh
aes-128-cbc
Illegal instruction
aes-128-ecb
Illegal instruction
aes-192-cbc
Illegal instruction
aes-192-ecb
Illegal instruction
aes-256-cbc
Illegal instruction
aes-256-ecb
Illegal instruction
base64
bf
bf-cbc
bf-cfb
bf-ecb
bf-ofb
cast
cast-cbc
cast5-cbc
cast5-cfb
cast5-ecb
cast5-ofb
des
des-cbc
des-cfb
des-ecb
des-ede
des-ede-cbc
des-ede-cfb
des-ede-ofb
des-ede3
des-ede3-cbc
des-ede3-cfb
des-ede3-ofb
des-ofb
des3
desx
rc2
rc2-40-cbc
rc2-64-cbc
rc2-cbc
rc2-cfb
rc2-ecb
rc2-ofb
rc4
rc4-40
I'm using a default kernel:
$ uname -a
Linux vdr 2.6.32-22-386 #36-Ubuntu SMP Fri Jun 4 00:27:09 UTC 2010 i586 GNU/Linux
This is the CPU info:
$ cat /proc/cpuinfo
processor : 0
vendor_id : CentaurHauls
cpu family : 5
model : 4
model name : WinChip C6
stepping : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu de msr mce cx8 mmx centaur_mcr up
bogomips : 399.48
clflush size : 32
cache_alignment : 32
address sizes : 32 bits physical, 32 bits virtual
power management:
I ran into this when I couldn't access this machine via ssh 4.7p1,
because this version selects the aes128-cbc cipher by default. Ssh
immediately terminates with "Connection closed by ...".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/591713/+subscriptions
More information about the foundations-bugs
mailing list