Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/blake2/m_blake2s.c |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | - | |
4 | - | |
5 | - | |
6 | static int init(EVP_MD_CTX *ctx) | - |
7 | { | - |
8 | return executed 9 times by 1 test: BLAKE2s_Init(EVP_MD_CTX_md_data(ctx));return BLAKE2s_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
executed 9 times by 1 test: return BLAKE2s_Init(EVP_MD_CTX_md_data(ctx)); Executed by:
| 9 |
9 | } | - |
10 | - | |
11 | static int update(EVP_MD_CTX *ctx, const void *data, size_t count) | - |
12 | { | - |
13 | return executed 9 times by 1 test: BLAKE2s_Update(EVP_MD_CTX_md_data(ctx), data, count);return BLAKE2s_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
executed 9 times by 1 test: return BLAKE2s_Update(EVP_MD_CTX_md_data(ctx), data, count); Executed by:
| 9 |
14 | } | - |
15 | - | |
16 | static int final(EVP_MD_CTX *ctx, unsigned char *md) | - |
17 | { | - |
18 | return executed 9 times by 1 test: BLAKE2s_Final(md, EVP_MD_CTX_md_data(ctx));return BLAKE2s_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
executed 9 times by 1 test: return BLAKE2s_Final(md, EVP_MD_CTX_md_data(ctx)); Executed by:
| 9 |
19 | } | - |
20 | - | |
21 | static const EVP_MD blake2s_md = { | - |
22 | 1057, | - |
23 | 0, | - |
24 | 32, | - |
25 | 0, | - |
26 | init, | - |
27 | update, | - |
28 | final, | - |
29 | - | |
30 | ((void *)0) | - |
31 | , | - |
32 | - | |
33 | ((void *)0) | - |
34 | , | - |
35 | 64, | - |
36 | sizeof(EVP_MD *) + sizeof(BLAKE2S_CTX), | - |
37 | }; | - |
38 | - | |
39 | const EVP_MD *EVP_blake2s256(void) | - |
40 | { | - |
41 | return executed 1969 times by 1 test: &blake2s_md;return &blake2s_md; Executed by:
executed 1969 times by 1 test: return &blake2s_md; Executed by:
| 1969 |
42 | } | - |
Switch to Source code | Preprocessed file |