
a.radke at arcor
Jul 8, 2011, 7:15 AM
Post #1 of 2
(576 views)
Permalink
|
|
libgcrypt 1.5.0 aes-ni test suite fails for i686
|
|
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 _______________________________________________ Gcrypt-devel mailing list Gcrypt-devel [at] gnupg http://lists.gnupg.org/mailman/listinfo/gcrypt-devel
|