Branch Coverage

inc/CryptX_Stream_Sober128.xs.inc
Criterion Covered Total %
branch 10 26 38.4


line true false branch
13 0 2 if (!SvPOK(key)) croak("FATAL: key must be string/buffer scalar");
14 0 2 if (!SvPOK(nonce)) croak("FATAL: nonce must be string/buffer scalar");
15 2 0 k = (unsigned char *) SvPVbyte(key, k_len);
16 2 0 iv = (unsigned char *) SvPVbyte(nonce, iv_len);
19 0 2 if (!RETVAL) croak("FATAL: Newz failed");
22 0 2 if (rv != CRYPT_OK) {
28 0 2 if (rv != CRYPT_OK) {
46 0 0 if (!RETVAL) croak("FATAL: Newz failed");
58 0 0 if (out_len == 0) {
67 0 0 if (rv != CRYPT_OK) {
84 2 0 in_data = (unsigned char *)SvPVbyte(data, in_data_len);
85 0 2 if (in_data_len == 0) {
94 0 2 if (rv != CRYPT_OK) {