Branch Coverage

opt/opt.c
Criterion Covered Total %
branch 44 48 91.6


line true false branch
115 5139841 5178875 if (with_xor) {
116 331446323 5178845 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
123 328930298 5139841 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
129 82546792 10318534 for (i = 0; i < 8; ++i) {
135 82546776 10318446 for (i = 0; i < 8; ++i) {
141 660375545 10318413 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
190 260 0 if (instance == NULL) {
195 8 252 (instance->type == Argon2_i) ||
8 0 (instance->type == Argon2_i) ||
196 4 4 (instance->type == Argon2_id && (position.pass == 0) &&
2 2 (instance->type == Argon2_id && (position.pass == 0) &&
199 254 6 if (data_independent_addressing) {
212 124 136 if ((0 == position.pass) && (0 == position.slice)) {
31 93 if ((0 == position.pass) && (0 == position.slice)) {
216 31 0 if (data_independent_addressing) {
225 34 226 if (0 == curr_offset % instance->lane_length) {
235 10161086 260 for (i = starting_index; i < instance->segment_length;
238 34 10161052 if (curr_offset % instance->lane_length == 1) {
244 10062782 98304 if (data_independent_addressing) {
245 78633 9984149 if (i % ARGON2_ADDRESSES_IN_BLOCK == 0) {
256 4982210 5178875 if ((position.pass == 0) && (position.slice == 0)) {
1245506 3736704 if ((position.pass == 0) && (position.slice == 0)) {
272 0 10161085 if (ARGON2_VERSION_10 == instance->version) {
276 4982210 5178875 if(0 == position.pass) {