| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_wp.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | - | |
| 8 | - | |
| 9 | static int | - |
| 10 | init(EVP_MD_CTX *ctx) | - |
| 11 | { | - |
| 12 | return never executed: WHIRLPOOL_Init(ctx->md_data);return WHIRLPOOL_Init(ctx->md_data);never executed: return WHIRLPOOL_Init(ctx->md_data); | 0 |
| 13 | } | - |
| 14 | - | |
| 15 | static int | - |
| 16 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
| 17 | { | - |
| 18 | return never executed: WHIRLPOOL_Update(ctx->md_data, data, count);return WHIRLPOOL_Update(ctx->md_data, data, count);never executed: return WHIRLPOOL_Update(ctx->md_data, data, count); | 0 |
| 19 | } | - |
| 20 | - | |
| 21 | static int | - |
| 22 | final(EVP_MD_CTX *ctx, unsigned char *md) | - |
| 23 | { | - |
| 24 | return never executed: WHIRLPOOL_Final(md, ctx->md_data);return WHIRLPOOL_Final(md, ctx->md_data);never executed: return WHIRLPOOL_Final(md, ctx->md_data); | 0 |
| 25 | } | - |
| 26 | - | |
| 27 | static 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 | - | |
| 54 | const EVP_MD * | - |
| 55 | EVP_whirlpool(void) | - |
| 56 | { | - |
| 57 | return executed 292 times by 33 tests: (&whirlpool_md);return (&whirlpool_md);Executed by:
executed 292 times by 33 tests: return (&whirlpool_md);Executed by:
| 292 |
| 58 | } | - |
| Switch to Source code | Preprocessed file |