Hi, first, thank you for maintaining this great repo!
There is a problem when running cryptest.exe v in Windows, specifically Github windows workflows, not all assertions pass.
I've made a fork with windows workflow action so you guys can check it out.
Crypto++ Issue Report
State the operating system and version:
Github workflows
Microsoft Windows Server 2022
10.0.20348
Datacenter
State the version of the Crypto++ library:
master (also fails with 8.9.0, 8.8.0 in a separate project)
State how you built the library:
MSBuild Visual Studio 17 2022
using this workflow
Show a typical command line (the output of the compiler for cryptlib.cpp):
Please find the cryptest compilation result here in the Build cyrptest Solution step
Show the link command (the output of the linker for libcryptopp.so or cryptest.exe):
You can fine the cryptest.exe v result here in the Run cyrptest.exe step
Show the exact error message you are receiving (copy and paste it); or
Clearly state the undesired behavior (and state the expected behavior)
31 assertions did not pass for example:
Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4455): CryptoPP::a_times_b_mod_cAssertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4464): CryptoPP::a_exp_b_mod_cAssertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtrAssertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\pwdbased.h(246): CryptoPP::PKCS5_PBKDF2_HMAC<class CryptoPP::SHA256>::DeriveKey
and more
I can confirm that this problem only occurs on the Github windows workflows, it works fine in my windows machine.
Hi, first, thank you for maintaining this great repo! There is a problem when running
cryptest.exe v
in Windows, specifically Github windows workflows, not all assertions pass.I've made a fork with windows workflow action so you guys can check it out.
Crypto++ Issue Report
Build cyrptest Solution
stepRun cyrptest.exe
stepAssertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4455): CryptoPP::a_times_b_mod_c
Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4464): CryptoPP::a_exp_b_mod_c
Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr
Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\pwdbased.h(246): CryptoPP::PKCS5_PBKDF2_HMAC<class CryptoPP::SHA256>::DeriveKey
and moreI can confirm that this problem only occurs on the Github windows workflows, it works fine in my windows machine.
cyrptest.exe -v output:
```text Win32\Output\Debug\cryptest.exe v shell: C:\Windows\system32\cmd.EXE /D /E:ON /V:OFF /S /C "CALL "{0}"" Using seed: 1720959419 Testing Settings... passed: Your machine is little endian. passed: Your machine has 32-bit words. passed: Your machine has 32-bit pointers. passed: Library version (library): 890, header version (app): 890 passed: sizeof(byte) == 1 passed: sizeof(word16) == 2 passed: sizeof(word32) == 4 passed: sizeof(word64) == 8 passed: sizeof(hword) == 2, sizeof(word) == 4, sizeof(dword) == 8 passed: cacheLineSize == 64 hasSSE2 == 1, hasSSSE3 == 1, hasSSE4.1 == 1, hasSSE4.2 == 1, hasAVX == 1, hasAVX2 == 1, hasAESNI == 1, hasCLMUL == 1, hasRDRAND == 1, hasRDSEED == 1, hasSHA == 1, isP4 == 0 Testing operating system provided nonblocking random number generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes Testing RandomPool generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4455): CryptoPP::a_times_b_mod_c Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4464): CryptoPP::a_exp_b_mod_c Testing AutoSeeded RandomPool generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes Testing OldRandomPool generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes passed: Expected sequence from PGP-style RandomPool (circa 2007) Testing AutoSeeded X917 generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes Testing Mersenne Twister... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes passed: Expected sequence from MT19937 Testing Padlock RNG generator... Padlock RNG generator not available, skipping test. Testing RDRAND generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes passed: Maurer Randomness Test returned value 0.998627 Testing RDSEED generator... passed: 10240 generated bytes compressed to 10245 bytes by DEFLATE passed: IncorporateEntropy with 128 bytes passed: GenerateWord32 and Crop passed: DiscardBytes with 1024 bytes passed: Maurer Randomness Test returned value 0.999551 Testing SecBlock... passed: Zeroized byte array passed: Zeroized word32 array passed: Zeroized word64 array passed: Assign byte passed: Assign word32 passed: Assign word64 passed: Append byte passed: Append word32 passed: Append word64 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\integer.cpp(4464): CryptoPP::a_exp_b_mod_c passed: Integer DivideByZero passed: Integer RandomNumberNotFound passed: Carmichael pseudo-primes passed: Squaring operations passed: GCD operations passed: InverseMod operations passed: Divide operations passed: Power2 operations passed: Exponentiation operations passed: Randomize of various bit lengths Testing Integer bit operations... passed: Bitwise AND over 32-bits to 1024-bits passed: Bitwise OR over 32-bits to 1024-bits passed: Bitwise XOR over 32-bits to 1024-bits Testing PolynomialMod2 bit operations... passed: 1 shifted over range [0,129] passed: 0xffffffff shifted over range [0,129] passed: random values shifted over range [0,129] Testing RoundUpToMultipleOf/RoundDownToMultipleOf... passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, no overflow passed: RoundUpToMultipleOf, byte, overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, no overflow passed: RoundUpToMultipleOf, word16, overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, no overflow passed: RoundUpToMultipleOf, word32, overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, no overflow passed: RoundUpToMultipleOf, word64, overflow Testing Huffman codes... passed: GenerateCodeLengths passed: HuffmanDecoder decode Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr Testing ASN.1 parser... passed: accept BIT_STRING 030100 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr passed: reject BIT_STRING 030108 passed: accept BIT_STRING 03020043 passed: reject BIT_STRING 03020843 passed: reject BIT_STRING 037F0043 passed: accept BIT_STRING 03810100 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr passed: reject BIT_STRING 03810108 passed: accept BIT_STRING 0381020043 passed: reject BIT_STRING 0381020843 passed: reject BIT_STRING 0381FF0043 passed: accept BIT_STRING 038200020043 passed: reject BIT_STRING 038200020843 passed: reject BIT_STRING 0382FFFF0043 passed: accept BIT_STRING 03830000020043 passed: reject BIT_STRING 03830000020843 passed: reject BIT_STRING 0383FFFFFF0043 passed: accept BIT_STRING 0384000000020043 passed: reject BIT_STRING 0384000000020843 passed: reject BIT_STRING 0384FFFFFFFF0043 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr passed: accept OCTET_STRING 0400 passed: accept OCTET_STRING 040143 passed: reject OCTET_STRING 040243 passed: reject OCTET_STRING 047F43 passed: accept OCTET_STRING 048100 passed: accept OCTET_STRING 04810143 passed: reject OCTET_STRING 04810243 passed: reject OCTET_STRING 0481FF43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr passed: accept OCTET_STRING 04820000 passed: accept OCTET_STRING 0482000143 passed: reject OCTET_STRING 0482000243 passed: reject OCTET_STRING 0482FFFF43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.cpp(50): CryptoPP::BytePtr passed: accept OCTET_STRING 0483000000 passed: accept OCTET_STRING 048300000143 passed: reject OCTET_STRING 048300000243 passed: reject OCTET_STRING 0483FFFFFF43 passed: accept OCTET_STRING 048400000000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept OCTET_STRING 04840000000143 passed: reject OCTET_STRING 04840000000243 passed: reject OCTET_STRING 0484FFFFFFFF43 passed: accept UTF8_STRING 0C00 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept UTF8_STRING 0C0143 passed: reject UTF8_STRING 0C0243 passed: reject UTF8_STRING 0C7F43 passed: accept UTF8_STRING 0C8100 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept UTF8_STRING 0C810143 passed: reject UTF8_STRING 0C810243 passed: reject UTF8_STRING 0C81FF43 passed: accept UTF8_STRING 0C820000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept UTF8_STRING 0C82000143 passed: reject UTF8_STRING 0C82000243 passed: reject UTF8_STRING 0C82FFFF43 passed: accept UTF8_STRING 0C83000000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept UTF8_STRING 0C8300000143 passed: reject UTF8_STRING 0C8300000243 passed: reject UTF8_STRING 0C83FFFFFF43 passed: accept UTF8_STRING 0C8400000000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept UTF8_STRING 0C840000000143 passed: reject UTF8_STRING 0C840000000243 passed: reject UTF8_STRING 0C84FFFFFFFF43 passed: accept PRINTABLE_STRING 1300 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept PRINTABLE_STRING 130143 passed: reject PRINTABLE_STRING 130243 passed: reject PRINTABLE_STRING 137F43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept PRINTABLE_STRING 138100 passed: accept PRINTABLE_STRING 13810143 passed: reject PRINTABLE_STRING 13810243 passed: reject PRINTABLE_STRING 1381FF43 passed: accept PRINTABLE_STRING 13820000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept PRINTABLE_STRING 1382000143 passed: reject PRINTABLE_STRING 1382000243 passed: reject PRINTABLE_STRING 1382FFFF43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept PRINTABLE_STRING 1383000000 passed: accept PRINTABLE_STRING 138300000143 passed: reject PRINTABLE_STRING 138300000243 passed: reject PRINTABLE_STRING 1383FFFFFF43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept PRINTABLE_STRING 138400000000 passed: accept PRINTABLE_STRING 13840000000143 passed: reject PRINTABLE_STRING 13840000000243 passed: reject PRINTABLE_STRING 1384FFFFFFFF43 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept IA5_STRING 1600 passed: accept IA5_STRING 160143 passed: reject IA5_STRING 160243 passed: reject IA5_STRING 167F43 passed: accept IA5_STRING 168100 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept IA5_STRING 16810143 passed: reject IA5_STRING 16810243 passed: reject IA5_STRING 1681FF43 passed: accept IA5_STRING 16820000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept IA5_STRING 1682000143 passed: reject IA5_STRING 1682000243 passed: reject IA5_STRING 1682FFFF43 passed: accept IA5_STRING 1683000000 Assertion failed: D:\a\cryptopp-windows-ci\cryptopp-windows-ci\misc.h(444): CryptoPP::BytePtr passed: accept IA5_STRING 168300000143 passed: reject IA5_STRING 168300000243 passed: reject IA5_STRING 1683FFFFFF43 passed: accept IA5_STRING 168400000000 passed: accept IA5_STRING 16840000000143 passed: reject IA5_STRING 16840000000243 passed: reject IA5_STRING 1684FFFFFFFF43 passed: reject INTEGER 0200 passed: accept INTEGER 020143 passed: reject INTEGER 020243 passed: reject INTEGER 027F43 passed: reject INTEGER 028100 passed: accept INTEGER 02810143 passed: reject INTEGER 02810243 passed: reject INTEGER 0281FF43 passed: reject INTEGER 02820000 passed: accept INTEGER 0282000143 passed: reject INTEGER 0282000243 passed: reject INTEGER 0282FFFF43 passed: reject INTEGER 0283000000 passed: accept INTEGER 028300000143 passed: reject INTEGER 028300000243 passed: reject INTEGER 0283FFFFFF43 passed: reject INTEGER 028400000000 passed: accept INTEGER 02840000000143 passed: reject INTEGER 02840000000243 passed: reject INTEGER 0284FFFFFFFF43 Testing ASN.1 functions... passed DEREncodeOctetString passed BERDecodeOctetString passed DEREncodeTextString passed DEREncodeTextString passed DEREncodeDate passed BERDecodeDate Base64, Base64URL, Base32 and Base16 coding validation suite running... passed: Hex Encoding passed: Hex Decoding passed: Base32 Encoding passed: Base32 Decoding passed: Base64 Encoding passed: Base64 Decoding passed: Base64 URL Encoding passed: Base64 URL Decoding Custom encoder validation running... passed: Encode and decode passed: 0-length message Testing Compressors and Decompressors... passed: filenames, filetimes and comments passed: 64 zips and unzips passed: 64 deflates and inflates passed: 64 zlib decompress and compress Information Dispersal and Secret Sharing... passed: 64 information dispersals passed: 64 secret sharings Testing Default Encryptors and Decryptors... passed: cross-platform decryption with MAC of binary file passed: 64 default encryptions and decryptions passed: 64 default encryptions and decryptions with MAC passed: 64 legacy encryptions and decryptions passed: 64 legacy encryptions and decryptions with MAC Testing curve25519 Key Agreements... passed 64 key agreements passed x25519 load and save passed x25519 encoding and decoding passed x25519 private key byte buffer construction passed x25519 private key Integer construction passed x25519 public key byte buffer construction passed x25519 public key Integer construction passed x25519 byte buffer and Integer consistency Testing ed25519 Signatures... passed 64 public keys passed 64 signatures passed 64 verifications passed 64 streams passed RFC 8032 test vectors passed RFC 5208 and 5958 key loads CRC-32 validation suite running... passed 00000000 "" passed 43beb7e8 "a" passed c2412435 "abc" passed 7f9d1520 "message digest" passed bd50274c "abcdefghijklmnopqrstuvwxyz" passed d2e6c21f "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 724aa97c "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed 2639f4cb "123456789" CRC-32C validation suite running... passed 00000000 "" passed 3043d0c1 "a" passed b73f4b36 "abc" passed d079bd02 "message digest" passed 25efe69e "abcdefghijklmnopqrstuvwxyz" passed 7dd545a2 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 81677a47 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed 839206e3 "123456789" Adler-32 validation suite running... passed 00000001 "" passed 00620062 "a" passed 024d0127 "abc" passed 29750586 "message digest" passed 90860b20 "abcdefghijklmnopqrstuvwxyz" passed 8adb150c "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 15d870f9 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" repeated 15625 times MD2 validation suite running... passed 8350e5a3e24c153df2275c9f80692773 "" passed 32ec01ec4a6dac72c0ab96fb34c0b5d1 "a" passed da853b0d3f88d99b30283a69e6ded6bb "abc" passed ab4f496bfb2a530b219ff33031fe06b0 "message digest" passed 4e8ddff3650292ab5a4108c3aa47940b "abcdefghijklmnopqrstuvwxyz" passed da33def2a42df13975352846c30338cd "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed d5976f79d83d3a0dc9806c3c66f3efd8 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" MD4 validation suite running... passed 31d6cfe0d16ae931b73c59d7e0c089c0 "" passed bde52cb31de33e46245e05fbdbd6fb24 "a" passed a448017aaf21d8525fc10ae87aa6729d "abc" passed d9130a8164549fe818874806e1c7014b "message digest" passed d79e1c308aa5bbcdeea8ed63df412da9 "abcdefghijklmnopqrstuvwxyz" passed 043f8582f241db351ce627e153e7f0e4 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed e33b4ddc9c38f2199c3e7b164fcc0536 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" MD5 validation suite running... passed d41d8cd98f00b204e9800998ecf8427e "" passed 0cc175b9c0f1b6a831c399e269772661 "a" passed 900150983cd24fb0d6963f7d28e17f72 "abc" passed f96b697d7cb7938d525a2f31aaf161d0 "message digest" passed c3fcd3d76192e4007dfb496cca67e13b "abcdefghijklmnopqrstuvwxyz" passed d174ab98d277d9f5a5611c2c9f419d9f "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 57edf4a22be3c955ac49da2e2107b67a "12345678901234567890123456789012345678901234567890123456789012345678901234567890" SHA validation suite running... Testing MessageDigest algorithm SHA-1. ... Testing MessageDigest algorithm SHA-224. ... Testing MessageDigest algorithm SHA-256. ... Testing MessageDigest algorithm SHA-384. ... Testing MessageDigest algorithm SHA-512. ... Tests complete. Total tests = 15. Failed tests = 0. Keccak validation suite running... Testing MessageDigest algorithm Keccak-224. ....... Testing MessageDigest algorithm Keccak-256. ....... Testing MessageDigest algorithm Keccak-384. ....... Testing MessageDigest algorithm Keccak-512. ...................................................................................................................................................................................................................................................................... Tests complete. Total tests = 283. Failed tests = 0. SHA-3 validation suite running... Testing FileList algorithm SHA3 FIPS 202 collection. Testing MessageDigest algorithm SHA3-224. ..................................................................................................................................................................................................................................................... Testing MessageDigest algorithm SHA3-256. ............................................................................................................................................................................................................................................. Testing MessageDigest algorithm SHA3-384. ............................................................................................................................................................................................................. Testing MessageDigest algorithm SHA3-512. ............................................................................................................................................................................. Tests complete. Total tests = 860. Failed tests = 0. SHAKE validation suite running... Testing MessageDigest algorithm SHAKE-128. ...................................................................................................................................................... Testing MessageDigest algorithm SHAKE-256. ...................................................................................................................................................... Tests complete. Total tests = 300. Failed tests = 0. SHAKE XOF validation suite running... passed SHAKE XOF message digests LSH validation suite running... Testing FileList algorithm LSH test vectors. Testing MessageDigest algorithm LSH-224. ................................................................................................................................................... Testing MessageDigest algorithm LSH-256. ................................................................................................................................................... Testing MessageDigest algorithm LSH-384. ................................................................................................................................................... Testing MessageDigest algorithm LSH-512. ................................................................................................................................................... Testing MessageDigest algorithm LSH-512-256. ................................................................................................................................................... Tests complete. Total tests = 735. Failed tests = 0. Testing NIST Hash DRBGs... passed Hash_DRBG SHA1/128/440 (COUNT=0, E=16, N=8) passed Hash_DRBG SHA1/128/440 (COUNT=1, E=16, N=8) passed Hash_DRBG SHA1/128/440 (C0UNT=0, E=16, N=8, A=16) passed Hash_DRBG SHA1/128/440 (C0UNT=1, E=16, N=8, A=16) passed Hash_DRBG SHA1/128/440 (C0UNT=0, E=16, N=8, A=0, P=16) passed Hash_DRBG SHA1/128/440 (C0UNT=1, E=16, N=8, A=0, P=16) passed Hash_DRBG SHA1/128/440 (C0UNT=0, E=16, N=8, A=16, P=16) passed Hash_DRBG SHA1/128/440 (C0UNT=1, E=16, N=8, A=16, P=16) passed Hash_DRBG SHA256/128/440 (C0UNT=0, E=32, N=16, A=32, P=32) passed Hash_DRBG SHA256/128/440 (C0UNT=1, E=32, N=16, A=32, P=32) passed Hash_DRBG SHA512/256/888 (C0UNT=0, E=32, N=16, A=32, P=32) passed Hash_DRBG SHA512/256/888 (C0UNT=1, E=32, N=16, A=32, P=32) Testing NIST HMAC DRBGs... passed HMAC_DRBG SHA1/128/440 (COUNT=0, E=16, N=8) passed HMAC_DRBG SHA1/128/440 (COUNT=1, E=16, N=8) passed HMAC_DRBG SHA1/128/440 (COUNT=0, E=16, N=8, A=16) passed HMAC_DRBG SHA1/128/440 (COUNT=1, E=16, N=8, A=16) Tiger validation suite running... passed 3293ac630c13f0245f92bbb1766e16167a4e58492dde73f3 "" passed 77befbef2e7ef8ab2ec8f93bf587a7fc613e247f5f247809 "a" passed 2aab1484e8c158f2bfb8c5ff41b57a525129131c957b5f93 "abc" passed dd00230799f5009fec6debc838bb6a27df2b9d6f110c7937 "Tiger" passed d981f8cb78201a950dcf3048751e441c517fca1aa55a29f6 "message digest" passed 8dcea680a17583ee502ba38a3c368651890ffbccdc49a8cc "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed f71c8583902afb879edfe610f82c0d4786a3a534504486b5 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" passed 48ceeb6308b87d46e95d656112cdf18d97915f9765658957 "ABCDEFGHIJKLMNOPQRSTUVWXYZ=abcdefghijklmnopqrstuvwxyz+0123456789" passed 8a866829040a410c729ad23f5ada711603b3cdd357e4c15e "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham" passed ce55a6afd591f5ebac547ff84f89227f9331dab0b611c889 "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge." passed 631abdd103eb9a3d245b6dfd4d77b257fc7439501d1568dd "Tiger - A Fast New Hash Function, by Ross Anderson and Eli Biham, proceedings of Fast Software Encryption 3, Cambridge, 1996." passed c54034e5b43eb8005848a7e0ae6aac76e4ff590ae715fd25 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-" RIPEMD-128 validation suite running... passed cdf26213a150dc3ecb610f18f6b38b46 "" passed 86be7afa339d0fc7cfc785e72f578d33 "a" passed c14a12199c66e4ba84636b0f69144c77 "abc" passed 9e327b3d6e523062afc1132d7df9d1b8 "message digest" passed fd2aa607f71dc8f510714922b371834e "abcdefghijklmnopqrstuvwxyz" passed a1aa0689d0fafa2ddc22e88b49133a06 "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" passed d1e959eb179c911faea4624c60c5c702 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 3f45ef194732c2dbb2c4a2c769795fa3 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed 4a7f5723f954eba1216c9d8f6320431f "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" repeated 15625 times RIPEMD-160 validation suite running... passed 9c1185a5c5e9fc54612808977ee8f548b2258d31 "" passed 0bdc9d2d256b3ee9daae347be6f4dc835a467ffe "a" passed 8eb208f7e05d987a9b044a8e98c6b087f15a0bfc "abc" passed 5d0689ef49d2fae572b881b123a85ffa21595f36 "message digest" passed f71c27109c692c1b56bbdceb5b9d2865b3708dbc "abcdefghijklmnopqrstuvwxyz" passed 12a053384a9c0c88e405a06c27dcf49ada62eb2b "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" passed b0e20b6e3116640286ed3a87a5713079b21f5189 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 9b752e45573d4b39f4dbd3323cab82bf63326bfb "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed 52783243c1697bdbe16d37f97f68f08325dc1528 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" repeated 15625 times RIPEMD-256 validation suite running... passed 02ba4c4e5f8ecd1877fc52d64d30e37a2d9774fb1e5d026380ae0168e3c5522d "" passed f9333e45d857f5d90a91bab70a1eba0cfb1be4b0783c9acfcd883a9134692925 "a" passed afbd6e228b9d8cbbcef5ca2d03e6dba10ac0bc7dcbe4680e1e42d2e975459b65 "abc" passed 87e971759a1ce47a514d5c914c392c9018c7c46bc14465554afcdf54a5070c0e "message digest" passed 649d3034751ea216776bf9a18acc81bc7896118a5197968782dd1fd97d8d5133 "abcdefghijklmnopqrstuvwxyz" passed 3843045583aac6c8c8d9128573e7a9809afb2a0f34ccc36ea9e72f16f6368e3f "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" passed 5740a408ac16b720b84424ae931cbb1fe363d1d0bf4017f1a89f7ea6de77a0b8 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 06fdcc7a409548aaf91368c06a6275b553e3f099bf0ea4edfd6778df89a890dd "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed ac953744e10e31514c150d4d8d7b677342e33399788296e43ae4850ce4f97978 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" repeated 15625 times RIPEMD-320 validation suite running... passed 22d65d5661536cdc75c1fdf5c6de7b41b9f27325ebc61e8557177d705a0ec880151c3a32a00899b8 "" passed ce78850638f92658a5a585097579926dda667a5716562cfcf6fbe77f63542f99b04705d6970dff5d "a" passed de4c01b3054f8930a79d09ae738e92301e5a17085beffdc1b8d116713e74f82fa942d64cdbc4682d "abc" passed 3a8e28502ed45d422f68844f9dd316e7b98533fa3f2a91d29f84d425c88d6b4eff727df66a7c0197 "message digest" passed cabdb1810b92470a2093aa6bce05952c28348cf43ff60841975166bb40ed234004b8824463e6b009 "abcdefghijklmnopqrstuvwxyz" passed d034a7950cf722021ba4b84df769a5de2060e259df4c9bb4a4268c0e935bbc7470a969c9d072a1ac "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" passed ed544940c86d67f250d232c30b7b3e5770e0c60c8cb9a4cafe3b11388af9920e1b99230b843c86a4 "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 557888af5f6d8ed62ab66945c6d2a0a47ecd5341e915eb8fea1d0524955f825dc717e4a008ab2d42 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" passed bdee37f4371e20646b8b0d862dda16292ae36f40965e8c8509e63d1dbddecc503e2b63eb9245bb66 "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" repeated 15625 times Panama validation suite running... Testing MessageDigest algorithm Panama-LE. ... Testing MessageDigest algorithm Panama-BE. ... Testing MAC algorithm Panama-LE. .... Testing MAC algorithm Panama-BE. .... Testing SymmetricCipher algorithm Panama-LE. ... Testing SymmetricCipher algorithm Panama-BE. ... Tests complete. Total tests = 20. Failed tests = 0. Whirlpool validation suite running... Testing MessageDigest algorithm Whirlpool. ......... Tests complete. Total tests = 9. Failed tests = 0. Testing MessageDigest algorithm SM3. ............................................................. Tests complete. Total tests = 61. Failed tests = 0. BLAKE2s validation suite running... passed algorithm name passed 65 hashes and keyed hashes BLAKE2b validation suite running... passed algorithm name passed 65 hashes and keyed hashes Poly1305 validation suite running... passed algorithm name passed 12 message authentication codes SipHash validation suite running... passed SipHash-2-4 algorithm name passed SipHash-2-4 64-bit digest size passed SipHash-2-4 128-bit digest size passed SipHash-4-8 algorithm name passed SipHash-4-8 64-bit digest size passed SipHash-4-8 128-bit digest size passed SipHash-2-4 64-bit MAC passed SipHash-2-4 128-bit MAC passed SipHash-4-8 64-bit MAC passed SipHash-4-8 128-bit MAC Testing MAC algorithm HMAC(MD5). ........ Testing MAC algorithm HMAC(SHA-1). ........ Testing MAC algorithm HMAC(RIPEMD-160). ........ Testing MAC algorithm HMAC(SHA-224). ....... Testing MAC algorithm HMAC(SHA-256). ....... Testing MAC algorithm HMAC(SHA-384). ....... Testing MAC algorithm HMAC(SHA-512). ....... Tests complete. Total tests = 52. Failed tests = 0. Two-Track-MAC validation suite running... passed 2dec8ed4a0fd712ed9fbf2ab466ec2df21215e4a "" passed 5893e3e6e306704dd77ad6e6ed432cde321a7756 "a" passed 70bfd1029797a5c16da5b557a1f0b2779b78497e "abc" passed 8289f4f19ffe4f2af737de4bd71c829d93a972fa "message digest" passed 2186ca09c5533198b7371f245273504ca92bae60 "abcdefghijklmnopqrstuvwxyz" passed 8a7bf77aef62a2578497a27c0d6518a429e7c14d "abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq" passed 54bac392a886806d169556fcbb6789b54fb364fb "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789" passed 0ced2c9f8f0d9d03981ab5c8184bac43dd54c484 "12345678901234567890123456789012345678901234567890123456789012345678901234567890" PKCS #12 PBKDF validation suite running... passed 01 1 0073006D006500670000 0A58CF64530D823F 8AAAE6297B6CB04642AB5B077851284EB7128F1A2A7FBCA3 passed 02 1 0073006D006500670000 0A58CF64530D823F 79993DFE048D3B76 passed 01 1 0073006D006500670000 642B99AB44FB4B1F F3A95FEC48D7711E985CFE67908C5AB79FA3D7C5CAA5D966 passed 02 1 0073006D006500670000 642B99AB44FB4B1F C0A38D64A79BEA1D passed 03 1 0073006D006500670000 3D83C0E4546AC140 8D967D88F6CAA9D714800AB3D48051D63F73A312 passed 01 1000 007100750065006500670000 05DEC959ACFF72F7 ED2034E36328830FF09DF1E1A07DD357185DAC0D4F9EB3D4 passed 02 1000 007100750065006500670000 05DEC959ACFF72F7 11DEDAD7758D4860 passed 01 1000 007100750065006500670000 1682C0FC5B3F7EC5 483DD6E919D7DE2E8E648BA8F862F3FBFBDC2BCB2C02957F passed 02 1000 007100750065006500670000 1682C0FC5B3F7EC5 9D461D1B00355C50 passed 03 1000 007100750065006500670000 263216FCC2FAB31C 5EC4C7A80DF652294C3925B6489A7AB857C83476 PKCS #5 PBKDF2 validation suite running... passed 00 5 70617373776f7264 1234567878563412 D1DAA78615F287E6 passed 00 500 416C6C206E2D656E746974696573206D75737420636F6D6D756E69636174652077697468206F74686572206E2d656E74697469657320766961206E2D3120656E746974656568656568656573 1234567878563412 6A8970BF68C92CAEA84A8DF28510858607126380CC47AB2D RFC 5869 HKDF(SHA-1) validation suite running... passed 0b0b0b0b0b0b0b0b0b0b0b 000102030405060708090a0b0c f0f1f2f3f4f5f6f7f8f9 085A01EA1B10F36933068B56EFA5AD81A4F14B822F5B091568A9CDD4F155FDA2C22E422478D305F3F896 passed 000102030405060708090a0b0c0d0e0f 101112131415161718191a1b1c1d1e1f 202122232425262728292a2b2c2d2e2f 303132333435363738393a3b3c3d3e3f 404142434445464748494a4b4c4d4e4f 606162636465666768696a6b6c6d6e6f 707172737475767778797a7b7c7d7e7f 808182838485868788898a8b8c8d8e8f 909192939495969798999a9b9c9d9e9f a0a1a2a3a4a5a6a7a8a9aaabacadaeaf b0b1b2b3b4b5b6b7b8b9babbbcbdbebf c0c1c2c3c4c5c6c7c8c9cacbcccdcecf d0d1d2d3d4d5d6d7d8d9dadbdcdddedf e0e1e2e3e4e5e6e7e8e9eaebecedeeef f0f1f2f3f4f5f6f7f8f9fafbfcfdfeff 0BD770A74D1160F7C9F12CD5912A06EBFF6ADCAE899D92191FE4305673BA2FFE8FA3F1A4E5AD79F3F334B3B202B2173C486EA37CE3D397ED034C7F9DFEB15C5E927336D0441F4C4300E2CFF0D0900B52D3B4 passed 0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b <0-LEN SALT> <0-LEN INFO> 0AC1AF7002B3D761D1E55298DA9D0506B9AE52057220A306E07B6B87E8DF21D0EA00033DE03984D34918 passed 0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c