Lines Matching refs:cout
123 cout << "\nAll tests passed!\n";
125 cout << "\nOops! Not all tests passed.\n";
134 cout << "\nTesting Settings...\n\n";
139 cout << "passed: ";
141 cout << "FAILED: ";
144 cout << "Your machine is little endian.\n";
149 cout << "passed: ";
151 cout << "FAILED: ";
154 cout << "Your machine is big endian.\n";
158 cout << "FAILED: Your machine is neither big endian nor little endian.\n";
165 cout << "passed: Your machine allows unaligned data access.\n";
168 cout << "FAILED: Unaligned data access gave incorrect results.\n";
172 cout << "passed: CRYPTOPP_ALLOW_UNALIGNED_DATA_ACCESS is not defined. Will restrict to aligned data access.\n";
176 cout << "passed: ";
179 cout << "FAILED: ";
182 cout << "sizeof(byte) == " << sizeof(byte) << endl;
185 cout << "passed: ";
188 cout << "FAILED: ";
191 cout << "sizeof(word16) == " << sizeof(word16) << endl;
194 cout << "passed: ";
197 cout << "FAILED: ";
200 cout << "sizeof(word32) == " << sizeof(word32) << endl;
203 cout << "passed: ";
206 cout << "FAILED: ";
209 cout << "sizeof(word64) == " << sizeof(word64) << endl;
213 cout << "passed: ";
216 cout << "FAILED: ";
219 cout << "sizeof(word128) == " << sizeof(word128) << endl;
227 cout << "passed: ";
230 cout << "FAILED: ";
233 cout << "sizeof(hword) == " << sizeof(hword) << ", sizeof(word) == " << sizeof(word);
235 cout << ", sizeof(dword) == " << sizeof(dword);
237 cout << endl;
248 cout << "FAILED: ";
252 cout << "passed: ";
254 cout << "hasMMX == " << hasMMX << ", hasISSE == " << hasISSE << ", hasSSE2 == " << hasSSE2 << ", hasSSSE3 == " << hasSSSE3 << ", isP4 == " << isP4 << ", cacheLineSize == " << cacheLineSize;
258 cout << "Some critical setting in config.h is in error. Please fix it and recompile." << endl;
276 cout << "\nTesting operating system provided blocking random number generator...\n\n";
293 cout << "FAILED:";
297 cout << "passed:";
298 cout << " it took " << long(t1) << " seconds to generate " << total << " bytes" << endl;
323 cout << "FAILED:";
327 cout << "passed:";
328 cout << " it generated " << length << " bytes in " << long(time(NULL) - t) << " seconds" << endl;
336 cout << "FAILED:";
340 cout << "passed:";
341 cout << " " << total << " generated bytes compressed to " << (size_t)sink->TotalPutLength() << " bytes by DEFLATE" << endl;
344 cout << "\nNo operating system provided blocking random number generator, skipping test." << endl;
354 cout << "\nTesting operating system provided nonblocking random number generator...\n\n";
361 cout << "FAILED:";
365 cout << "passed:";
366 cout << " 100000 generated bytes compressed to " << (size_t)sink->TotalPutLength() << " bytes by DEFLATE" << endl;
369 cout << "\nNo operating system provided nonblocking random number generator, skipping test." << endl;
420 HexEncoder output(new FileSink(cout));
441 cout << (fail ? "FAILED " : "passed ");
443 cout << " ";
445 cout << " ";
447 cout << endl;
509 cout << "\nDES validation suite running...\n\n";
514 cout << "\nTesting EDE2, EDE3, and XEX3 variants...\n\n";
553 cout << "\nTesting DES modes...\n\n";
575 cout << (fail ? "FAILED " : "passed ") << "ECB encryption" << endl;
581 cout << (fail ? "FAILED " : "passed ") << "ECB decryption" << endl;
594 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with no padding" << endl;
600 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with no padding" << endl;
604 cout << (fail ? "FAILED " : "passed ") << "CBC mode IV generation" << endl;
619 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with PKCS #7 padding" << endl;
625 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with PKCS #7 padding" << endl;
640 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with one-and-zeros padding" << endl;
646 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with one-and-zeros padding" << endl;
658 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with zeros padding" << endl;
664 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with zeros padding" << endl;
678 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with ciphertext stealing (CTS)" << endl;
684 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with ciphertext stealing (CTS)" << endl;
688 cout << (fail ? "FAILED " : "passed ") << "CBC CTS IV generation" << endl;
703 cout << (fail ? "FAILED " : "passed ") << "CBC encryption with ciphertext and IV stealing" << endl;
709 cout << (fail ? "FAILED " : "passed ") << "CBC decryption with ciphertext and IV stealing" << endl;
721 cout << (fail ? "FAILED " : "passed ") << "CFB encryption" << endl;
727 cout << (fail ? "FAILED " : "passed ") << "CFB decryption" << endl;
731 cout << (fail ? "FAILED " : "passed ") << "CFB mode IV generation" << endl;
743 cout << (fail ? "FAILED " : "passed ") << "CFB (8-bit feedback) encryption" << endl;
749 cout << (fail ? "FAILED " : "passed ") << "CFB (8-bit feedback) decryption" << endl;
753 cout << (fail ? "FAILED " : "passed ") << "CFB (8-bit feedback) IV generation" << endl;
765 cout << (fail ? "FAILED " : "passed ") << "OFB encryption" << endl;
771 cout << (fail ? "FAILED " : "passed ") << "OFB decryption" << endl;
775 cout << (fail ? "FAILED " : "passed ") << "OFB IV generation" << endl;
787 cout << (fail ? "FAILED " : "passed ") << "Counter Mode encryption" << endl;
793 cout << (fail ? "FAILED " : "passed ") << "Counter Mode decryption" << endl;
797 cout << (fail ? "FAILED " : "passed ") << "Counter Mode IV generation" << endl;
814 cout << (fail ? "FAILED " : "passed ") << "CBC MAC" << endl;
820 cout << (fail ? "FAILED " : "passed ") << "DMAC" << endl;
827 cout << (fail ? "FAILED " : "passed ") << "AES CTR Mode" << endl;
834 cout << (fail ? "FAILED " : "passed ") << "AES OFB Mode" << endl;
841 cout << (fail ? "FAILED " : "passed ") << "AES CFB Mode" << endl;
848 cout << (fail ? "FAILED " : "passed ") << "AES CBC Mode" << endl;
856 cout << "\nIDEA validation suite running...\n\n";
864 cout << "\nSAFER validation suite running...\n\n";
877 cout << "\nRC2 validation suite running...\n\n";
880 HexEncoder output(new FileSink(cout));
905 cout << (fail ? "FAILED " : "passed ");
907 cout << " ";
909 cout << " ";
911 cout << endl;
1047 cout << "\nARC4 validation suite running...\n\n";
1052 cout << (fail ? "FAILED" : "passed") << " Test 0" << endl;
1058 cout << (fail ? "FAILED" : "passed") << " Test 1" << endl;
1065 cout << (fail ? "FAILED" : "passed") << " Test 2" << endl;
1072 cout << (fail ? "FAILED" : "passed") << " Test 3" << endl;
1079 cout << (fail ? "FAILED" : "passed") << " Test 4" << endl;
1087 cout << "\nRC5 validation suite running...\n\n";
1095 cout << "\nRC6 validation suite running...\n\n";
1107 cout << "\nMARS validation suite running...\n\n";
1119 cout << "\nRijndael (AES) validation suite running...\n\n";
1132 cout << "\nTwofish validation suite running...\n\n";
1144 cout << "\nSerpent validation suite running...\n\n";
1156 cout << "\nBlowfish validation suite running...\n\n";
1158 HexEncoder output(new FileSink(cout));
1176 cout << (fail ? "FAILED " : "passed ");
1177 cout << '\"' << key[i] << '\"';
1179 cout << ' ';
1181 cout << " ";
1183 cout << endl;
1190 cout << "\n3-WAY validation suite running...\n\n";
1198 cout << "\nGOST validation suite running...\n\n";
1206 cout << "\nSHARK validation suite running...\n\n";
1216 cout << "\nCAST-128 validation suite running...\n\n";
1223 cout << "\nCAST-256 validation suite running...\n\n";
1235 cout << "\nSquare validation suite running...\n\n";
1243 cout << "\nSKIPJACK validation suite running...\n\n";
1256 cout << "\nSEAL validation suite running...\n\n";
1273 cout << (pass ? "passed" : "FAILED") << endl;
1309 cout << "\nBase64, base32 and hex coding validation suite running...\n\n";
1312 cout << (fail ? "FAILED " : "passed ");
1313 cout << "Hex Encoding\n";
1317 cout << (fail ? "FAILED " : "passed ");
1318 cout << "Hex Decoding\n";
1322 cout << (fail ? "FAILED " : "passed ");
1323 cout << "Base32 Encoding\n";
1327 cout << (fail ? "FAILED " : "passed ");
1328 cout << "Base32 Decoding\n";
1332 cout << (fail ? "FAILED " : "passed ");
1333 cout << "Base64 Encoding\n";
1337 cout << (fail ? "FAILED " : "passed ");
1338 cout << "Base64 Decoding\n";
1346 cout << "\nSHACAL-2 validation suite running...\n\n";
1357 cout << "\nCamellia validation suite running...\n\n";
1369 cout << "\nSalsa validation suite running...\n";
1376 cout << "\nSosemanuk validation suite running...\n";
1382 cout << "\nVMAC validation suite running...\n";
1388 cout << "\nAES/CCM validation suite running...\n";
1394 cout << "\nAES/GCM validation suite running...\n";
1395 cout << "\n2K tables:";
1397 cout << "\n64K tables:";
1403 cout << "\nCMAC validation suite running...\n";