Home | History | Annotate | Download | only in testprof

Lines Matching refs:t2

107    ulong64 c1, c2, t1, t2, t3;
115 t2 = (t_read() - t1)>>1;
118 c2 = (t2 > c2) ? t2 : c2;
294 ulong64 t1, t2, c1, c2, a1, a2;
319 t2 = t_read();
320 t2 -= t1;
323 c2 = (t2 > c2 ? c2 : t2);
338 t2 = t_read();
339 t2 -= t1;
342 c2 = (t2 > c2 ? c2 : t2);
366 ulong64 t1, t2, c1, c2, a1, a2;
391 t2 = t_read();
392 t2 -= t1;
395 c2 = (t2 > c2 ? c2 : t2);
410 t2 = t_read();
411 t2 -= t1;
414 c2 = (t2 > c2 ? c2 : t2);
441 ulong64 t1, t2, c1, c2, a1, a2;
466 t2 = t_read();
467 t2 -= t1;
470 c2 = (t2 > c2 ? c2 : t2);
485 t2 = t_read();
486 t2 -= t1;
489 c2 = (t2 > c2 ? c2 : t2);
516 ulong64 t1, t2, c1, c2, a1, a2;
542 t2 = t_read();
543 t2 -= t1;
546 c2 = (t2 > c2 ? c2 : t2);
561 t2 = t_read();
562 t2 -= t1;
565 c2 = (t2 > c2 ? c2 : t2);
593 ulong64 t1, t2, c1, c2;
623 t2 = t_read() - t1;
625 c2 = (t2 > c2) ? c2 : t2;
647 ulong64 t1, t2;
660 t2 = -1;
666 if (t1 < t2) t2 = t1;
668 fprintf(stderr, "%4lu bits: %9llu cycles\n", x*DIGIT_BIT, t2);
678 ulong64 t1, t2;
690 t2 = -1;
696 if (t1 < t2) t2 = t1;
698 fprintf(stderr, "%4lu bits: %9llu cycles\n", x*DIGIT_BIT, t2);
712 ulong64 t1, t2;
731 t2 = -1;
740 if (t1 < t2) t2 = t1;
742 fprintf(stderr, "%20s: %5llu ", prng_descriptor[x].name, t2>>12);
753 if (t1 < t2) t2 = t1;
755 fprintf(stderr, "%5llu\n", t2);
767 ulong64 t1, t2;
781 t2 = 0;
790 t2 += t1;
793 t2 <<= 2;
800 t2 >>= 2;
801 fprintf(stderr, "DSA-(%lu, %lu) make_key took %15llu cycles\n", (unsigned long)groups[x].group*8, (unsigned long)groups[x].modulus*8, t2);
812 ulong64 t1, t2;
818 t2 = 0;
827 t2 += t1;
830 t2 <<= 2;
838 t2 >>= 2;
839 fprintf(stderr, "RSA-%lu make_key took %15llu cycles\n", x, t2);
841 t2 = 0;
853 t2 += t1;
855 t2 <<= 4;
859 t2 >>= 4;
860 fprintf(stderr, "RSA-%lu encrypt_key took %15llu cycles\n", x, t2);
862 t2 = 0;
873 t2 += t1;
875 t2 <<= 11;
879 t2 >>= 11;
880 fprintf(stderr, "RSA-%lu decrypt_key took %15llu cycles\n", x, t2);
882 t2 = 0;
893 t2 += t1;
895 t2 <<= 8;
899 t2 >>= 8;
900 fprintf(stderr, "RSA-%lu sign_hash took %15llu cycles\n", x, t2);
902 t2 = 0;
915 t2 += t1;
917 t2 <<= 11;
921 t2 >>= 11;
922 fprintf(stderr, "RSA-%lu verify_hash took %15llu cycles\n", x, t2);
936 ulong64 t1, t2;
942 t2 = 0;
951 t2 += t1;
957 t2 >>= 2;
958 fprintf(stderr, "Katja-%lu make_key took %15llu cycles\n", x, t2);
960 t2 = 0;
972 t2 += t1;
974 t2 >>= 4;
975 fprintf(stderr, "Katja-%lu encrypt_key took %15llu cycles\n", x, t2);
977 t2 = 0;
988 t2 += t1;
990 t2 >>= 11;
991 fprintf(stderr, "Katja-%lu decrypt_key took %15llu cycles\n", x, t2);
1006 ulong64 t1, t2;
1038 t2 = 0;
1047 t2 += t1;
1050 t2 <<= 8;
1058 t2 >>= 8;
1059 fprintf(stderr, "ECC-%lu make_key took %15llu cycles\n", x*8, t2);
1061 t2 = 0;
1072 t2 += t1;
1074 t2 <<= 8;
1078 t2 >>= 8;
1079 fprintf(stderr, "ECC-%lu encrypt_key took %15llu cycles\n", x*8, t2);
1081 t2 = 0;
1091 t2 += t1;
1093 t2 <<= 8;
1097 t2 >>= 8;
1098 fprintf(stderr, "ECC-%lu decrypt_key took %15llu cycles\n", x*8, t2);
1100 t2 = 0;
1111 t2 += t1;
1113 t2 <<= 8;
1117 t2 >>= 8;
1118 fprintf(stderr, "ECC-%lu sign_hash took %15llu cycles\n", x*8, t2);
1120 t2 = 0;
1133 t2 += t1;
1135 t2 <<= 8;
1139 t2 >>= 8;
1140 fprintf(stderr, "ECC-%lu verify_hash took %15llu cycles\n", x*8, t2);
1153 ulong64 t1, t2;
1177 t2 = -1;
1187 if (t1 < t2) t2 = t1;
1189 fprintf(stderr, "OMAC-%s\t\t%9llu\n", cipher_descriptor[cipher_idx].name, t2/(ulong64)(MAC_SIZE*1024));
1193 t2 = -1;
1203 if (t1 < t2) t2 = t1;
1205 fprintf(stderr, "XCBC-%s\t\t%9llu\n", cipher_descriptor[cipher_idx].name, t2/(ulong64)(MAC_SIZE*1024));
1209 t2 = -1;
1219 if (t1 < t2) t2 = t1;
1221 fprintf(stderr, "F9-%s\t\t\t%9llu\n", cipher_descriptor[cipher_idx].name, t2/(ulong64)(MAC_SIZE*1024));
1225 t2 = -1;
1235 if (t1 < t2) t2 = t1;
1237 fprintf(stderr, "PMAC-AES\t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1241 t2 = -1;
1251 if (t1 < t2) t2 = t1;
1253 fprintf(stderr, "PELICAN \t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1257 t2 = -1;
1267 if (t1 < t2) t2 = t1;
1269 fprintf(stderr, "HMAC-%s\t\t%9llu\n", hash_descriptor[hash_idx].name, t2/(ulong64)(MAC_SIZE*1024));
1285 ulong64 t1, t2;
1305 t2 = -1;
1315 if (t1 < t2) t2 = t1;
1317 fprintf(stderr, "EAX \t\t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1321 t2 = -1;
1331 if (t1 < t2) t2 = t1;
1333 fprintf(stderr, "OCB \t\t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1337 t2 = -1;
1347 if (t1 < t2) t2 = t1;
1349 fprintf(stderr, "CCM (no-precomp) \t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1352 t2 = -1;
1362 if (t1 < t2) t2 = t1;
1364 fprintf(stderr, "CCM (precomp) \t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1369 t2 = -1;
1379 if (t1 < t2) t2 = t1;
1381 fprintf(stderr, "GCM (no-precomp)\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));
1391 t2 = -1;
1418 if (t1 < t2) t2 = t1;
1420 fprintf(stderr, "GCM (precomp)\t\t%9llu\n", t2/(ulong64)(MAC_SIZE*1024));