Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_md5.c |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | - | |
7 | static int init(EVP_MD_CTX *ctx) | - |
8 | { | - |
9 | return executed 12231 times by 1 test: MD5_Init(EVP_MD_CTX_md_data(ctx));return MD5_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
executed 12231 times by 1 test: return MD5_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
| 12231 |
10 | } | - |
11 | - | |
12 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
13 | { | - |
14 | return executed 78497 times by 1 test: MD5_Update(EVP_MD_CTX_md_data(ctx), data, count);return MD5_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
executed 78497 times by 1 test: return MD5_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
| 78497 |
15 | } | - |
16 | - | |
17 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | - |
18 | { | - |
19 | return executed 55051 times by 1 test: MD5_Final(md, EVP_MD_CTX_md_data(ctx));return MD5_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
executed 55051 times by 1 test: return MD5_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
| 55051 |
20 | } | - |
21 | - | |
22 | static const EVP_MD md5_md = { | - |
23 | 4, | - |
24 | 8, | - |
25 | 16, | - |
26 | 0, | - |
27 | init, | - |
28 | update, | - |
29 | final, | - |
30 | - | |
31 | ((void *)0) | - |
32 | , | - |
33 | - | |
34 | ((void *)0) | - |
35 | , | - |
36 | 64, | - |
37 | sizeof(EVP_MD *) + sizeof(MD5_CTX), | - |
38 | }; | - |
39 | - | |
40 | const EVP_MD *EVP_md5(void) | - |
41 | { | - |
42 | return executed 12538 times by 1 test: &md5_md;return &md5_md; Executed by:
executed 12538 times by 1 test: return &md5_md; Executed by:
| 12538 |
43 | } | - |
Switch to Source code | Preprocessed file |