Branch Coverage

inc/CryptX_Digest_KangarooTwelve.xs.inc
Criterion Covered Total %
branch 24 36 66.6


line true false branch
14 0 15 if (!RETVAL) croak("FATAL: Newz failed");
19 0 15 if (rv != CRYPT_OK) {
38 0 1 if (rv != CRYPT_OK) croak("FATAL: kangaroo_twelve_init failed: %s", error_to_string(rv));
40 0 1 XPUSHs(ST(0)); /* return self */
47 0 1 if (!RETVAL) croak("FATAL: Newz failed");
60 1 6 if (self->squeezing) croak("FATAL: cannot add after done; call reset first");
62 6 6 for(i=1; i
64 6 0 if (inlen>0) {
66 0 6 if (rv != CRYPT_OK) croak("FATAL: kangaroo_twelve_process failed: %s", error_to_string(rv));
69 0 6 XPUSHs(ST(0)); /* return self */
80 1 4 if (self->squeezing) croak("FATAL: cannot add after done; call reset first");
82 4 4 for(i=1; i
84 4 0 if (inlen>0) {
86 0 4 if (rv != CRYPT_OK) croak("FATAL: kangaroo_twelve_customization failed: %s", error_to_string(rv));
89 0 4 XPUSHs(ST(0)); /* return self */
99 1 17 if (out_len == 0) croak("FATAL: invalid output length");
100 2 15 if (out_len > CRYPTX_DIGEST_KANGAROOTWELVE_MAX_OUTPUT_LEN) croak("FATAL: output length too large");
106 0 15 if (rv != CRYPT_OK) {