[External] : Re: OpenSSL 3.0.0 two tests fail on Solaris 10 SPARC64 ( Oracle/Fujitsu )

Jan Lana jan.lana at oracle.com
Mon Sep 13 10:47:30 UTC 2021


V Sat, Sep 11, 2021 at 09:43:56PM -0700, Erik Forsberg napsal(a):
>Must be SPARC-specific, all tests pass on my x86/x64 Solaris 11.4 using latest GCC (11.2)

according the latest buildbot results the tests pass

https://fips.buildbot.openssl.org/#/builders/45/builds/370/steps/5/logs/stdio

61 03-test_internal_modes.t ........... ok
...
244 90-test_ige.t ...................... ok

(with Studio compiler)


I run the test locally on 3.0.0 release build an it pass as well (studio 
compiler):

>>> `make V=1 TESTS="test_internal_modes test_ige" test`

make depend && make _tests
( SRCTOP=../../openssl-3.0.0 \
   BLDTOP=. \
   PERL="/usr/perl5/5.32/bin/perl" \
   FIPSKEY="f4556650ac31d35461610bac4ed81b1a181b2d8a43ea2854cbae22ca74560813" \
   EXE_EXT= \
   /usr/perl5/5.32/bin/perl ../../openssl-3.0.0/test/run_tests.pl test_internal_modes test_ige )
00-prep_fipsmodule_cnf.t .. 
# The results of this test will end up in test-runs/prep_fipsmodule
1..1
HMAC : (Module_Integrity) : Pass
SHA1 : (KAT_Digest) : Pass
SHA2 : (KAT_Digest) : Pass
SHA3 : (KAT_Digest) : Pass
TDES : (KAT_Cipher) : Pass
AES_GCM : (KAT_Cipher) : Pass
AES_ECB_Decrypt : (KAT_Cipher) : Pass
RSA : (KAT_Signature) : RNG : (Continuous_RNG_Test) : Pass
Pass
ECDSA : (PCT_Signature) : Pass
ECDSA : (PCT_Signature) : Pass
DSA : (PCT_Signature) : Pass
TLS13_KDF_EXTRACT : (KAT_KDF) : Pass
TLS13_KDF_EXPAND : (KAT_KDF) : Pass
TLS12_PRF : (KAT_KDF) : Pass
PBKDF2 : (KAT_KDF) : Pass
SSHKDF : (KAT_KDF) : Pass
KBKDF : (KAT_KDF) : Pass
HKDF : (KAT_KDF) : Pass
SSKDF : (KAT_KDF) : Pass
X963KDF : (KAT_KDF) : Pass
X942KDF : (KAT_KDF) : Pass
HASH : (DRBG) : Pass
CTR : (DRBG) : Pass
HMAC : (DRBG) : Pass
DH : (KAT_KA) : Pass
ECDH : (KAT_KA) : Pass
RSA_Encrypt : (KAT_AsymmetricCipher) : Pass
RSA_Decrypt : (KAT_AsymmetricCipher) : Pass
RSA_Decrypt : (KAT_AsymmetricCipher) : Pass
INSTALL PASSED
../../util/wrap.pl ../../apps/openssl fipsinstall -module ../../providers/fips.so -provider_name fips -section_name fips_sect -out ../../test/fipsmodule.cnf => 0
ok 1 - fips install
ok
All tests successful.
Files=1, Tests=1,  1 wallclock secs ( 0.03 usr  0.02 sys +  0.80 cusr  0.12 csys =  0.97 CPU)
Result: PASS
03-test_internal_modes.t .. 
# The results of this test will end up in test-runs/test_internal_modes
1..1
     # Subtest: ../../test/modes_internal_test
     1..3
         # Subtest: test_aes_cts128
         1..6
         # INFO: 
         # aes_cts128_vector_17
         ok 1 - iteration 1
         # INFO: 
         # aes_cts128_vector_31
         ok 2 - iteration 2
         # INFO: 
         # aes_cts128_vector_32
         ok 3 - iteration 3
         # INFO: 
         # aes_cts128_vector_47
         ok 4 - iteration 4
         # INFO: 
         # aes_cts128_vector_48
         ok 5 - iteration 5
         # INFO: 
         # aes_cts128_vector_64
         ok 6 - iteration 6
     ok 1 - test_aes_cts128
         # Subtest: test_aes_cts128_nist
         1..6
         # INFO: 
         # aes_cts128_nist_vector_17
         ok 7 - iteration 1
         # INFO: 
         # aes_cts128_nist_vector_31
         ok 8 - iteration 2
         # INFO: 
         # aes_cts128_nist_vector_32
         ok 9 - iteration 3
         # INFO: 
         # aes_cts128_nist_vector_47
         ok 10 - iteration 4
         # INFO: 
         # aes_cts128_nist_vector_48
         ok 11 - iteration 5
         # INFO: 
         # aes_cts128_nist_vector_64
         ok 12 - iteration 6
     ok 2 - test_aes_cts128_nist
         # Subtest: test_gcm128
         1..20
         ok 13 - iteration 1
         ok 14 - iteration 2
         ok 15 - iteration 3
         ok 16 - iteration 4
         ok 17 - iteration 5
         ok 18 - iteration 6
         ok 19 - iteration 7
         ok 20 - iteration 8
         ok 21 - iteration 9
         ok 22 - iteration 10
         ok 23 - iteration 11
         ok 24 - iteration 12
         ok 25 - iteration 13
         ok 26 - iteration 14
         ok 27 - iteration 15
         ok 28 - iteration 16
         ok 29 - iteration 17
         ok 30 - iteration 18
         ok 31 - iteration 19
         ok 32 - iteration 20
     ok 3 - test_gcm128
../../util/wrap.pl ../../test/modes_internal_test => 0
ok 1 - running modes_internal_test
ok
90-test_ige.t ............. 
# The results of this test will end up in test-runs/test_ige
1..1
     # Subtest: ../../test/igetest
     1..10
     ok 1 - test_ige_enc_dec
     ok 2 - test_ige_enc_chaining
     ok 3 - test_ige_dec_chaining
     ok 4 - test_ige_garble_forwards
     ok 5 - test_bi_ige_enc_dec
     ok 6 - test_bi_ige_garble1
     ok 7 - test_bi_ige_garble2
     ok 8 - test_bi_ige_garble3
         # Subtest: test_ige_vectors
         1..2
         ok 1 - iteration 1
         ok 2 - iteration 2
     ok 9 - test_ige_vectors
         # Subtest: test_bi_ige_vectors
         1..2
         ok 3 - iteration 1
         ok 4 - iteration 2
     ok 10 - test_bi_ige_vectors
../../util/wrap.pl ../../test/igetest => 0
ok 1 - running igetest
ok
All tests successful.
Files=2, Tests=2,  2 wallclock secs ( 0.02 usr  0.02 sys +  1.15 cusr  0.24 csys =  1.43 CPU)
Result: PASS
`test' is up to date.

I'll try to build openssl with gcc and reproduce your issue.

regards,

-- 
Jan Lana | Systems Security Compliance and Globalization
Phone: +420 221 438 800 
Oracle Czech, U Trezorky 921/2, 158 00 Praha 5, Czech Republic


More information about the openssl-users mailing list