OpenCoverage

m_md4.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_md4.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9-
10-
11static int-
12init(EVP_MD_CTX *ctx)-
13{-
14 return
executed 7 times by 1 test: return MD4_Init(ctx->md_data);
Executed by:
  • md4test
MD4_Init(ctx->md_data);
executed 7 times by 1 test: return MD4_Init(ctx->md_data);
Executed by:
  • md4test
7
15}-
16-
17static int-
18update(EVP_MD_CTX *ctx, const void *data, size_t count)-
19{-
20 return
executed 7 times by 1 test: return MD4_Update(ctx->md_data, data, count);
Executed by:
  • md4test
MD4_Update(ctx->md_data, data, count);
executed 7 times by 1 test: return MD4_Update(ctx->md_data, data, count);
Executed by:
  • md4test
7
21}-
22-
23static int-
24final(EVP_MD_CTX *ctx, unsigned char *md)-
25{-
26 return
executed 7 times by 1 test: return MD4_Final(md, ctx->md_data);
Executed by:
  • md4test
MD4_Final(md, ctx->md_data);
executed 7 times by 1 test: return MD4_Final(md, ctx->md_data);
Executed by:
  • md4test
7
27}-
28-
29static const EVP_MD md4_md = {-
30 .type = 257,-
31 .pkey_type = 396,-
32 .md_size = 16,-
33 .flags = 0,-
34 .init = init,-
35 .update = update,-
36 .final = final,-
37 .copy = -
38 ((void *)0)-
39 ,-
40 .cleanup = -
41 ((void *)0)-
42 ,-
43-
44 .sign = (evp_sign_method *)RSA_sign,-
45 .verify = (evp_verify_method *)RSA_verify,-
46 .required_pkey_type = {-
47 6, 19, 0, 0,-
48 },-
49-
50 .block_size = 64,-
51 .ctx_size = sizeof(EVP_MD *) + sizeof(MD4_CTX),-
52};-
53-
54const EVP_MD *-
55EVP_md4(void)-
56{-
57 return
executed 299 times by 34 tests: return (&md4_md);
Executed by:
  • asn1test
  • base64test
  • bnaddsub
  • bntest
  • cipher_list
  • cipherstest
  • clienttest
  • configtest
  • dhtest
  • dsatest
  • ecdhtest
  • ecdsatest
  • ectest
  • enginetest
  • evptest
  • exptest
  • gost2814789t
  • hkdftest
  • keypairtest
  • libcrypto.so.44.0.1
  • md4test
  • mont
  • pbkdf2
  • pkcs7test
  • rc4test
  • ...
(&md4_md);
executed 299 times by 34 tests: return (&md4_md);
Executed by:
  • asn1test
  • base64test
  • bnaddsub
  • bntest
  • cipher_list
  • cipherstest
  • clienttest
  • configtest
  • dhtest
  • dsatest
  • ecdhtest
  • ecdsatest
  • ectest
  • enginetest
  • evptest
  • exptest
  • gost2814789t
  • hkdftest
  • keypairtest
  • libcrypto.so.44.0.1
  • md4test
  • mont
  • pbkdf2
  • pkcs7test
  • rc4test
  • ...
299
58}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2