| _sha1.c | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 10 | 20 | 50.0 |
| line | true | false | branch |
|---|---|---|---|
| 274 | 0 | 8 | if (index) { |
| 277 | 0 | 0 | if (size < left) return; |
| 284 | 0 | 8 | while (size >= sha1_block_size) { |
| 286 | 0 | 0 | if (IS_ALIGNED_32(msg)) { |
| 299 | 8 | 0 | if (size) { |
| 318 | 12 | 8 | while ((index & 3) != 0) { |
| 324 | 0 | 8 | if (index > 14) { |
| 326 | 0 | 0 | while (index < 16) { |
| 332 | 78 | 8 | while (index < 14) { |
| 339 | 6 | 2 | if (result) be32_copy(result, 0, &ctx->hash, sha1_hash_size); |