Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssl/src/crypto/ec/curve448/word.h |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | typedef uint32_t word_t, mask_t; | - | ||||||
4 | typedef uint64_t dword_t; | - | ||||||
5 | typedef int16_t hsword_t; | - | ||||||
6 | typedef int32_t sword_t; | - | ||||||
7 | typedef int64_t dsword_t; | - | ||||||
8 | static inline c448_bool_t mask_to_bool(mask_t m) | - | ||||||
9 | { | - | ||||||
10 | return executed 1041 times by 2 tests: (c448_sword_t)(sword_t)m;return (c448_sword_t)(sword_t)m; Executed by:
executed 1041 times by 2 tests: return (c448_sword_t)(sword_t)m; Executed by:
| 1041 | ||||||
11 | } | - | ||||||
12 | - | |||||||
13 | static inline mask_t bool_to_mask(c448_bool_t m) | - | ||||||
14 | { | - | ||||||
15 | - | |||||||
16 | mask_t ret = 0; | - | ||||||
17 | unsigned int i; | - | ||||||
18 | unsigned int limit = sizeof(c448_bool_t) / sizeof(mask_t); | - | ||||||
19 | - | |||||||
20 | if (limit < 1
| 0 | ||||||
21 | limit = 1; never executed: limit = 1; | 0 | ||||||
22 | for (i = 0; i < limit
| 0 | ||||||
23 | ret |= ~constant_time_is_zero_32(m >> (i * 8 * sizeof(word_t))); never executed: ret |= ~constant_time_is_zero_32(m >> (i * 8 * sizeof(word_t))); | 0 | ||||||
24 | - | |||||||
25 | return never executed: ret;return ret; never executed: return ret; | 0 | ||||||
26 | } | - | ||||||
Switch to Source code | Preprocessed file |