Branch Coverage

inc/CryptX_Digest_TurboSHAKE.xs.inc
Criterion Covered Total %
branch 17 26 65.3


line true false branch
14 0 13 if (!RETVAL) croak("FATAL: Newz failed");
19 0 13 if (rv != CRYPT_OK) {
38 0 2 if (rv != CRYPT_OK) croak("FATAL: turbo_shake_init failed: %s", error_to_string(rv));
40 0 2 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: turbo_shake_process failed: %s", error_to_string(rv));
69 0 6 XPUSHs(ST(0)); /* return self */
79 1 15 if (out_len == 0) croak("FATAL: invalid output length");
80 2 13 if (out_len > CRYPTX_DIGEST_TURBOSHAKE_MAX_OUTPUT_LEN) croak("FATAL: output length too large");
86 0 13 if (rv != CRYPT_OK) {