• Home
  • Raw
  • Download

Lines Matching refs:lengths

203 static const int *lengths = lengths_list;  variable
648 if (!EVP_Digest(buf, (size_t)lengths[testnum], md2, NULL, EVP_md2(), in EVP_Digest_MD2_loop()
665 if (!EVP_Digest(buf, (size_t)lengths[testnum], mdc2, NULL, EVP_mdc2(), in EVP_Digest_MDC2_loop()
682 if (!EVP_Digest(buf, (size_t)lengths[testnum], md4, NULL, EVP_md4(), in EVP_Digest_MD4_loop()
698 MD5(buf, lengths[testnum], md5); in MD5_loop()
712 HMAC_Update(hctx, buf, lengths[testnum]); in HMAC_loop()
726 SHA1(buf, lengths[testnum], sha); in SHA1_loop()
737 SHA256(buf, lengths[testnum], sha256); in SHA256_loop()
748 SHA512(buf, lengths[testnum], sha512); in SHA512_loop()
760 WHIRLPOOL(buf, lengths[testnum], whirlpool); in WHIRLPOOL_loop()
773 if (!EVP_Digest(buf, (size_t)lengths[testnum], &(rmd160[0]), in EVP_Digest_RMD160_loop()
789 RC4(&rc4_ks, (size_t)lengths[testnum], buf, buf); in RC4_loop()
805 DES_ncbc_encrypt(buf, buf, lengths[testnum], &sch, in DES_ncbc_encrypt_loop()
816 DES_ede3_cbc_encrypt(buf, buf, lengths[testnum], in DES_ede3_cbc_encrypt_loop()
833 (size_t)lengths[testnum], &aes_ks1, iv, AES_ENCRYPT); in AES_cbc_128_encrypt_loop()
844 (size_t)lengths[testnum], &aes_ks2, iv, AES_ENCRYPT); in AES_cbc_192_encrypt_loop()
855 (size_t)lengths[testnum], &aes_ks3, iv, AES_ENCRYPT); in AES_cbc_256_encrypt_loop()
867 (size_t)lengths[testnum], &aes_ks1, iv, AES_ENCRYPT); in AES_ige_128_encrypt_loop()
879 (size_t)lengths[testnum], &aes_ks2, iv, AES_ENCRYPT); in AES_ige_192_encrypt_loop()
891 (size_t)lengths[testnum], &aes_ks3, iv, AES_ENCRYPT); in AES_ige_256_encrypt_loop()
902 CRYPTO_gcm128_aad(gcm_ctx, buf, lengths[testnum]); in CRYPTO_gcm128_aad_loop()
913 RAND_bytes(buf, lengths[testnum]); in RAND_bytes_loop()
926 int nb_iter = save_count * 4 * lengths[0] / lengths[testnum]; in EVP_Update_loop()
930 rc = EVP_DecryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop()
938 rc = EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop()
965 int nb_iter = save_count * 4 * lengths[0] / lengths[testnum]; in EVP_Update_loop_ccm()
973 EVP_DecryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_ccm()
978 EVP_EncryptUpdate(ctx, NULL, &outl, NULL, lengths[testnum]); in EVP_Update_loop_ccm()
980 EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_ccm()
1004 int nb_iter = save_count * 4 * lengths[0] / lengths[testnum]; in EVP_Update_loop_aead()
1012 EVP_DecryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_aead()
1019 EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop_aead()
1034 int nb_iter = save_count * 4 * lengths[0] / lengths[testnum]; in EVP_Digest_loop()
1038 if (!EVP_Digest(buf, lengths[testnum], md, NULL, evp_md, NULL)) in EVP_Digest_loop()
1649 lengths = &lengths_single; in speed_main()
1794 buflen = lengths[size_num - 1]; in speed_main()
1960 l0 = (long)lengths[0]; in speed_main()
1961 l1 = (long)lengths[i]; in speed_main()
1976 l0 = (long)lengths[i - 1]; in speed_main()
2155 print_message(names[D_MD2], c[D_MD2][testnum], lengths[testnum], in speed_main()
2167 print_message(names[D_MDC2], c[D_MDC2][testnum], lengths[testnum], in speed_main()
2180 print_message(names[D_MD4], c[D_MD4][testnum], lengths[testnum], in speed_main()
2193 print_message(names[D_MD5], c[D_MD5][testnum], lengths[testnum], in speed_main()
2216 print_message(names[D_HMAC], c[D_HMAC][testnum], lengths[testnum], in speed_main()
2230 print_message(names[D_SHA1], c[D_SHA1][testnum], lengths[testnum], in speed_main()
2241 lengths[testnum], seconds.sym); in speed_main()
2251 lengths[testnum], seconds.sym); in speed_main()
2262 lengths[testnum], seconds.sym); in speed_main()
2275 lengths[testnum], seconds.sym); in speed_main()
2286 print_message(names[D_RC4], c[D_RC4][testnum], lengths[testnum], in speed_main()
2299 lengths[testnum], seconds.sym); in speed_main()
2310 lengths[testnum], seconds.sym); in speed_main()
2323 lengths[testnum], seconds.sym); in speed_main()
2334 lengths[testnum], seconds.sym); in speed_main()
2345 lengths[testnum], seconds.sym); in speed_main()
2357 lengths[testnum], seconds.sym); in speed_main()
2368 lengths[testnum], seconds.sym); in speed_main()
2379 lengths[testnum], seconds.sym); in speed_main()
2397 lengths[testnum], seconds.sym); in speed_main()
2415 lengths[testnum], seconds.sym); in speed_main()
2419 (size_t)lengths[testnum], &camellia_ks1, in speed_main()
2433 lengths[testnum], seconds.sym); in speed_main()
2441 (size_t)lengths[testnum], &camellia_ks2, in speed_main()
2455 lengths[testnum], seconds.sym); in speed_main()
2459 (size_t)lengths[testnum], &camellia_ks3, in speed_main()
2475 lengths[testnum], seconds.sym); in speed_main()
2479 (size_t)lengths[testnum], &idea_ks, in speed_main()
2495 lengths[testnum], seconds.sym); in speed_main()
2499 (size_t)lengths[testnum], &seed_ks, iv, 1); in speed_main()
2514 lengths[testnum], seconds.sym); in speed_main()
2522 (size_t)lengths[testnum], &rc2_ks, in speed_main()
2538 lengths[testnum], seconds.sym); in speed_main()
2546 (size_t)lengths[testnum], &rc5_ks, in speed_main()
2562 lengths[testnum], seconds.sym); in speed_main()
2566 (size_t)lengths[testnum], &bf_ks, in speed_main()
2582 lengths[testnum], seconds.sym); in speed_main()
2586 (size_t)lengths[testnum], &cast_ks, in speed_main()
2595 print_message(names[D_RAND], c[D_RAND][testnum], lengths[testnum], in speed_main()
2622 if (lengths == lengths_list) { in speed_main()
2623 lengths = aead_lengths_list; in speed_main()
2629 print_message(names[D_EVP], save_count, lengths[testnum], in speed_main()
2671 print_message(names[D_EVP], save_count, lengths[testnum], in speed_main()
3236 printf(mr ? ":%d" : "%7d bytes", lengths[testnum]); in speed_main()
3437 results[alg][run_no] = ((double)count) / time_used * lengths[run_no]; in print_result()