randombit / botan

Cryptography Toolkit
https://botan.randombit.net
BSD 2-Clause "Simplified" License
2.54k stars 562 forks source link

GOST-R-34.11-94 FAILED when building Botan 2.20 for i686 #1148

Closed xyproto closed 7 years ago

xyproto commented 7 years ago

Hi,

I'm trying to package Botan 2.2.0 for Arch Linux.

Configure and build commands:

./configure.py --prefix=/usr
make

Test command:

./botan-test

Building and testing works fine for x86_64, but fails for i686 (output below; ctrl+f "FAIL"):

   INFO: ./configure.py invoked with options "--prefix=/usr"
   INFO: Platform: OS="Linux" machine="i686" proc=""
   INFO: Guessing target OS is linux (use --os to set)
   INFO: Guessing to use compiler gcc (use --cc to set)
   INFO: Detected CPU model "Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz" in /proc/cpuinfo
   INFO: Guessing target processor is a x86_32/i686 (use --cpu to set)
   INFO: Canonicalized CPU target i686 to x86_32/i686
   INFO: Target is gcc-linux-x86_32-i686
   INFO: Detected gcc compiler version 7.1
   INFO: Skipping (dependency failure): certstor_sqlite3 sessions_sqlite3
   INFO: Skipping (incompatible CPU): sha1_armv8 sha2_32_armv8
   INFO: Skipping (incompatible OS): cryptoapi_rng darwin_secrandom getentropy win32_stats
   INFO: Skipping (no enabled compression schemes): compression
   INFO: Skipping (requires external dependency): bearssl boost bzip2 lzma openssl sqlite3 tpm zlib
   INFO: Loading modules: adler32 aead aes aes_ni aes_ssse3 aont asn1 auto_rng base base64 bcrypt bigint blake2 block blowfish camellia cascade cast cbc cbc_mac ccm cecpq1 certstor_sql cfb chacha chacha20poly1305 chacha_rng chacha_sse2 clmul cmac codec_filt comb4p crc24 crc32 cryptobox ctr curve25519 des dev_random dh dl_algo dl_group dlies dsa dyn_load eax ec_gfp ec_group ecc_key ecdh ecdsa ecgdsa ecies eckcdsa ed25519 elgamal eme_oaep eme_pkcs1 eme_raw emsa1 emsa_pkcs1 emsa_pssr emsa_raw emsa_x931 entropy fd_unix ffi filters fpe_fe1 gcm gmac gost_28147 gost_3410 gost_3411 hash hash_id hex hkdf hmac hmac_drbg hotp http_util idea idea_sse2 iso9796 kasumi kdf kdf1 kdf1_iso18033 kdf2 keccak keypair lion locking_allocator mac mce mceies md4 md5 mdx_hash mgf1 misty1 mode_pad modes mp newhope noekeon noekeon_simd numbertheory ocb ofb par_hash passhash9 pbes2 pbkdf pbkdf1 pbkdf2 pem pgp_s2k pk_pad pkcs11 poly1305 prf_tls prf_x942 proc_walk pubkey rc4 rdrand rdrand_rng rdseed rfc3394 rfc6979 rmd160 rng rsa salsa20 seed serpent serpent_simd sessions_sql sha1 sha1_sse2 sha1_x86 sha2_32 sha2_32_x86 sha2_64 sha3 shake shake_cipher simd siphash siv skein sm2 sm3 sm4 sp800_108 sp800_56a sp800_56c srp6 stateful_rng stream streebog system_rng threefish threefish_avx2 tiger tls tls_cbc tss twofish utils whirlpool x509 x919_mac xmss xtea xts
   INFO: Assuming CPU is little endian
   INFO: Assuming unaligned memory access works
   INFO: Using symlink to link files into build dir (use --link-method to change)
   INFO: Botan 2.2.0 (VC git:33f87a596ffa1fcbc017d9593dce0906d7d32208) (released dated 20170807) build setup is complete
g++ -fstack-protector -pthread -fPIC -fvisibility=hidden -std=c++11 -D_REENTRANT -O3 -mtune=generic -momit-leaf-frame-pointer -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -Ibuild/include/external -c ./src/lib/asn1/alg_id.cpp -o build/obj/lib/asn1_alg_id.o

[...]

g++ -fstack-protector -pthread -std=c++11 -D_REENTRANT -O3 -mtune=generic -momit-leaf-frame-pointer -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -Ibuild/include/external -c ./src/tests/unit_tls.cpp -o build/obj/test/unit_tls.o
In member function ‘virtual Botan_Tests::Test::Result Botan_Tests::{anonymous}::Charset_Tests::run_one_test(const string&, const VarMap&)’:
cc1plus: warning: assuming signed overflow does not occur when changing X +- C1 cmp C2 to X cmp C2 -+ C1 [-Wstrict-overflow]
g++ -fstack-protector -pthread -std=c++11 -D_REENTRANT -O3 -mtune=generic -momit-leaf-frame-pointer -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -Ibuild/include/external -c ./src/tests/unit_tls_policy.cpp -o build/obj/test/unit_tls_policy.o
g++ -fstack-protector -pthread -std=c++11 -D_REENTRANT -O3 -mtune=generic -momit-leaf-frame-pointer -Wall -Wextra -Wpedantic -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wzero-as-null-pointer-constant -Wnon-virtual-dtor -Ibuild/include -Ibuild/include/external -c ./src/tests/unit_x509.cpp -o build/obj/test/unit_x509.o
ar crs ./libbotan-2.a build/obj/lib/asn1_alg_id.o build/obj/lib/asn1_alt_name.o build/obj/lib/asn1_attribute.o build/obj/lib/asn1_obj.o build/obj/lib/asn1_oid.o build/obj/lib/asn1_str.o build/obj/lib/asn1_time.o 

[...]

