/external/srtp/test/ |
roc_driver.c | 61 roc_test(int num_trials); 85 roc_test(int num_trials) { 111 failure_rate = (double) num_bad_est / num_trials; 114 num_bad_est, num_trials); 126 for (i=0; i < num_trials; i++) { 156 failure_rate = (double) num_bad_est / num_trials; 159 num_bad_est, num_trials);
|
rdbx_driver.c | 58 test_replay_dbx(int num_trials, unsigned long ws); 61 rdbx_check_adds_per_second(int num_trials, unsigned long ws); 212 test_replay_dbx(int num_trials, unsigned long ws) { 229 for (idx=0; idx < (uint32_t)num_trials; idx++) { 243 num_fp_trials = num_trials % 0x10000; 272 for (idx=0; idx < (uint32_t)num_trials; idx++) { 313 rdbx_check_adds_per_second(int num_trials, unsigned long ws) { 328 for(i=0; i < (uint32_t)num_trials; i++) { 344 return (double) CLOCKS_PER_SEC * num_trials / timer;
|
replay_driver.c | 52 * num_trials defines the number of trials that are used in the 56 unsigned num_trials = 1 << 16; variable 142 for (idx=0; idx < num_trials; idx++) { 149 for (idx=0; idx < num_trials; idx++) { 164 for (idx=0; idx < num_trials; idx++) {
|
srtp_driver.c | 99 mips_estimate(int num_trials, int *ignore); 466 int num_trials = 100000; local 497 for (i=0; i < num_trials; i++) { 517 num_trials * CLOCKS_PER_SEC / timer; 527 int num_trials = 1000000; local 548 for (i=0; i < num_trials; i++) { 556 return (double) num_trials * CLOCKS_PER_SEC / timer; 1120 mips_estimate(int num_trials, int *ignore) { 1126 for (i=0; i<num_trials; i++) 1133 return (double) num_trials * CLOCKS_PER_SEC / t [all...] |
/external/srtp/crypto/include/ |
stat.h | 67 stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials);
|
cipher.h | 216 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials);
|
/external/srtp/crypto/test/ |
stat_driver.c | 47 int num_trials = 500; local 85 for(j=0; j < num_trials; j++) { 96 printf("%d failures in %d tests\n", num_fail, num_trials);
|
cipher_driver.c | 85 unsigned octets_in_buffer, int num_trials); 228 int num_trials = 100000; local 234 i, cipher_bits_per_second(c, i, num_trials) / 1e9); 261 int i, j, num_trials = 1000; local 273 for (i=0; i < num_trials; i++) { 421 unsigned octets_in_buffer, int num_trials) { 436 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { 454 return CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer; 462 int num_trials = 10000; local 469 cipher_array_bits_per_second(ca, num_cipher, i, num_trials) / 1e9) [all...] |
/external/srtp/crypto/cipher/ |
cipher.c | 379 cipher_bits_per_second(cipher_t *c, int octets_in_buffer, int num_trials) { 393 for(i=0; i < num_trials; i++, nonce.v32[3] = i) { 406 return (uint64_t)CLOCKS_PER_SEC * num_trials * 8 * octets_in_buffer / timer;
|
/external/srtp/crypto/math/ |
stat.c | 354 stat_test_rand_source_with_repetition(rand_source_func_t source, unsigned num_trials) { 358 for (i=0; i < num_trials; i++) {
|