_sha256.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 20 | 45.0 |
line | true | false | branch |
---|---|---|---|
140 | 12 | 4 | for (i = 16, k = &rhash_k256[16]; i < 64; i += 16, k += 16) { |
177 | 0 | 4 | if (index) { |
180 | 0 | 0 | if (size < left) return; |
187 | 0 | 4 | while (size >= sha256_block_size) { |
189 | 0 | 0 | if (IS_ALIGNED_32(msg)) { |
202 | 4 | 0 | if (size) { |
225 | 0 | 4 | if (index > 14) { |
227 | 0 | 0 | while (index < 16) { |
233 | 52 | 4 | while (index < 14) { |
240 | 4 | 0 | if (result) be32_copy(result, 0, ctx->hash, ctx->digest_length); |