Branch Coverage

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


line true false branch
115 5139723 5178879 if (with_xor) {
116 331446597 5178800 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
123 328930241 5139721 for (i = 0; i < ARGON2_OWORDS_IN_BLOCK; i++) {
129 82546696 10318513 for (i = 0; i < 8; ++i) {
135 82546824 10318457 for (i = 0; i < 8; ++i) {
141 660376122 10318417 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 10161089 260 for (i = starting_index; i < instance->segment_length;
238 34 10161055 if (curr_offset % instance->lane_length == 1) {
244 10062785 98304 if (data_independent_addressing) {
245 78633 9984152 if (i % ARGON2_ADDRESSES_IN_BLOCK == 0) {
256 4982210 5178879 if ((position.pass == 0) && (position.slice == 0)) {
1245506 3736704 if ((position.pass == 0) && (position.slice == 0)) {
272 0 10161089 if (ARGON2_VERSION_10 == instance->version) {
276 4982210 5178879 if(0 == position.pass) {