Lines Matching defs:iterations
40 printf("usage: %s iterations bufsize [options]\n", argv[0]);
54 cdsaSetupContexts(int iterations,
70 for (int ix=0; ix < iterations; ++ix)
92 cdsaEncrypt(int iterations, Security::CssmClient::Encrypt &encrypt,
105 for (int ix=0; ix < iterations; ++ix)
112 for (int ix=0; ix < iterations; ++ix)
121 cdsaDecrypt(int iterations, Security::CssmClient::Decrypt &decrypt,
134 for (int ix=0; ix < iterations; ++ix)
141 for (int ix=0; ix < iterations; ++ix)
165 int iterations;
173 iterations = atoi(argv[1]);
256 if((iterations & 1) == 0) {
257 printf("***WARNING: an even number of iterations with RC4 results in\n"
277 " iterations: %d bufSize %d\n",
280 iterations, bufSize);
283 printf("Algorithm: %s keySize: %u mode: %s iterations: %d "
286 iterations, bufSize);
300 printf("%d * cdsaSetupContexts", iterations);
304 cdsaSetupContexts(iterations, encrypt, decrypt,
311 printf(" %d * cdsaEncrypt %d bytes", iterations, bufSize);
314 cdsaEncrypt(iterations, *encrypt.get(), buffer.get(), bufSize, buffer.get(),
318 (iterations * bufSize) / (end - start) / 1024.0);
323 printf(" %d * cdsaDecrypt %d bytes", iterations, bufSize);
326 cdsaDecrypt(iterations, *decrypt.get(), buffer.get(), bufSize, buffer.get(),
330 (iterations * bufSize) / (end - start) / 1024.0);