build/obj/test/unit_ecdh.o build/obj/test/unit_ecdsa.o build/obj/test/unit_tls.o build/obj/test/unit_tls_policy.o build/obj/test/unit_x509.o -L. -lbotan-2 -ldl -lrt -o ./botan-test
Testing Botan 2.2.0 (released, dated 20170807, revision git:33f87a596ffa1fcbc017d9593dce0906d7d32208, distribution unspecified)
Starting tests rng:HMAC_DRBG with seed '14DA222295239D38'
block:
AES-128 ran 10422 tests in 116.40 msec all ok
AES-192 ran 12150 tests in 135.28 msec all ok
AES-256 ran 13878 tests in 154.98 msec all ok
Blowfish ran 540 tests in 15.01 msec all ok
CAST-128 ran 369 tests in 4.15 msec all ok
CAST-256 ran 117 tests in 1.36 msec all ok
Camellia-128 ran 54 tests in 0.61 msec all ok
Camellia-192 ran 27 tests in 0.30 msec all ok
Camellia-256 ran 45 tests in 0.53 msec all ok
Cascade(Serpent,AES-256) ran 18 tests in 0.27 msec all ok
Cascade(Serpent,CAST-128) ran 9 tests in 0.13 msec all ok
Cascade(Serpent,Twofish) ran 27 tests in 0.47 msec all ok
DES ran 2898 tests in 31.70 msec all ok
DESX ran 81 tests in 0.90 msec all ok
GOST-28147-89(R3411_94_TestParam) ran 162 tests in 2.24 msec all ok
GOST-28147-89(R3411_CryptoPro) ran 90 tests in 1.25 msec all ok
IDEA ran 9756 tests in 121.32 msec all ok
KASUMI ran 27 tests in 0.32 msec all ok
Lion(SHA-160,RC4,64) ran 9 tests in 0.16 msec all ok
MISTY1 ran 279 tests in 3.09 msec all ok
Noekeon ran 9270 tests in 100.15 msec all ok
SEED ran 36 tests in 0.40 msec all ok
SM4 ran 18 tests in 552.97 msec all ok
Serpent ran 18828 tests in 221.94 msec all ok
Threefish-512 ran 72 tests in 1.15 msec all ok
TripleDES ran 522 tests in 5.92 msec all ok
Twofish ran 9963 tests in 126.15 msec all ok
XTEA ran 612 tests in 6.93 msec all ok
stream:
CTR-BE(AES-128) ran 270 tests in 2.55 msec all ok
CTR-BE(AES-192) ran 320 tests in 2.82 msec all ok
CTR-BE(AES-256) ran 325 tests in 2.83 msec all ok
CTR-BE(DES) ran 245 tests in 2.33 msec all ok
CTR-BE(Noekeon) ran 960 tests in 8.61 msec all ok
CTR-BE(Serpent) ran 875 tests in 9.70 msec all ok
CTR-BE(TripleDES) ran 1065 tests in 13.59 msec all ok
CTR-BE(XTEA) ran 605 tests in 5.57 msec all ok
ChaCha(12) ran 20 tests in 0.20 msec all ok
ChaCha(20) ran 740 tests in 6.93 msec all ok
ChaCha(8) ran 200 tests in 1.85 msec all ok
MARK-4 ran 25 tests in 0.47 msec all ok
OFB(AES-128) ran 5 tests in 0.05 msec all ok
OFB(AES-192) ran 5 tests in 0.05 msec all ok
OFB(AES-256) ran 5 tests in 0.05 msec all ok
OFB(DES) ran 20 tests in 0.20 msec all ok
RC4 ran 345 tests in 7.05 msec all ok
SHAKE-128 ran 5630 tests in 80.31 msec all ok
Salsa20 ran 35 tests in 0.31 msec all ok
hash:
Adler32 ran 236 tests in 0.18 msec all ok
Blake2b(224) ran 2292 tests in 4.86 msec all ok
Blake2b(256) ran 2292 tests in 4.85 msec all ok
Blake2b(384) ran 2292 tests in 5.05 msec all ok
Blake2b(512) ran 2407 tests in 6.59 msec all ok
CRC24 ran 252 tests in 0.21 msec all ok
CRC32 ran 236 tests in 0.19 msec all ok
Comb4P(MD4,MD5) ran 9 tests in 0.04 msec all ok
Comb4P(SHA-160,RIPEMD-160) ran 9 tests in 0.05 msec all ok
GOST-R-34.11-94 ran 86 tests in 0.92 msec 46 FAILED
Failure 1: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 6C64FEE4914BC2AE5283B9AA6677FC2F76DCA508F504E475C5D8AA53999D5646
Expected: 981E5F3CA30C841487830F84FB433E13AC1101569B9C13584AC483234CD656C0
XOR Diff: F47AA1D8324746BAD500B62E9D34C23CDACDA45E6E98F72D8F1C2970D54B0086 (124 bits different)
Failure 2: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 6C64FEE4914BC2AE5283B9AA6677FC2F76DCA508F504E475C5D8AA53999D5646
Expected: 981E5F3CA30C841487830F84FB433E13AC1101569B9C13584AC483234CD656C0
XOR Diff: F47AA1D8324746BAD500B62E9D34C23CDACDA45E6E98F72D8F1C2970D54B0086 (124 bits different)
Failure 3: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 6C64FEE4914BC2AE5283B9AA6677FC2F76DCA508F504E475C5D8AA53999D5646
Expected: 981E5F3CA30C841487830F84FB433E13AC1101569B9C13584AC483234CD656C0
XOR Diff: F47AA1D8324746BAD500B62E9D34C23CDACDA45E6E98F72D8F1C2970D54B0086 (124 bits different)
Failure 4: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 4133E4AE34D02BBFABB777C8999F842278B61A4CC10E4BB6A1F4FD57E5B287EA
Expected: B285056DBF18D7392D7677369524DD14747459ED8143997E163B2986F92FD42C
XOR Diff: F3B6E1C38BC8FC8686C100FE0CBB59360CC243A1404DD2C8B7CFD4D11C9D53C6 (123 bits different)
Failure 5: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 4133E4AE34D02BBFABB777C8999F842278B61A4CC10E4BB6A1F4FD57E5B287EA
Expected: B285056DBF18D7392D7677369524DD14747459ED8143997E163B2986F92FD42C
XOR Diff: F3B6E1C38BC8FC8686C100FE0CBB59360CC243A1404DD2C8B7CFD4D11C9D53C6 (123 bits different)
Failure 6: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 4133E4AE34D02BBFABB777C8999F842278B61A4CC10E4BB6A1F4FD57E5B287EA
Expected: B285056DBF18D7392D7677369524DD14747459ED8143997E163B2986F92FD42C
XOR Diff: F3B6E1C38BC8FC8686C100FE0CBB59360CC243A1404DD2C8B7CFD4D11C9D53C6 (123 bits different)
Failure 7: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: C4BBC89C008C11D2A68F0D7D23E0B4BAA839562A0DC9BAA6AA45F6FEE566AD51
Expected: DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
XOR Diff: 1B9EE2E33767CD263FD459641AAAD98784417B1AA696142F5923A97841DD5ADE (130 bits different)
Failure 8: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: C4BBC89C008C11D2A68F0D7D23E0B4BAA839562A0DC9BAA6AA45F6FEE566AD51
Expected: DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
XOR Diff: 1B9EE2E33767CD263FD459641AAAD98784417B1AA696142F5923A97841DD5ADE (130 bits different)
Failure 9: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: C4BBC89C008C11D2A68F0D7D23E0B4BAA839562A0DC9BAA6AA45F6FEE566AD51
Expected: DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
XOR Diff: 1B9EE2E33767CD263FD459641AAAD98784417B1AA696142F5923A97841DD5ADE (130 bits different)
Failure 10: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: C4BBC89C008C11D2A68F0D7D23E0B4BAA839562A0DC9BAA6AA45F6FEE566AD51
Expected: DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
XOR Diff: 1B9EE2E33767CD263FD459641AAAD98784417B1AA696142F5923A97841DD5ADE (130 bits different)
Failure 11: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: C4BBC89C008C11D2A68F0D7D23E0B4BAA839562A0DC9BAA6AA45F6FEE566AD51
Expected: DF252A7F37EBDCF4995B5419394A6D3D2C782D30AB5FAE89F3665F86A4BBF78F
XOR Diff: 1B9EE2E33767CD263FD459641AAAD98784417B1AA696142F5923A97841DD5ADE (130 bits different)
Failure 12: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: D710A68B932BC16ABE669EC8710AD2FFDC5D750B4D06169C20F87E41A0D2B1BA
Expected: EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
XOR Diff: 38257CE2B17980FFB0DCA1E897E4FF797A75120CA6E65E8588E707ECD109D358 (131 bits different)
Failure 13: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: D710A68B932BC16ABE669EC8710AD2FFDC5D750B4D06169C20F87E41A0D2B1BA
Expected: EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
XOR Diff: 38257CE2B17980FFB0DCA1E897E4FF797A75120CA6E65E8588E707ECD109D358 (131 bits different)
Failure 14: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: D710A68B932BC16ABE669EC8710AD2FFDC5D750B4D06169C20F87E41A0D2B1BA
Expected: EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
XOR Diff: 38257CE2B17980FFB0DCA1E897E4FF797A75120CA6E65E8588E707ECD109D358 (131 bits different)
Failure 15: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: D710A68B932BC16ABE669EC8710AD2FFDC5D750B4D06169C20F87E41A0D2B1BA
Expected: EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
XOR Diff: 38257CE2B17980FFB0DCA1E897E4FF797A75120CA6E65E8588E707ECD109D358 (131 bits different)
Failure 16: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: D710A68B932BC16ABE669EC8710AD2FFDC5D750B4D06169C20F87E41A0D2B1BA
Expected: EF35DA69225241950EBA3F20E6EE2D86A6286707EBE04819A81F79AD71DB62E2
XOR Diff: 38257CE2B17980FFB0DCA1E897E4FF797A75120CA6E65E8588E707ECD109D358 (131 bits different)
Failure 17: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 20DEA3F5A86725108BB3F0DCB92235499CF2A198D2CD74CA54472596A2709849
Expected: CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
XOR Diff: EE7EF989003F4698E348947D02E22060F5720791B983C45157B6ED26D78FBDA5 (127 bits different)
Failure 18: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 20DEA3F5A86725108BB3F0DCB92235499CF2A198D2CD74CA54472596A2709849
Expected: CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
XOR Diff: EE7EF989003F4698E348947D02E22060F5720791B983C45157B6ED26D78FBDA5 (127 bits different)
Failure 19: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 20DEA3F5A86725108BB3F0DCB92235499CF2A198D2CD74CA54472596A2709849
Expected: CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
XOR Diff: EE7EF989003F4698E348947D02E22060F5720791B983C45157B6ED26D78FBDA5 (127 bits different)
Failure 20: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 20DEA3F5A86725108BB3F0DCB92235499CF2A198D2CD74CA54472596A2709849
Expected: CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
XOR Diff: EE7EF989003F4698E348947D02E22060F5720791B983C45157B6ED26D78FBDA5 (127 bits different)
Failure 21: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 20DEA3F5A86725108BB3F0DCB92235499CF2A198D2CD74CA54472596A2709849
Expected: CEA05A7CA858638868FB64A1BBC015296980A6096B4EB09B03F1C8B075FF25EC
XOR Diff: EE7EF989003F4698E348947D02E22060F5720791B983C45157B6ED26D78FBDA5 (127 bits different)
Failure 22: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 1E43B6B32A79E2F6148C6BEDA0341C3DB5A6C9B1B0F77490B3790082BECE28AF
Expected: D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
XOR Diff: CFA28E7E37CAB5FF04BB8DE9BE5FA042ED45E5F3240E4C1639E6F564D0D9660F (138 bits different)
Failure 23: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 1E43B6B32A79E2F6148C6BEDA0341C3DB5A6C9B1B0F77490B3790082BECE28AF
Expected: D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
XOR Diff: CFA28E7E37CAB5FF04BB8DE9BE5FA042ED45E5F3240E4C1639E6F564D0D9660F (138 bits different)
Failure 24: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 1E43B6B32A79E2F6148C6BEDA0341C3DB5A6C9B1B0F77490B3790082BECE28AF
Expected: D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
XOR Diff: CFA28E7E37CAB5FF04BB8DE9BE5FA042ED45E5F3240E4C1639E6F564D0D9660F (138 bits different)
Failure 25: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 1E43B6B32A79E2F6148C6BEDA0341C3DB5A6C9B1B0F77490B3790082BECE28AF
Expected: D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
XOR Diff: CFA28E7E37CAB5FF04BB8DE9BE5FA042ED45E5F3240E4C1639E6F564D0D9660F (138 bits different)
Failure 26: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 1E43B6B32A79E2F6148C6BEDA0341C3DB5A6C9B1B0F77490B3790082BECE28AF
Expected: D1E138CD1DB357091037E6041E6BBC7F58E32C4294F938868A9FF5E66E174EA0
XOR Diff: CFA28E7E37CAB5FF04BB8DE9BE5FA042ED45E5F3240E4C1639E6F564D0D9660F (138 bits different)
Failure 27: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: F92DDA47A33DC5FC4A8A8CF1D9246ABE502098C450CA2431DE70D15D1498D55E
Expected: 6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
XOR Diff: 93CFBE117351ADD6FCB76E2FE42EE02D735029E65470E0819108967B713B8589 (128 bits different)
Failure 28: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: F92DDA47A33DC5FC4A8A8CF1D9246ABE502098C450CA2431DE70D15D1498D55E
Expected: 6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
XOR Diff: 93CFBE117351ADD6FCB76E2FE42EE02D735029E65470E0819108967B713B8589 (128 bits different)
Failure 29: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: F92DDA47A33DC5FC4A8A8CF1D9246ABE502098C450CA2431DE70D15D1498D55E
Expected: 6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
XOR Diff: 93CFBE117351ADD6FCB76E2FE42EE02D735029E65470E0819108967B713B8589 (128 bits different)
Failure 30: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: F92DDA47A33DC5FC4A8A8CF1D9246ABE502098C450CA2431DE70D15D1498D55E
Expected: 6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
XOR Diff: 93CFBE117351ADD6FCB76E2FE42EE02D735029E65470E0819108967B713B8589 (128 bits different)
Failure 31: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: F92DDA47A33DC5FC4A8A8CF1D9246ABE502098C450CA2431DE70D15D1498D55E
Expected: 6AE26456D06C682AB63DE2DE3D0A8A932370B12204BAC4B04F78472665A350D7
XOR Diff: 93CFBE117351ADD6FCB76E2FE42EE02D735029E65470E0819108967B713B8589 (128 bits different)
Failure 32: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 85E9D08D3DAA66C9A204097D8955049711D89DF8A6EE08D0B3C011FA4B2A3B63
Expected: F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
XOR Diff: 7739EB2B5D9B1C710C8C4071E270B30A656A5EFF09E3F9F85BEE89DA071F3F82 (135 bits different)
Failure 33: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 85E9D08D3DAA66C9A204097D8955049711D89DF8A6EE08D0B3C011FA4B2A3B63
Expected: F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
XOR Diff: 7739EB2B5D9B1C710C8C4071E270B30A656A5EFF09E3F9F85BEE89DA071F3F82 (135 bits different)
Failure 34: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 85E9D08D3DAA66C9A204097D8955049711D89DF8A6EE08D0B3C011FA4B2A3B63
Expected: F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
XOR Diff: 7739EB2B5D9B1C710C8C4071E270B30A656A5EFF09E3F9F85BEE89DA071F3F82 (135 bits different)
Failure 35: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 85E9D08D3DAA66C9A204097D8955049711D89DF8A6EE08D0B3C011FA4B2A3B63
Expected: F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
XOR Diff: 7739EB2B5D9B1C710C8C4071E270B30A656A5EFF09E3F9F85BEE89DA071F3F82 (135 bits different)
Failure 36: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 85E9D08D3DAA66C9A204097D8955049711D89DF8A6EE08D0B3C011FA4B2A3B63
Expected: F2D03BA660317AB8AE88490C6B25B79D74B2C307AF0DF128E82E98204C3504E1
XOR Diff: 7739EB2B5D9B1C710C8C4071E270B30A656A5EFF09E3F9F85BEE89DA071F3F82 (135 bits different)
Failure 37: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 92ED07849242A88648734F4086BD99DAC4CAC8A39750E15B261C06D634A86BBC
Expected: D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
XOR Diff: 4A4F07499174E689FAD0D9BA36E3FE3A2FDB5DC4B44651AE6B0103946A886E6C (128 bits different)
Failure 38: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 92ED07849242A88648734F4086BD99DAC4CAC8A39750E15B261C06D634A86BBC
Expected: D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
XOR Diff: 4A4F07499174E689FAD0D9BA36E3FE3A2FDB5DC4B44651AE6B0103946A886E6C (128 bits different)
Failure 39: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 92ED07849242A88648734F4086BD99DAC4CAC8A39750E15B261C06D634A86BBC
Expected: D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
XOR Diff: 4A4F07499174E689FAD0D9BA36E3FE3A2FDB5DC4B44651AE6B0103946A886E6C (128 bits different)
Failure 40: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 92ED07849242A88648734F4086BD99DAC4CAC8A39750E15B261C06D634A86BBC
Expected: D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
XOR Diff: 4A4F07499174E689FAD0D9BA36E3FE3A2FDB5DC4B44651AE6B0103946A886E6C (128 bits different)
Failure 41: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 92ED07849242A88648734F4086BD99DAC4CAC8A39750E15B261C06D634A86BBC
Expected: D8A200CD03364E0FB2A396FAB05E67E0EB1195672316B0F54D1D05425E2005D0
XOR Diff: 4A4F07499174E689FAD0D9BA36E3FE3A2FDB5DC4B44651AE6B0103946A886E6C (128 bits different)
Failure 42: GOST-R-34.11-94 producer 'base' unexpected result for hashing
Produced: 0D0C754C770F74741BB7C317C3337AB58A6CC5EA20A3C2F06A23E75ADD480D84
Expected: 12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
XOR Diff: 1FD333A41EE858C443D55E2297A207CF3010A87763849305EC23F4D708CE2679 (120 bits different)
Failure 43: GOST-R-34.11-94 producer 'base' unexpected result for hashing (clone)
Produced: 0D0C754C770F74741BB7C317C3337AB58A6CC5EA20A3C2F06A23E75ADD480D84
Expected: 12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
XOR Diff: 1FD333A41EE858C443D55E2297A207CF3010A87763849305EC23F4D708CE2679 (120 bits different)
Failure 44: GOST-R-34.11-94 producer 'base' unexpected result for hashing after clear
Produced: 0D0C754C770F74741BB7C317C3337AB58A6CC5EA20A3C2F06A23E75ADD480D84
Expected: 12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
XOR Diff: 1FD333A41EE858C443D55E2297A207CF3010A87763849305EC23F4D708CE2679 (120 bits different)
Failure 45: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 0D0C754C770F74741BB7C317C3337AB58A6CC5EA20A3C2F06A23E75ADD480D84
Expected: 12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
XOR Diff: 1FD333A41EE858C443D55E2297A207CF3010A87763849305EC23F4D708CE2679 (120 bits different)
Failure 46: GOST-R-34.11-94 producer 'base' unexpected result for hashing split
Produced: 0D0C754C770F74741BB7C317C3337AB58A6CC5EA20A3C2F06A23E75ADD480D84
Expected: 12DF46E869E72CB058629D3554917D7ABA7C6D9D432751F58600138DD5862BFD
XOR Diff: 1FD333A41EE858C443D55E2297A207CF3010A87763849305EC23F4D708CE2679 (120 bits different)
Note 1: GOST-R-34.11-94 Test #1 failed
Note 2: GOST-R-34.11-94 Test #2 failed
Note 3: GOST-R-34.11-94 Test #3 failed
Note 4: GOST-R-34.11-94 Test #4 failed
Note 5: GOST-R-34.11-94 Test #5 failed
Note 6: GOST-R-34.11-94 Test #6 failed
Note 7: GOST-R-34.11-94 Test #7 failed
Note 8: GOST-R-34.11-94 Test #8 failed
Note 9: GOST-R-34.11-94 Test #9 failed
Note 10: GOST-R-34.11-94 Test #10 failed
Keccak-1600(224) ran 2400 tests in 9.84 msec all ok
Keccak-1600(256) ran 2400 tests in 10.09 msec all ok
Keccak-1600(384) ran 2400 tests in 12.03 msec all ok
Keccak-1600(512) ran 2400 tests in 14.59 msec all ok
MD4 ran 657 tests in 0.62 msec all ok
MD5 ran 666 tests in 0.66 msec all ok
Parallel(MD5,SHA-160) ran 12 tests in 0.04 msec all ok
Parallel(SHA-256,SHA-512) ran 6 tests in 0.05 msec all ok
RIPEMD-160 ran 668 tests in 0.81 msec all ok
SHA-160 ran 1340 tests in 1.69 msec all ok
SHA-224 ran 14 tests in 0.03 msec all ok
SHA-256 ran 3494 tests in 5.17 msec all ok
SHA-3(224) ran 897 tests in 3.75 msec all ok
SHA-3(256) ran 897 tests in 3.69 msec all ok
SHA-3(384) ran 897 tests in 3.76 msec all ok
SHA-3(512) ran 897 tests in 8.87 msec all ok
SHA-384 ran 57 tests in 0.15 msec all ok
SHA-512 ran 57 tests in 0.13 msec all ok
SHA-512-256 ran 7 tests in 0.02 msec all ok
SHAKE-128(1120) ran 9 tests in 0.03 msec all ok
SHAKE-128(128) ran 27 tests in 0.35 msec all ok
SHAKE-256(2000) ran 9 tests in 0.05 msec all ok
SHAKE-256(256) ran 25 tests in 0.20 msec all ok
SM3 ran 1237 tests in 2.07 msec all ok
Skein-512(224) ran 2292 tests in 12.03 msec all ok
Skein-512(256) ran 2292 tests in 12.02 msec all ok
Skein-512(384) ran 2292 tests in 12.16 msec all ok
Skein-512(512) ran 2400 tests in 14.13 msec all ok
Streebog-256 ran 1167 tests in 4.84 msec all ok
Streebog-512 ran 1167 tests in 4.88 msec all ok
Tiger(16,3) ran 16 tests in 0.04 msec all ok
Tiger(16,4) ran 9 tests in 0.02 msec all ok
Tiger(20,3) ran 16 tests in 0.03 msec all ok
Tiger(20,4) ran 9 tests in 0.02 msec all ok
Tiger(24,3) ran 77 tests in 0.15 msec all ok
Tiger(24,4) ran 9 tests in 0.02 msec all ok
Whirlpool ran 66 tests in 0.15 msec all ok
mac:
CBC-MAC(AES-128) ran 378 tests in 2.30 msec all ok
CBC-MAC(DES) ran 258 tests in 1.70 msec all ok
CMAC(AES-128) ran 176 tests in 1.20 msec all ok
CMAC(AES-192) ran 46 tests in 0.31 msec all ok
CMAC(AES-256) ran 54 tests in 0.48 msec all ok
CMAC(Blowfish) ran 8 tests in 0.39 msec all ok
CMAC(Threefish-512) ran 8 tests in 0.13 msec all ok
GMAC(AES-128) ran 216 tests in 2.78 msec all ok
GMAC(AES-192) ran 120 tests in 1.48 msec all ok
GMAC(AES-256) ran 120 tests in 1.41 msec all ok
HMAC(MD5) ran 32 tests in 0.32 msec all ok
HMAC(RIPEMD-160) ran 32 tests in 0.43 msec all ok
HMAC(SHA-160) ran 48 tests in 0.65 msec all ok
HMAC(SHA-256) ran 40 tests in 0.34 msec all ok
Poly1305 ran 618 tests in 3.78 msec all ok
SipHash(2,4) ran 8 tests in 0.06 msec all ok
X9.19-MAC ran 48 tests in 0.43 msec all ok
modes:
AES-128/CBC/CTS ran 30 tests in 2.18 msec all ok
AES-128/CBC/NoPadding ran 10 tests in 0.62 msec all ok
AES-128/CFB ran 18 tests in 1.16 msec all ok
AES-128/CFB(8) ran 9 tests in 0.58 msec all ok
AES-128/XTS ran 337 tests in 40.50 msec all ok
AES-192/CBC/NoPadding ran 5 tests in 0.37 msec all ok
AES-192/CFB ran 9 tests in 0.58 msec all ok
AES-192/CFB(8) ran 9 tests in 0.57 msec all ok
AES-256/CBC/NoPadding ran 5 tests in 0.39 msec all ok
AES-256/CFB ran 9 tests in 0.57 msec all ok
AES-256/CFB(8) ran 9 tests in 0.60 msec all ok
AES-256/XTS ran 229 tests in 29.55 msec all ok
CTR-BE(AES-128) ran 18 tests in 1.07 msec all ok
CTR-BE(DES) ran 18 tests in 1.15 msec all ok
DES/CBC/CTS ran 246 tests in 14.60 msec all ok
DES/CBC/NoPadding ran 5 tests in 0.38 msec all ok
DES/CBC/OneAndZeros ran 175 tests in 12.36 msec all ok
DES/CBC/PKCS7 ran 165 tests in 11.95 msec all ok
DES/CFB ran 148 tests in 6.83 msec all ok
DES/CFB(16) ran 54 tests in 2.13 msec all ok
DES/CFB(32) ran 63 tests in 2.43 msec all ok
DES/CFB(8) ran 90 tests in 6.06 msec all ok
Noekeon/CBC/PKCS7 ran 866 tests in 50.98 msec all ok
Serpent/XTS ran 1218 tests in 113.07 msec all ok
TripleDES/XTS ran 1020 tests in 51.17 msec all ok
Twofish/XTS ran 1900 tests in 117.63 msec all ok
aeadkdf:
pbkdf:
OpenPGP-S2K(SHA-160) ran 18 tests in 187.55 msec all ok
OpenPGP-S2K(SHA-384) ran 8 tests in 36.36 msec all ok
PBKDF1(SHA-160) ran 10 tests in 6.30 msec all ok
PBKDF2(CMAC(Blowfish)) ran 2 tests in 0.11 msec all ok
PBKDF2(HMAC(SHA-160)) ran 20 tests in 35.73 msec all ok
PBKDF2(HMAC(SHA-256)) ran 2 tests in 43.92 msec all ok
PBKDF2(HMAC(SHA-384)) ran 2 tests in 91.44 msec all ok
PBKDF2(HMAC(SHA-512)) ran 2 tests in 91.61 msec all ok
hmac_drbg:
HMAC_DRBG(SHA-1) ran 240 tests in 8.48 msec all ok
HMAC_DRBG(SHA-224) ran 240 tests in 16.95 msec all ok
HMAC_DRBG(SHA-256) ran 240 tests in 17.72 msec all ok
HMAC_DRBG(SHA-384) ran 240 tests in 64.73 msec all ok
HMAC_DRBG(SHA-512) ran 240 tests in 64.05 msec all ok
HMAC_DRBG(SHA-512-256) ran 240 tests in 63.96 msec all ok
x931_rng:
util:
Util load/store ran 229 tests all ok
Util round_down ran 6 tests in 0.01 msec all ok
Util round_up ran 11 tests in 0.23 msec all ok
aead:
AES-128/CCM(10,2) ran 11 tests in 0.86 msec all ok
AES-128/CCM(16,2) ran 22 tests in 1.57 msec all ok
AES-128/CCM(16,3) ran 11 tests in 0.76 msec all ok
AES-128/CCM(8,2) ran 33 tests in 2.50 msec all ok
AES-128/EAX ran 1550 tests in 67.20 msec all ok
AES-128/EAX(8) ran 24 tests in 1.40 msec all ok
AES-128/GCM ran 780 tests in 40.69 msec all ok
AES-128/GCM(8) ran 92 tests in 5.68 msec all ok
AES-128/OCB ran 463 tests in 30.36 msec all ok
AES-128/OCB(12) ran 11 tests in 0.77 msec all ok
AES-128/SIV ran 21 tests in 1.52 msec all ok
AES-192/EAX ran 75 tests in 3.81 msec all ok
AES-192/GCM ran 364 tests in 18.23 msec all ok
AES-256/EAX ran 97 tests in 4.98 msec all ok
AES-256/GCM ran 364 tests in 18.29 msec all ok
Blowfish/EAX ran 278 tests in 19.62 msec all ok
ChaCha20Poly1305 ran 95 tests in 5.42 msec all ok
DES/EAX ran 278 tests in 13.31 msec all ok
Threefish-512/EAX ran 17 tests in 0.98 msec all ok
TripleDES/EAX ran 278 tests in 13.93 msec all ok
Twofish/EAX ran 550 tests in 26.62 msec all ok
asn1:
BER stack recursion ran 1 tests all ok
auto_rng_unit:
AutoSeeded_RNG ran 13 tests all ok
base64:
Base64 ran 64 tests in 0.11 msec all ok
bc_pad:
ESP ran 15 tests in 0.01 msec all ok
NoPadding ran 10 tests in 0.01 msec all ok
OneAndZeros ran 13 tests in 0.01 msec all ok
PKCS7 ran 12 tests in 0.02 msec all ok
X9.23 ran 13 tests in 0.01 msec all ok
bcrypt:
bcrypt ran 367 tests in 2.51 sec all ok
bigint_unit:
BigInt IO operators ran 8 tests all ok
BigInt encoding functions ran 1 tests all ok
BigInt prime generation ran 151 tests all ok
BigInt size functions ran 72 tests all ok
BigInt::random_integer ran 15010 tests in 358.62 msec all ok
bn_add:
BigInt Addition ran 292 tests in 153.78 msec all ok
bn_div:
BigInt Divide ran 72 tests in 12.18 msec all ok
bn_invmod:
BigInt InvMod ran 305 tests in 122.37 msec all ok
bn_isprime:
BigInt Test NonPrime ran 107 tests in 445.19 msec all ok
BigInt Test Prime ran 17 tests in 25.92 msec all ok
bn_lshift:
BigInt Lshift ran 100 tests in 87.21 msec all ok
bn_mod:
BigInt Mod ran 168 tests in 19.69 msec all ok
bn_mul:
BigInt Multiply ran 416 tests in 809.74 msec all ok
bn_powmod:
BigInt Powmod ran 209 tests in 822.89 msec all ok
bn_ressol:
BigInt Ressol ran 22 tests in 17.30 msec all ok
bn_rshift:
BigInt Rshift ran 102 tests in 23.12 msec all ok
bn_sqr:
BigInt Square ran 42 tests in 11.62 msec all ok
bn_sub:
BigInt Subtraction ran 126 tests in 67.83 msec all ok
certstor:
Certificate Store - Find by subject hash ran 6 tests all ok
chacha_rng:
ChaCha_RNG ran 21 tests in 0.56 msec all ok
chacha_rng_unit:
ChaCha_RNG Broken Entropy Input ran 6 tests all ok
ChaCha_RNG Fork Safety ran 6 tests all ok
ChaCha_RNG Nonce Check ran 21 tests all ok
ChaCha_RNG Prediction Resistance ran 3 tests all ok
ChaCha_RNG Randomize With Timestamp Input ran 2 tests all ok
ChaCha_RNG Reseed ran 6 tests all ok
ChaCha_RNG Reseed KAT ran 5 tests all ok
ChaCha_RNG Security Level ran 1 tests all ok
charset:
Charset ran 9 tests in 0.02 msec all ok
Charset negative tests ran 5 tests all ok
cryptobox:
cryptobox ran 1 tests all ok
curve25519_keygen:
Curve25519 keygen ran 21 tests in 361.13 msec all ok
curve25519_rt:
Curve25519 roundtrip ran 10 tests all ok
curve25519_scalar:
Curve25519 scalarmult ran 18 tests in 15.18 msec all ok
dh_invalid:
DH invalid keys ran 7 tests in 1.65 sec all ok
dh_kat:
DH negative tests ran 2 tests all ok
Diffie-Hellman/KDF2(SHA-1) Valid key agreement ran 4 tests in 6.21 msec all ok
Diffie-Hellman/Raw Valid key agreement ran 36 tests in 808.35 msec all ok
dh_keygen:
DH modp/ietf/1024 keygen ran 21 tests in 1.18 sec all ok
DH modp/ietf/2048 keygen ran 21 tests in 7.84 sec all ok
dl_group:
DL_Group encoding ran 8 tests all ok
DL_Group generate ran 14 tests in 5.93 sec all ok
DL_Group named ran 38 tests in 425.60 msec all ok
dlies:
DLIES AES-256/CBC ran 84 tests in 2.76 sec all ok
DLIES AES-256/GCM ran 16 tests in 523.88 msec all ok
DLIES XOR ran 44 tests in 1.44 sec all ok
dlies_unit:
DLIES XOR ran 12 tests all ok
dsa_keygen:
DSA dsa/botan/2048 keygen ran 21 tests in 3.82 sec all ok
DSA dsa/jce/1024 keygen ran 21 tests in 631.00 msec all ok
dsa_param:
DSA Parameter Generation ran 10 tests in 1.69 sec all ok
dsa_sign:
DSA/EMSA1(SHA-1) signature generation ran 40 tests in 174.53 msec all ok
DSA/EMSA1(SHA-224) signature generation ran 32 tests in 113.09 msec all ok
DSA/EMSA1(SHA-256) signature generation ran 32 tests in 111.97 msec all ok
DSA/EMSA1(SHA-384) signature generation ran 32 tests in 113.08 msec all ok
DSA/EMSA1(SHA-512) signature generation ran 32 tests in 113.67 msec all ok
ecc_invalid:
ECC invalid keys ran 5 tests in 5.37 msec all ok
ecc_pointmul:
ECC Scalarmult frp256v1 ran 104 tests in 326.47 msec all ok
ECC Scalarmult secp192r1 ran 104 tests in 106.72 msec all ok
ECC Scalarmult secp224r1 ran 104 tests in 168.42 msec all ok
ECC Scalarmult secp256k1 ran 100 tests in 177.35 msec all ok
ECC Scalarmult secp256r1 ran 104 tests in 191.80 msec all ok
ECC Scalarmult secp384r1 ran 104 tests in 399.28 msec all ok
ECC Scalarmult secp521r1 ran 104 tests in 634.87 msec all ok
ecc_randomized:
ECC randomized brainpool160r1 ran 26 tests in 134.98 msec all ok
ECC randomized brainpool192r1 ran 26 tests in 160.27 msec all ok
ECC randomized brainpool224r1 ran 26 tests in 211.10 msec all ok
ECC randomized brainpool256r1 ran 26 tests in 222.90 msec all ok
ECC randomized brainpool320r1 ran 26 tests in 329.06 msec all ok
ECC randomized brainpool384r1 ran 26 tests in 464.12 msec all ok
ECC randomized brainpool512r1 ran 26 tests in 715.81 msec all ok
ECC randomized frp256v1 ran 26 tests in 226.16 msec all ok
ECC randomized gost_256A ran 26 tests in 225.53 msec all ok
ECC randomized secp160k1 ran 26 tests in 132.93 msec all ok
ECC randomized secp160r1 ran 26 tests in 141.15 msec all ok
ECC randomized secp160r2 ran 26 tests in 136.97 msec all ok
ECC randomized secp192k1 ran 26 tests in 163.50 msec all ok
ECC randomized secp192r1 ran 26 tests in 151.30 msec all ok
ECC randomized secp224k1 ran 26 tests in 216.83 msec all ok
ECC randomized secp224r1 ran 26 tests in 224.18 msec all ok
ECC randomized secp256k1 ran 26 tests in 224.51 msec all ok
ECC randomized secp256r1 ran 26 tests in 234.67 msec all ok
ECC randomized secp384r1 ran 26 tests in 411.90 msec all ok
ECC randomized secp521r1 ran 26 tests in 598.94 msec all ok
ECC randomized sm2p256v1 ran 26 tests in 226.05 msec all ok
ECC randomized x962_p192v2 ran 26 tests in 159.56 msec all ok
ECC randomized x962_p192v3 ran 26 tests in 144.91 msec all ok
ECC randomized x962_p239v1 ran 26 tests in 210.50 msec all ok
ECC randomized x962_p239v2 ran 26 tests in 208.17 msec all ok
ECC randomized x962_p239v3 ran 26 tests in 205.54 msec all ok
ecc_unit:
ECC Unit ran 99 tests all ok
ecdh_kat:
ECDH/Raw frp256v1 key agreement ran 25 tests in 608.80 msec all ok
ECDH/Raw secp192r1 key agreement ran 25 tests in 405.76 msec all ok
ECDH/Raw secp224r1 key agreement ran 25 tests in 553.31 msec all ok
ECDH/Raw secp256r1 key agreement ran 25 tests in 625.41 msec all ok
ECDH/Raw secp384r1 key agreement ran 25 tests in 1.08 sec all ok
ECDH/Raw secp521r1 key agreement ran 25 tests in 1.56 sec all ok
ecdh_keygen:
ECDH brainpool256r1 keygen ran 21 tests in 221.08 msec all ok
ECDH brainpool384r1 keygen ran 21 tests in 453.91 msec all ok
ECDH brainpool512r1 keygen ran 21 tests in 683.04 msec all ok
ECDH frp256v1 keygen ran 21 tests in 221.94 msec all ok
ECDH secp256r1 keygen ran 21 tests in 221.31 msec all ok
ECDH secp384r1 keygen ran 21 tests in 418.62 msec all ok
ECDH secp521r1 keygen ran 21 tests in 749.34 msec all ok
ecdh_unit:
ECDH key exchange ran 4 tests all ok
ecdsa_invalid:
ECDSA invalid keys ran 78 tests in 1.27 sec all ok
ecdsa_keygen:
ECDSA frp256v1 keygen ran 21 tests in 171.58 msec all ok
ECDSA secp256r1 keygen ran 21 tests in 171.67 msec all ok
ECDSA secp384r1 keygen ran 21 tests in 269.88 msec all ok
ECDSA secp521r1 keygen ran 21 tests in 400.26 msec all ok
ecdsa_sign:
ECDSA/EMSA1(SHA-1) signature generation ran 160 tests in 1.68 sec all ok
ECDSA/EMSA1(SHA-224) signature generation ran 152 tests in 1.55 sec all ok
ECDSA/EMSA1(SHA-256) signature generation ran 152 tests in 1.55 sec all ok
ECDSA/EMSA1(SHA-384) signature generation ran 152 tests in 1.54 sec all ok
ECDSA/EMSA1(SHA-512) signature generation ran 152 tests in 1.53 sec all ok
ECDSA/Raw signature generation ran 16 tests in 119.38 msec all ok
ecdsa_unit:
ECDSA Unit ran 45 tests all ok
ecgdsa_keygen:
ECGDSA secp256r1 keygen ran 21 tests in 171.68 msec all ok
ECGDSA secp384r1 keygen ran 21 tests in 269.25 msec all ok
ECGDSA secp521r1 keygen ran 21 tests in 396.52 msec all ok
ecgdsa_sign:
ECGDSA/EMSA1(RIPEMD-160) signature generation ran 24 tests in 160.57 msec all ok
ECGDSA/EMSA1(SHA-1) signature generation ran 8 tests in 32.76 msec all ok
ECGDSA/EMSA1(SHA-224) signature generation ran 16 tests in 128.14 msec all ok
ECGDSA/EMSA1(SHA-256) signature generation ran 24 tests in 243.76 msec all ok
ECGDSA/EMSA1(SHA-384) signature generation ran 16 tests in 296.48 msec all ok
ECGDSA/EMSA1(SHA-512) signature generation ran 8 tests in 182.00 msec all ok
ecies:
ECIES ran 36 tests in 1.20 sec all ok
ecies_iso:
ECIES-ISO ran 148 tests in 2.56 sec all ok
ecies_unit:
ECIES cipher not found ran 1 tests all ok
ECIES ciphertext too short ran 1 tests all ok
ECIES kdf not found ran 1 tests all ok
ECIES mac not found ran 1 tests all ok
ECIES other key not set ran 1 tests all ok
ECIES short system params ctor ran 3 tests all ok
eckcdsa_keygen:
ECKCDSA secp256r1 keygen ran 21 tests in 171.37 msec all ok
ECKCDSA secp384r1 keygen ran 21 tests in 270.16 msec all ok
ECKCDSA secp521r1 keygen ran 21 tests in 406.57 msec all ok
eckcdsa_sign:
ECKCDSA/EMSA1(SHA-1) signature generation ran 8 tests in 30.25 msec all ok
ECKCDSA/EMSA1(SHA-224) signature generation ran 8 tests in 55.66 msec all ok
ECKCDSA/EMSA1(SHA-256) signature generation ran 8 tests in 50.97 msec all ok
ed25519_curdle:
Ed25519 CURDLE format ran 3 tests all ok
ed25519_sign:
Ed25519/Pure signature generation ran 5272 tests in 2.82 sec all ok
Ed25519/SHA-256 signature generation ran 8 tests in 4.13 msec all ok
elgamal_encrypt:
ElGamal/Raw decryption ran 70 tests in 118.07 msec all ok
elgamal_keygen:
ElGamal modp/ietf/1024 keygen ran 21 tests in 1.16 sec all ok
ElGamal modp/ietf/2048 keygen ran 21 tests in 7.65 sec all ok
entropy:
Entropy source dev_random ran 3 tests in 0.02 msec all ok
Entropy source proc_walk ran 3 tests in 21.48 msec all ok
Entropy source rdrand ran 3 tests in 0.01 msec all ok
Entropy source rdseed ran 1 tests in 0.01 msec all ok
ffi:
FFI ran 118 tests all ok
FFI AEAD ran 47 tests all ok
FFI CBC cipher ran 33 tests all ok
FFI DSA ran 60 tests all ok
FFI ECDH ran 72 tests all ok
FFI ECDSA ran 56 tests all ok
FFI ELGAMAL ran 44 tests all ok
FFI Ed25519 ran 15 tests all ok
FFI MP ran 108 tests all ok
FFI McEliece ran 31 tests all ok
FFI PKCS hash id ran 5 tests all ok
FFI RSA ran 59 tests all ok
FFI SM2 Enc ran 44 tests all ok
FFI SM2 Sig ran 56 tests all ok
FFI block ciphers ran 13 tests all ok
FFI error handling ran 3 tests all ok
FFI keywrap ran 5 tests all ok
FFI stream ciphers ran 11 tests all ok
filter:
DataSink ran 3 tests all ok
DataSinkFlush ran 1 tests all ok
Filter Chain ran 5 tests all ok
Filter Fork ran 4 tests all ok
Pipe ran 40 tests all ok
Pipe CBC ran 14 tests all ok
Pipe CTR ran 3 tests all ok
Pipe I/O operators ran 2 tests all ok
SecureQueue ran 6 tests all ok
Threaded_Fork ran 11 tests all ok
fpe_fe1:
FPE_FE1 ran 4 tests in 4.56 msec all ok
fuzzer:
PKCS #8 fuzzing ran 1 tests all ok
X.509 fuzzing ran 54 tests all ok
gf2m:
GF2m ran 262136 tests all ok
gost_3410_keygen:
GOST-34.10 gost_256A keygen ran 21 tests in 219.32 msec all ok
GOST-34.10 secp256r1 keygen ran 21 tests in 225.68 msec all ok
gost_3410_sign:
GOST 34.10-2001/EMSA1(GOST-34.11) signature generation ran 16 tests in 101.76 msec 4 FAILED
Failure 1: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation KAT signature valid produced unexpected result '0' expected '1'
Failure 2: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation unexpected result for generated signature matches KAT
Produced: 7A9A7CA4E232C6E03FB8BC8A2B5225A19C554F0BD6D32841C5D43D9B0BC83DD30965C38281A01D23FA5F5D332B339EB2602A564563C005335269A2E811520563
Expected: 60053488E6936975A4913083FE16A0CF620FA75732B563AB65B82D37A825BE7D0965C38281A01D23FA5F5D332B339EB2602A564563C005335269A2E811520563
XOR Diff: 1A9F482C04A1AF959B298C09D544856EFE5AE85CE4664BEAA06C10ACA3ED83AE0000000000000000000000000000000000000000000000000000000000000000 (121 bits different)
Failure 3: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation KAT signature valid produced unexpected result '0' expected '1'
Failure 4: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation unexpected result for generated signature matches KAT
Produced: 29AA2E1C61BEF70B1B85F3AD832C2CC4C0E688ECA4A764308472C14788D7BC071AFADA58E26D1FE08AB4D2E67BF0FF8508870B417D6EA1224FA98B3165D8A032
Expected: 5E39519E12B5208B3A0A1A1CDD44E2629F0F76A51DFED8484A8B67A2E46D5B871AFADA58E26D1FE08AB4D2E67BF0FF8508870B417D6EA1224FA98B3165D8A032
XOR Diff: 77937F82730BD780218FE9B15E68CEA65FE9FE49B959BC78CEF9A6E56CBAE7800000000000000000000000000000000000000000000000000000000000000000 (142 bits different)
Note 1: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation Test #1 failed
Note 2: GOST 34.10-2001/EMSA1(GOST-34.11) signature generation Test #2 failed
gost_3410_verify:
GOST 34.10-2001/EMSA1(GOST-34.11) signature verification ran 21 tests in 81.84 msec 3 FAILED
Failure 1: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification correct signature valid produced unexpected result '0' expected '1'
Failure 2: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification correct signature valid produced unexpected result '0' expected '1'
Failure 3: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification correct signature valid produced unexpected result '0' expected '1'
Note 1: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with bearssl
Note 2: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with openssl
Note 3: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with tpm
Note 4: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Test #1 failed
Note 5: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with bearssl
Note 6: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with openssl
Note 7: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with tpm
Note 8: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Test #2 failed
Note 9: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with bearssl
Note 10: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with openssl
Note 11: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Skipping verifying with tpm
Note 12: GOST 34.10-2001/EMSA1(GOST-34.11) signature verification Test #3 failed
hmac_drbg_unit:
HMAC_DRBG Broken Entropy Input ran 6 tests all ok
HMAC_DRBG Fork Safety ran 6 tests all ok
HMAC_DRBG Nonce Check ran 21 tests all ok
HMAC_DRBG Prediction Resistance ran 3 tests all ok
HMAC_DRBG Randomize With Timestamp Input ran 2 tests all ok
HMAC_DRBG Reseed ran 8 tests all ok
HMAC_DRBG Reseed KAT ran 5 tests all ok
HMAC_DRBG Security Level ran 5 tests all ok
HMAC_DRBG max_number_of_bytes_per_request ran 6 tests all ok
hostname:
Hostname ran 21 tests in 0.07 msec all ok
iv_carryover:
CBC IV carry ran 4 tests all ok
CFB IV carry ran 6 tests all ok
CTR IV carry ran 54 tests all ok
kdf:
HKDF(HMAC(SHA-160)) ran 16 tests in 0.10 msec all ok
HKDF(HMAC(SHA-256)) ran 12 tests in 0.08 msec all ok
HKDF(HMAC(SHA-512)) ran 20 tests in 0.21 msec all ok
HKDF-Expand(HMAC(SHA-160)) ran 16 tests in 0.08 msec all ok
HKDF-Expand(HMAC(SHA-256)) ran 12 tests in 0.08 msec all ok
HKDF-Expand(HMAC(SHA-512)) ran 20 tests in 0.14 msec all ok
HKDF-Extract(HMAC(SHA-160)) ran 16 tests in 0.06 msec all ok
HKDF-Extract(HMAC(SHA-256)) ran 12 tests in 0.05 msec all ok
HKDF-Extract(HMAC(SHA-512)) ran 20 tests in 0.12 msec all ok
KDF1(SHA-160) ran 24 tests in 0.06 msec all ok
KDF1-18033(SHA-160) ran 8 tests in 0.03 msec all ok
KDF1-18033(SHA-256) ran 8 tests in 0.03 msec all ok
KDF2(SHA-160) ran 304 tests in 0.70 msec all ok
SP800-108-Counter(CMAC(AES-128)) ran 120 tests in 0.45 msec all ok
SP800-108-Counter(CMAC(AES-192)) ran 120 tests in 0.46 msec all ok
SP800-108-Counter(CMAC(AES-256)) ran 120 tests in 0.45 msec all ok
SP800-108-Counter(CMAC(TripleDES)) ran 120 tests in 0.76 msec all ok
SP800-108-Counter(HMAC(SHA-160)) ran 120 tests in 0.47 msec all ok
SP800-108-Counter(HMAC(SHA-256)) ran 120 tests in 0.48 msec all ok
SP800-108-Counter(HMAC(SHA-384)) ran 120 tests in 0.81 msec all ok
SP800-108-Counter(HMAC(SHA-512)) ran 120 tests in 0.78 msec all ok
SP800-108-Feedback(CMAC(AES-128)) ran 120 tests in 0.47 msec all ok
SP800-108-Feedback(CMAC(AES-192)) ran 120 tests in 0.82 msec all ok
SP800-108-Feedback(CMAC(AES-256)) ran 120 tests in 0.54 msec all ok
SP800-108-Feedback(CMAC(TripleDES)) ran 120 tests in 0.76 msec all ok
SP800-108-Feedback(HMAC(SHA-160)) ran 120 tests in 0.47 msec all ok
SP800-108-Feedback(HMAC(SHA-256)) ran 120 tests in 0.53 msec all ok
SP800-108-Feedback(HMAC(SHA-384)) ran 120 tests in 0.89 msec all ok
SP800-108-Feedback(HMAC(SHA-512)) ran 120 tests in 0.85 msec all ok
SP800-108-Pipeline(CMAC(AES-128)) ran 120 tests in 0.53 msec all ok
SP800-108-Pipeline(CMAC(AES-192)) ran 120 tests in 0.55 msec all ok
SP800-108-Pipeline(CMAC(AES-256)) ran 120 tests in 0.52 msec all ok
SP800-108-Pipeline(CMAC(TripleDES)) ran 120 tests in 0.94 msec all ok
SP800-108-Pipeline(HMAC(SHA-160)) ran 120 tests in 0.54 msec all ok
SP800-108-Pipeline(HMAC(SHA-256)) ran 120 tests in 0.62 msec all ok
SP800-108-Pipeline(HMAC(SHA-384)) ran 120 tests in 1.17 msec all ok
SP800-108-Pipeline(HMAC(SHA-512)) ran 120 tests in 1.21 msec all ok
SP800-56A(HMAC(SHA-160)) ran 200 tests in 0.97 msec all ok
SP800-56A(HMAC(SHA-224)) ran 196 tests in 1.06 msec all ok
SP800-56A(HMAC(SHA-256)) ran 196 tests in 1.05 msec all ok
SP800-56A(HMAC(SHA-384)) ran 196 tests in 1.48 msec all ok
SP800-56A(HMAC(SHA-512)) ran 192 tests in 1.50 msec all ok
SP800-56A(SHA-160) ran 188 tests in 0.58 msec all ok
SP800-56A(SHA-224) ran 188 tests in 0.61 msec all ok
SP800-56A(SHA-256) ran 188 tests in 0.59 msec all ok
SP800-56A(SHA-384) ran 188 tests in 0.74 msec all ok
SP800-56A(SHA-512) ran 188 tests in 1.09 msec all ok
SP800-56C(HMAC(SHA-160)) ran 40 tests in 0.20 msec all ok
SP800-56C(HMAC(SHA-256)) ran 40 tests in 0.21 msec all ok
SP800-56C(HMAC(SHA-384)) ran 40 tests in 0.40 msec all ok
SP800-56C(HMAC(SHA-512)) ran 40 tests in 0.41 msec all ok
TLS-12-PRF(HMAC(SHA-224)) ran 4 tests in 0.04 msec all ok
TLS-12-PRF(HMAC(SHA-256)) ran 4 tests in 0.04 msec all ok
TLS-12-PRF(HMAC(SHA-384)) ran 4 tests in 0.42 msec all ok
TLS-12-PRF(HMAC(SHA-512)) ran 4 tests in 0.10 msec all ok
TLS-PRF ran 128 tests in 0.78 msec all ok
X9.42-PRF(1.2.840.113549.1.9.16.3.6) ran 8 tests in 0.12 msec all ok
X9.42-PRF(1.2.840.113549.1.9.16.3.7) ran 4 tests in 0.04 msec all ok
mce_keygen:
McEliece keygen ran 15 tests in 897.12 msec all ok
mceliece:
McEliece IES ran 671 tests in 1.09 sec all ok
McEliece KEM ran 610 tests in 486.61 msec all ok
McEliece keygen ran 183 tests in 2.44 sec all ok
mp_unit:
bigint_cnd_abs ran 6 tests all ok
bigint_cnd_add ran 4 tests all ok
bigint_cnd_sub ran 4 tests all ok
bigint_cnd_swap ran 12 tests all ok
newhope:
NEWHOPE ran 4000 tests in 537.58 msec all ok
nist_redc:
NIST P-192 reduction ran 34 tests in 209.08 msec all ok
NIST P-224 reduction ran 34 tests in 249.34 msec all ok
NIST P-256 reduction ran 34 tests in 292.62 msec all ok
NIST P-384 reduction ran 34 tests in 428.92 msec all ok
NIST P-521 reduction ran 34 tests in 609.51 msec all ok
ocb_long:
OCB long ran 3474 tests in 20.27 msec all ok
ocsp:
OCSP request check ran 3 tests all ok
OCSP request encoding ran 3 tests all ok
OCSP response certificate access ran 3 tests all ok
OCSP response parsing ran 3 tests all ok
octetstring:
OctetString ran 14 tests all ok
os_utils:
OS::get_high_resolution_clock ran 2 tests all ok
OS::get_process_id ran 2 tests all ok
OS::get_processor_timestamp ran 1 tests all ok
OS::get_system_timestamp_ns ran 2 tests all ok
OS::run_cpu_instruction_probe ran 2 tests all ok
otp_hotp:
HOTP SHA-1 ran 180 tests in 5.81 msec all ok
HOTP SHA-256 ran 54 tests in 3.17 msec all ok
HOTP SHA-512 ran 54 tests in 11.39 msec all ok
otp_totp:
TOTP SHA-1 ran 24 tests in 0.12 msec all ok
package_transform:
Package transform ran 3 tests all ok
passhash9:
passhash9 ran 14 tests in 2.61 sec all ok
pgp_s2k_iter:
PGP_S2K iteration encoding ran 2031876 tests all ok
pk_pad_eme:
PKCS1v15 Decoding ran 39 tests in 0.08 msec all ok
pk_workfactor:
DL_Exponent_Size work factor calculation ran 6 tests in 0.02 msec all ok
RSA_Strength work factor calculation ran 8 tests in 0.03 msec all ok
rdrand_rng:
RDRAND_RNG ran 4 tests all ok
rfc3394:
RFC3394 keywrap ran 12 tests in 0.07 msec all ok
rfc6979:
RFC 6979 nonce generation ran 8 tests in 1.35 msec all ok
rsa_blinding:
RSA blinding ran 226 tests all ok
rsa_encrypt:
RSA/EME-PKCS1-v1_5 decryption ran 20 tests in 70.45 msec all ok
RSA/EME1(SHA-1) decryption ran 76 tests in 492.92 msec all ok
RSA/Raw decryption ran 522 tests in 545.91 msec all ok
rsa_kem:
RSA/KDF1-18033(SHA-1) KEM ran 6 tests in 22.40 msec all ok
RSA/KDF1-18033(SHA-256) KEM ran 6 tests in 19.63 msec all ok
RSA/KDF1-18033(SHA-512) KEM ran 3 tests in 19.35 msec all ok
RSA/KDF2(SHA-1) KEM ran 6 tests in 18.35 msec all ok
RSA/KDF2(SHA-256) KEM ran 6 tests in 17.99 msec all ok
RSA/KDF2(SHA-512) KEM ran 3 tests in 16.53 msec all ok
rsa_keygen:
RSA 1024 keygen ran 21 tests in 509.36 msec all ok
RSA 1280 keygen ran 21 tests in 917.00 msec all ok
rsa_sign:
RSA/EMSA1(SHA-1) signature generation ran 24 tests in 16.21 msec all ok
RSA/EMSA2(RIPEMD-160) signature generation ran 32 tests in 29.12 msec all ok
RSA/EMSA2(SHA-1) signature generation ran 16 tests in 12.95 msec all ok
RSA/EMSA2(SHA-224) signature generation ran 32 tests in 27.98 msec all ok
RSA/EMSA2(SHA-256) signature generation ran 32 tests in 29.38 msec all ok
RSA/EMSA2(SHA-384) signature generation ran 32 tests in 31.22 msec all ok
RSA/EMSA2(SHA-512) signature generation ran 32 tests in 34.85 msec all ok
RSA/EMSA2(Whirlpool) signature generation ran 32 tests in 31.44 msec all ok
RSA/EMSA3(MD5) signature generation ran 72 tests in 164.86 msec all ok
RSA/EMSA3(RIPEMD-160) signature generation ran 32 tests in 26.36 msec all ok
RSA/EMSA3(Raw) signature generation ran 40 tests in 35.49 msec all ok
RSA/EMSA3(Raw,MD5) signature generation ran 8 tests in 4.98 msec all ok
RSA/EMSA3(SHA-1) signature generation ran 80 tests in 41.48 msec all ok
RSA/EMSA3(SHA-224) signature generation ran 24 tests in 34.06 msec all ok
RSA/EMSA3(SHA-256) signature generation ran 32 tests in 32.46 msec all ok
RSA/EMSA3(SHA-384) signature generation ran 32 tests in 30.14 msec all ok
RSA/EMSA3(SHA-512) signature generation ran 32 tests in 27.02 msec all ok
RSA/EMSA3(Tiger) signature generation ran 32 tests in 26.85 msec all ok
RSA/EMSA4(SHA-1) signature generation ran 240 tests in 208.71 msec all ok
RSA/ISO_9796_DS2(RIPEMD-160) signature generation ran 8 tests in 5.23 msec all ok
RSA/ISO_9796_DS2(SHA-1,imp) signature generation ran 8 tests in 4.82 msec all ok
RSA/ISO_9796_DS3(SHA-1,exp) signature generation ran 8 tests in 4.94 msec all ok
RSA/ISO_9796_DS3(SHA-1,imp) signature generation ran 8 tests in 4.76 msec all ok
rsa_verify:
RSA/EMSA4(RIPEMD-160) signature verification ran 28 tests in 7.15 msec all ok
RSA/EMSA4(SHA-1) signature verification ran 98 tests in 23.50 msec all ok
RSA/EMSA4(SHA-224) signature verification ran 28 tests in 7.27 msec all ok
RSA/EMSA4(SHA-256) signature verification ran 28 tests in 7.28 msec all ok
RSA/EMSA_PKCS1(SHA-256) signature verification ran 7 tests in 1.40 msec all ok
RSA/ISO_9796_DS2(RIPEMD-160,exp) signature verification ran 7 tests in 0.99 msec all ok
RSA/ISO_9796_DS2(RIPEMD-160,imp) signature verification ran 7 tests in 1.03 msec all ok
RSA/ISO_9796_DS3(RIPEMD-160,imp) signature verification ran 7 tests in 1.02 msec all ok
RSA/ISO_9796_DS3(SHA-1,exp) signature verification ran 7 tests in 1.14 msec all ok
RSA/Raw signature verification ran 7 tests in 4.92 msec all ok
rsa_verify_invalid:
RSA/EMSA_PKCS1(SHA-256) verify invalid signature ran 141 tests in 39.94 msec all ok
simd_32:
SIMD_4x32 ran 240 tests all ok
sm2_enc:
SM2 decryption ran 2 tests in 133.10 msec all ok
sm2_sig:
SM2/ALICE123@YAHOO.COM signature generation ran 8 tests in 62.31 msec all ok
srp6:
SRP6 ran 1 tests all ok
system_rng:
System_RNG ran 3 tests all ok
tls:
DTLS v1.0 ran 810 tests in 653.34 msec all ok
DTLS v1.2 ran 1980 tests in 4.89 sec all ok
TLS Policy ran 5 tests all ok
TLS v1.0 ran 840 tests in 857.45 msec all ok
TLS v1.1 ran 836 tests in 748.29 msec all ok
TLS v1.2 ran 2132 tests in 7.57 sec all ok
TLS::Alert::type_string ran 33 tests all ok
TLS::Ciphersuite ran 332 tests all ok
tls_messages:
alert parsing ran 9 tests in 0.07 msec all ok
cert_status parsing ran 8 tests in 0.16 msec all ok
cert_verify parsing ran 8 tests in 0.07 msec all ok
client_hello parsing ran 18 tests in 0.21 msec all ok
hello_request parsing ran 2 tests in 0.01 msec all ok
hello_verify parsing ran 5 tests in 0.04 msec all ok
hello_verify_request construction ran 1 tests all ok
new_session_ticket parsing ran 5 tests in 0.03 msec all ok
server_hello parsing ran 12 tests in 0.13 msec all ok
tls_policy:
TLS Policy DH key verification ran 1 tests all ok
TLS Policy DSA key verification ran 2 tests all ok
TLS Policy ECDH key verification ran 2 tests all ok
TLS Policy ECDSA key verification ran 2 tests all ok
TLS Policy RSA key verification ran 2 tests all ok
tss:
TSS ran 2 tests all ok
util_dates:
Date parsing ran 71 tests in 0.19 msec all ok
calendar_point::to_string ran 1 tests all ok
x509_dn_cmp:
X509_DN comparisons ran 4 tests in 0.09 msec all ok
x509_path_extended:
Extended X509 path validation ran 3 tests in 14.76 msec all ok
x509_path_name_constraint:
X509v3 Name Constraints: Invalid_DN_Name_Constraint.crt ran 1 tests all ok
X509v3 Name Constraints: Invalid_Email_Name_Constraint.crt ran 1 tests all ok
X509v3 Name Constraints: Invalid_IP_Name_Constraint.crt ran 1 tests all ok
X509v3 Name Constraints: Valid_DNS_Name_Constraint.crt ran 1 tests all ok
X509v3 Name Constraints: Valid_DN_Name_Constraint.crt ran 1 tests all ok
X509v3 Name Constraints: Valid_IP_Name_Constraint.crt ran 1 tests all ok
x509_path_nist:
NIST path validation ran 71 tests in 304.13 msec all ok
x509_path_x509test:
X509test path validation ran 37 tests in 117.01 msec all ok
x509_unit:
Certificate_Status_Code to_string ran 73 tests all ok
X509 Extensions ran 48 tests all ok
X509 Hashes ran 20 tests all ok
X509 Self Issued ran 6 tests all ok
X509 Time ran 75 tests all ok
X509 Unit ran 126 tests all ok
X509 Usage ran 42 tests all ok
X509 Valid Constraints ran 57 tests all ok
xmss_keygen:
XMSS XMSS_SHA2-256_W16_H10 keygen ran 21 tests in 5.41 sec all ok
xmss_sign:
XMSS/SHAKE128_W16_H10 signature generation ran 16 tests in 23.51 sec all ok
xmss_verify:
XMSS/SHA2-256_W16_H10 signature verification ran 49 tests in 112.33 msec all ok
XMSS/SHA2-256_W16_H16 signature verification ran 49 tests in 118.10 msec all ok
XMSS/SHA2-256_W16_H20 signature verification ran 14 tests in 36.00 msec all ok
XMSS/SHA2-512_W16_H10 signature verification ran 49 tests in 805.23 msec all ok
XMSS/SHA2-512_W16_H16 signature verification ran 14 tests in 241.01 msec all ok
XMSS/SHA2-512_W16_H20 signature verification ran 14 tests in 242.85 msec all ok
XMSS/SHAKE128_W16_H10 signature verification ran 14 tests in 85.31 msec all ok
XMSS/SHAKE128_W16_H16 signature verification ran 14 tests in 84.17 msec all ok
XMSS/SHAKE128_W16_H20 signature verification ran 14 tests in 92.72 msec all ok
XMSS/SHAKE256_W16_H10 signature verification ran 14 tests in 319.71 msec all ok
XMSS/SHAKE256_W16_H16 signature verification ran 14 tests in 301.19 msec all ok
XMSS/SHAKE256_W16_H20 signature verification ran 14 tests in 299.88 msec all ok
Tests complete ran 2509224 tests in 174.88 sec 53 tests failed
Error: Test error Test suite failure

