Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_mdc2.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 2 times by 1 test: MDC2_Init(EVP_MD_CTX_md_data(ctx));return MDC2_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
executed 2 times by 1 test: return MDC2_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
| 2 |
10 | } | - |
11 | - | |
12 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
13 | { | - |
14 | return executed 2 times by 1 test: MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count);return MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
executed 2 times by 1 test: return MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
| 2 |
15 | } | - |
16 | - | |
17 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | - |
18 | { | - |
19 | return executed 2 times by 1 test: MDC2_Final(md, EVP_MD_CTX_md_data(ctx));return MDC2_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
executed 2 times by 1 test: return MDC2_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
| 2 |
20 | } | - |
21 | - | |
22 | static const EVP_MD mdc2_md = { | - |
23 | 95, | - |
24 | 96, | - |
25 | 16, | - |
26 | 0, | - |
27 | init, | - |
28 | update, | - |
29 | final, | - |
30 | - | |
31 | ((void *)0) | - |
32 | , | - |
33 | - | |
34 | ((void *)0) | - |
35 | , | - |
36 | 8, | - |
37 | sizeof(EVP_MD *) + sizeof(MDC2_CTX), | - |
38 | }; | - |
39 | - | |
40 | const EVP_MD *EVP_mdc2(void) | - |
41 | { | - |
42 | return executed 1971 times by 1 test: &mdc2_md;return &mdc2_md; Executed by:
executed 1971 times by 1 test: return &mdc2_md; Executed by:
| 1971 |
43 | } | - |
Switch to Source code | Preprocessed file |