libgcrypt 1.5.0 aes-ni test suite fails for i686
Andreas Radke
a.radke at arcor.de
Fri Jul 8 16:15:52 CEST 2011
I'm packaging libgcrypt for ArchLinux. My build system has a core i7
AES capable cpu running x86_64 kernel and userland. The x86_64 package
builds fine in our chroot and passes all tests.
Building in an i686 chroot gives segfaults in 3 tests. Is this an
expected behavior or a bug? Adding --disable-aesni-support makes it
pass all tests also for i686.
-Andy
make check-TESTS
make[2]: Entering directory `/build/src/libgcrypt-1.5.0/tests'
version:1.5.0:
ciphers:arcfour:blowfish:cast5:des:aes:twofish:serpent:rfc2268:seed:camellia:
pubkeys:dsa:elgamal:rsa:ecc:
digests:crc:md4:md5:rmd160:sha1:sha256:sha512:tiger:whirlpool:
rnd-mod:linux:
mpi-asm:i386/mpih-add1.S:i386/mpih-sub1.S:i386/mpih-mul1.S:i386/mpih-mul2.S:i386/mpih-mul3.S:i386/mpih-lshift.S:i386/mpih-rshift.S:
hwflist:intel-aesni:
fips-mode:n:n:
PASS: version
PASS: t-mpi-bit
PASS: prime
PASS: register
PASS: ac
PASS: ac-schemes
PASS: ac-data
/bin/sh: line 5: 25392 Segmentation fault ${dir}$tst
FAIL: basic
PASS: mpitests
PASS: tsexp
PASS: keygen
PASS: pubkey
PASS: hmac
PASS: keygrip
PASS: fips186-dsa
/bin/sh: line 5: 25771 Segmentation fault ${dir}$tst
FAIL: aeswrap
PASS: curves
PASS: t-kdf
PASS: pkcs1v2
PASS: random
MD5 0ms 0ms 20ms 0ms 0ms
SHA1 0ms 10ms 20ms 0ms 0ms
RIPEMD160 0ms 0ms 20ms 10ms 10ms
TIGER192 0ms 0ms 30ms 10ms 10ms
SHA256 10ms 10ms 40ms 10ms 10ms
SHA384 10ms 30ms 40ms 20ms 10ms
SHA512 20ms 20ms 40ms 10ms 10ms
SHA224 10ms 10ms 40ms 10ms 10ms
MD4 0ms 0ms 30ms 0ms 0ms
CRC32 0ms 0ms 10ms 10ms 0ms
CRC32RFC1510 0ms 0ms 20ms 0ms 0ms
CRC24RFC2440 10ms 10ms 20ms 10ms 10ms
WHIRLPOOL 20ms 20ms 30ms 20ms 20ms
TIGER 0ms 10ms 30ms 10ms 10ms
TIGER2 0ms 0ms 30ms 10ms 10ms
ECB/Stream CBC CFB
OFB CTR --------------- ---------------
--------------- --------------- ---------------
3DES 40ms 40ms 50ms 40ms 40ms
40ms 50ms 40ms 50ms 40ms CAST5
20ms 10ms 20ms 20ms 10ms 20ms 10ms
10ms 20ms 20ms BLOWFISH 10ms 20ms
10ms 20ms 10ms 20ms 10ms 20ms 10ms
10ms AES /bin/sh: line 5: 26083 Segmentation
fault ${dir}$tst FAIL: benchmark
======================================== 3 of 21 tests
failed Please report to bug-libgcrypt at gnupg.org
More information about the Gcrypt-devel
mailing list