Cheers!

randombit commented 7 years ago

Can you explain more about how you are setting up your i686 build environment? On Arch I normally use gcc-multilib which requires passing -m32 on the command line, but it seems you are not doing that here.

Frustrating bug because I cannot repo this even though I have access to a machine running Arch, gcc version 7.1.1 20170630, on a "Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz" which is pretty close to your env. I tested by enabling multilib repo and compiling Botan with ./configure.py --cpu=i686 --cc-abi-flags=-m32, resulting in

GOST-R-34.11-94 ran 86 tests in 0.84 msec all ok

WTF :(

xyproto commented 7 years ago

I'm building in a chroot using the standard packaging tools from the devtools package:

pacman -S devtools

Then in the directory with the Botan PKGBUILD file:

sudo extra-i686-build
randombit commented 7 years ago

Thanks hopefully I can repro

xyproto commented 7 years ago

Thanks for testing!

randombit commented 7 years ago

Reproed it using the chroot, interesting that this makes a difference.

randombit commented 7 years ago

Recompiling gost_3411.cpp using -O2 passes while -O3 fails. Probably I can fiddle with the code to deoptimize it sufficiently that GCC 7 doesn't miscompile, and open an issue with GCC upstream once I have a small repro case.

randombit commented 7 years ago

@xyproto Can you try the change in 3e1312d? Fixes the miscompilation for me. I was not able to reduce it to a small testcase sadly :(

randombit commented 7 years ago

@xyproto I see Arch is now shipping 2.2.0 with the 3e1312d patch so I'm assuming this resolved the issue. Please open a new issue if there are further problems. And, thank you for maintaining the package in Arch!

xyproto commented 7 years ago

Sorry for the late reply, yes the patch worked out! Thanks.