OpenCoverage

m_wp.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_wp.c
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3-
4-
5-
6-
7-
8-
9static int-
10init(EVP_MD_CTX *ctx)-
11{-
12 return
never executed: return WHIRLPOOL_Init(ctx->md_data);
WHIRLPOOL_Init(ctx->md_data);
never executed: return WHIRLPOOL_Init(ctx->md_data);
0
13}-
14-
15static int-
16update(EVP_MD_CTX *ctx, const void *data, size_t count)-
17{-
18 return
never executed: return WHIRLPOOL_Update(ctx->md_data, data, count);
WHIRLPOOL_Update(ctx->md_data, data, count);
never executed: return WHIRLPOOL_Update(ctx->md_data, data, count);
0
19}-
20-
21static int-
22final(EVP_MD_CTX *ctx, unsigned char *md)-
23{-
24 return
never executed: return WHIRLPOOL_Final(md, ctx->md_data);
WHIRLPOOL_Final(md, ctx->md_data);
never executed: return WHIRLPOOL_Final(md, ctx->md_data);
0
25}-
26-
27static const EVP_MD whirlpool_md = {-
28 .type = 804,-
29 .pkey_type = 0,-
30 .md_size = (512/8),-
31 .flags = 0,-
32 .init = init,-
33 .update = update,-
34 .final = final,-
35 .copy = -
36 ((void *)0)-
37 ,-
38 .cleanup = -
39 ((void *)0)-
40 ,-
41 .sign = -
42 ((void *)0)-
43 ,-
44 .verify = -
45 ((void *)0)-
46 ,-
47 .required_pkey_type = {-
48 0, 0, 0, 0,-
49 },-
50 .block_size = 512 / 8,-
51 .ctx_size = sizeof(EVP_MD *) + sizeof(WHIRLPOOL_CTX),-
52};-
53-
54const EVP_MD *-
55EVP_whirlpool(void)-
56{-
57 return
executed 292 times by 33 tests: return (&whirlpool_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
  • mont
  • pbkdf2
  • pkcs7test
  • rc4test
  • rsa_test
  • ...
(&whirlpool_md);
executed 292 times by 33 tests: return (&whirlpool_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
  • mont
  • pbkdf2
  • pkcs7test
  • rc4test
  • rsa_test
  • ...
292
58}-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.2