Branch Coverage

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


line true false branch
115 5139867 5178879 if (with_xor) {
116 331447248 5178867 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
123 328928721 5139841 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
129 82546376 10318580 for (i = 0; i < 8; ++i) {
135 82546312 10318460 for (i = 0; i < 8; ++i) {
141 660371853 10318412 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 32 226 if (0 == curr_offset % instance->lane_length) {
235 10161083 260 for (i = starting_index; i < instance->segment_length;
238 34 10161049 if (curr_offset % instance->lane_length == 1) {
244 10062779 98304 if (data_independent_addressing) {
245 78633 9984146 if (i % ARGON2_ADDRESSES_IN_BLOCK == 0) {
256 4982206 5178879 if ((position.pass == 0) && (position.slice == 0)) {
1245506 3736700 if ((position.pass == 0) && (position.slice == 0)) {
272 0 10161085 if (ARGON2_VERSION_10 == instance->version) {
276 4982206 5178879 if(0 == position.pass) {