Lines Matching refs:lengths
141 static const int *lengths = lengths_list; variable
653 || !EVP_DigestUpdate(ctx, buf, (size_t)lengths[testnum]) in EVP_Digest_loop()
661 if (!EVP_Digest(buf, (size_t)lengths[testnum], digest, NULL, md, in EVP_Digest_loop()
746 || !EVP_MAC_update(mctx, buf, lengths[testnum]) in EVP_MAC_loop()
809 if (EVP_Cipher(tempargs->ctx, buf, buf, (size_t)lengths[testnum]) <= 0) in EVP_Cipher_loop()
823 if (!EVP_MAC_update(mctx, buf, lengths[testnum])) in GHASH_loop()
876 RAND_bytes(buf, lengths[testnum]); in RAND_bytes_loop()
890 rc = EVP_DecryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop()
898 rc = EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum]); in EVP_Update_loop()
960 NULL, lengths[testnum])) { in EVP_Update_loop_aead_enc()
973 if (!EVP_EncryptUpdate(ctx, buf, &outl, buf, lengths[testnum])) { in EVP_Update_loop_aead_enc()
1049 NULL, lengths[testnum])) { in EVP_Update_loop_aead_dec()
1062 if (!EVP_DecryptUpdate(ctx, outbuf, &outl, buf, lengths[testnum])) { in EVP_Update_loop_aead_dec()
2177 lengths = &lengths_single; in speed_main()
2502 buflen = lengths[size_num - 1]; in speed_main()
2621 print_message(names[D_MD2], lengths[testnum], seconds.sym); in speed_main()
2633 print_message(names[D_MDC2], lengths[testnum], seconds.sym); in speed_main()
2645 print_message(names[D_MD4], lengths[testnum], seconds.sym); in speed_main()
2657 print_message(names[D_MD5], lengths[testnum], seconds.sym); in speed_main()
2669 print_message(names[D_SHA1], lengths[testnum], seconds.sym); in speed_main()
2681 print_message(names[D_SHA256], lengths[testnum], seconds.sym); in speed_main()
2693 print_message(names[D_SHA512], lengths[testnum], seconds.sym); in speed_main()
2705 print_message(names[D_WHIRLPOOL], lengths[testnum], seconds.sym); in speed_main()
2717 print_message(names[D_RMD160], lengths[testnum], seconds.sym); in speed_main()
2750 print_message(names[D_HMAC], lengths[testnum], seconds.sym); in speed_main()
2771 if (!check_block_size(loopargs[0].ctx, lengths[testnum])) in speed_main()
2773 print_message(names[D_CBC_DES], lengths[testnum], seconds.sym); in speed_main()
2793 if (!check_block_size(loopargs[0].ctx, lengths[testnum])) in speed_main()
2795 print_message(names[D_EDE3_DES], lengths[testnum], seconds.sym); in speed_main()
2819 if (!check_block_size(loopargs[0].ctx, lengths[testnum])) in speed_main()
2821 print_message(names[algindex], lengths[testnum], seconds.sym); in speed_main()
2846 if (!check_block_size(loopargs[0].ctx, lengths[testnum])) in speed_main()
2848 print_message(names[algindex], lengths[testnum], seconds.sym); in speed_main()
2872 if (!check_block_size(loopargs[0].ctx, lengths[testnum])) in speed_main()
2874 print_message(names[algindex], lengths[testnum], seconds.sym); in speed_main()
2906 print_message(names[D_GHASH], lengths[testnum], seconds.sym); in speed_main()
2919 print_message(names[D_RAND], lengths[testnum], seconds.sym); in speed_main()
2951 if (lengths == lengths_list) { in speed_main()
2952 lengths = aead_lengths_list; in speed_main()
2971 print_message(names[D_EVP], lengths[testnum], seconds.sym); in speed_main()
3046 lengths[testnum])) { in speed_main()
3064 lengths[testnum])) { in speed_main()
3124 print_message(names[D_EVP], lengths[testnum], seconds.sym); in speed_main()
3162 print_message(names[D_EVP_CMAC], lengths[testnum], seconds.sym); in speed_main()
3183 print_message(names[D_KMAC128], lengths[testnum], seconds.sym); in speed_main()
3204 print_message(names[D_KMAC256], lengths[testnum], seconds.sym); in speed_main()
4438 printf(mr ? ":%d" : "%7d bytes", lengths[testnum]); in speed_main()
4795 results[alg][run_no] = ((double)count) / time_used * lengths[run_no]; in print_result()