OpenCoverage

m_mdc2.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_mdc2.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static int init(EVP_MD_CTX *ctx)-
8{-
9 return
executed 2 times by 1 test: return MDC2_Init(EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
MDC2_Init(EVP_MD_CTX_md_data(ctx));
executed 2 times by 1 test: return MDC2_Init(EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
2
10}-
11-
12static int update(EVP_MD_CTX *ctx, const void *data, size_t count)-
13{-
14 return
executed 2 times by 1 test: return MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count);
Executed by:
  • libcrypto.so.1.1
MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count);
executed 2 times by 1 test: return MDC2_Update(EVP_MD_CTX_md_data(ctx), data, count);
Executed by:
  • libcrypto.so.1.1
2
15}-
16-
17static int final(EVP_MD_CTX *ctx, unsigned char *md)-
18{-
19 return
executed 2 times by 1 test: return MDC2_Final(md, EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
MDC2_Final(md, EVP_MD_CTX_md_data(ctx));
executed 2 times by 1 test: return MDC2_Final(md, EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
2
20}-
21-
22static 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-
40const EVP_MD *EVP_mdc2(void)-
41{-
42 return
executed 1971 times by 1 test: return &mdc2_md;
Executed by:
  • libcrypto.so.1.1
&mdc2_md;
executed 1971 times by 1 test: return &mdc2_md;
Executed by:
  • libcrypto.so.1.1
1971
43}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2