_sha512.c | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 9 | 20 | 45.0 |
line | true | false | branch |
---|---|---|---|
158 | 16 | 4 | for (i = 16, k = &rhash_k512[16]; i < 80; i += 16, k += 16) { |
195 | 0 | 4 | if (index) { |
198 | 0 | 0 | if (size < left) return; |
205 | 0 | 4 | while (size >= sha512_block_size) { |
207 | 0 | 0 | if (IS_ALIGNED_64(msg)) { |
220 | 4 | 0 | if (size) { |
243 | 0 | 4 | if (index >= 15) { |
244 | 0 | 0 | if (index == 15) ctx->message[index] = 0; |
248 | 56 | 4 | while (index < 15) { |
254 | 4 | 0 | if (result) be64_copy(result, 0, ctx->hash, ctx->digest_length); |