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