Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/openssh/src/openbsd-compat/timingsafe_bcmp.c |
Switch to Source code | Preprocessed file |
Line | Source | Count | ||||||
---|---|---|---|---|---|---|---|---|
1 | - | |||||||
2 | - | |||||||
3 | int | - | ||||||
4 | timingsafe_bcmp(const void *b1, const void *b2, size_t n) | - | ||||||
5 | { | - | ||||||
6 | const unsigned char *p1 = b1, *p2 = b2; | - | ||||||
7 | int ret = 0; | - | ||||||
8 | - | |||||||
9 | for (; n > 0
| 1106-20271 | ||||||
10 | ret |= *p1++ ^ *p2++; executed 20271 times by 3 tests: ret |= *p1++ ^ *p2++; Executed by:
| 20271 | ||||||
11 | return executed 1106 times by 3 tests: (ret != 0);return (ret != 0); Executed by:
executed 1106 times by 3 tests: return (ret != 0); Executed by:
| 1106 | ||||||
12 | } | - | ||||||
Switch to Source code | Preprocessed file |