| Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/evp/m_null.c |
| Switch to Source code | Preprocessed file |
| Line | Source | Count |
|---|---|---|
| 1 | - | |
| 2 | - | |
| 3 | - | |
| 4 | static int | - |
| 5 | init(EVP_MD_CTX *ctx) | - |
| 6 | { | - |
| 7 | return never executed: 1;return 1;never executed: return 1; | 0 |
| 8 | } | - |
| 9 | - | |
| 10 | static int | - |
| 11 | update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
| 12 | { | - |
| 13 | return never executed: 1;return 1;never executed: return 1; | 0 |
| 14 | } | - |
| 15 | - | |
| 16 | static int | - |
| 17 | final(EVP_MD_CTX *ctx, unsigned char *md) | - |
| 18 | { | - |
| 19 | return never executed: 1;return 1;never executed: return 1; | 0 |
| 20 | } | - |
| 21 | - | |
| 22 | static const EVP_MD null_md = { | - |
| 23 | .type = 0, | - |
| 24 | .pkey_type = 0, | - |
| 25 | .md_size = 0, | - |
| 26 | .flags = 0, | - |
| 27 | .init = init, | - |
| 28 | .update = update, | - |
| 29 | .final = final, | - |
| 30 | .copy = | - |
| 31 | ((void *)0) | - |
| 32 | , | - |
| 33 | .cleanup = | - |
| 34 | ((void *)0) | - |
| 35 | , | - |
| 36 | .sign = | - |
| 37 | ((void *)0) | - |
| 38 | , | - |
| 39 | .verify = | - |
| 40 | ((void *)0) | - |
| 41 | , | - |
| 42 | .required_pkey_type = { | - |
| 43 | 0, 0, 0, 0, | - |
| 44 | }, | - |
| 45 | .block_size = 0, | - |
| 46 | .ctx_size = sizeof(EVP_MD *), | - |
| 47 | }; | - |
| 48 | - | |
| 49 | const EVP_MD * | - |
| 50 | EVP_md_null(void) | - |
| 51 | { | - |
| 52 | return never executed: (&null_md);return (&null_md);never executed: return (&null_md); | 0 |
| 53 | } | - |
| Switch to Source code | Preprocessed file |