| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_md4.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | - | |
| 5 | - | |
| 6 | - | |
| 7 | - | |
| 8 | - | |
| 9 | - | |
| 10 | - | |
| 11 | static int | - |
| 12 | init(EVP_MD_CTX *ctx) | - |
| 13 | { | - |
| 14 | return executed 7 times by 1 test: MD4_Init(ctx->md_data);return MD4_Init(ctx->md_data);Executed by:
executed 7 times by 1 test: return MD4_Init(ctx->md_data);Executed by:
| 7 |
| 15 | } | - |
| 16 | - | |
| 17 | static int | - |
| 18 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
| 19 | { | - |
| 20 | return executed 7 times by 1 test: MD4_Update(ctx->md_data, data, count);return MD4_Update(ctx->md_data, data, count);Executed by:
executed 7 times by 1 test: return MD4_Update(ctx->md_data, data, count);Executed by:
| 7 |
| 21 | } | - |
| 22 | - | |
| 23 | static int | - |
| 24 | final(EVP_MD_CTX *ctx, unsigned char *md) | - |
| 25 | { | - |
| 26 | return executed 7 times by 1 test: MD4_Final(md, ctx->md_data);return MD4_Final(md, ctx->md_data);Executed by:
executed 7 times by 1 test: return MD4_Final(md, ctx->md_data);Executed by:
| 7 |
| 27 | } | - |
| 28 | - | |
| 29 | static const EVP_MD md4_md = { | - |
| 30 | .type = 257, | - |
| 31 | .pkey_type = 396, | - |
| 32 | .md_size = 16, | - |
| 33 | .flags = 0, | - |
| 34 | .init = init, | - |
| 35 | .update = update, | - |
| 36 | .final = final, | - |
| 37 | .copy = | - |
| 38 | ((void *)0) | - |
| 39 | , | - |
| 40 | .cleanup = | - |
| 41 | ((void *)0) | - |
| 42 | , | - |
| 43 | - | |
| 44 | .sign = (evp_sign_method *)RSA_sign, | - |
| 45 | .verify = (evp_verify_method *)RSA_verify, | - |
| 46 | .required_pkey_type = { | - |
| 47 | 6, 19, 0, 0, | - |
| 48 | }, | - |
| 49 | - | |
| 50 | .block_size = 64, | - |
| 51 | .ctx_size = sizeof(EVP_MD *) + sizeof(MD4_CTX), | - |
| 52 | }; | - |
| 53 | - | |
| 54 | const EVP_MD * | - |
| 55 | EVP_md4(void) | - |
| 56 | { | - |
| 57 | return executed 299 times by 34 tests: (&md4_md);return (&md4_md);Executed by:
executed 299 times by 34 tests: return (&md4_md);Executed by:
| 299 |
| 58 | } | - |
| Switch to Source code | Preprocessed file |