OpenCoverage

m_ripemd.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/evp/m_ripemd.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7static int init(EVP_MD_CTX *ctx)-
8{-
9 return
executed 8 times by 1 test: return RIPEMD160_Init(EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
RIPEMD160_Init(EVP_MD_CTX_md_data(ctx));
executed 8 times by 1 test: return RIPEMD160_Init(EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
8
10}-
11-
12static int update(EVP_MD_CTX *ctx, const void *data, size_t count)-
13{-
14 return
executed 8 times by 1 test: return RIPEMD160_Update(EVP_MD_CTX_md_data(ctx), data, count);
Executed by:
  • libcrypto.so.1.1
RIPEMD160_Update(EVP_MD_CTX_md_data(ctx), data, count);
executed 8 times by 1 test: return RIPEMD160_Update(EVP_MD_CTX_md_data(ctx), data, count);
Executed by:
  • libcrypto.so.1.1
8
15}-
16-
17static int final(EVP_MD_CTX *ctx, unsigned char *md)-
18{-
19 return
executed 8 times by 1 test: return RIPEMD160_Final(md, EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
RIPEMD160_Final(md, EVP_MD_CTX_md_data(ctx));
executed 8 times by 1 test: return RIPEMD160_Final(md, EVP_MD_CTX_md_data(ctx));
Executed by:
  • libcrypto.so.1.1
8
20}-
21-
22static const EVP_MD ripemd160_md = {-
23 117,-
24 119,-
25 20,-
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(RIPEMD160_CTX),-
38};-
39-
40const EVP_MD *EVP_ripemd160(void)-
41{-
42 return
executed 1969 times by 1 test: return &ripemd160_md;
Executed by:
  • libcrypto.so.1.1
&ripemd160_md;
executed 1969 times by 1 test: return &ripemd160_md;
Executed by:
  • libcrypto.so.1.1
1969
43}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2