Branch Coverage

inc/CryptX_Stream_Sosemanuk.xs.inc
Criterion Covered Total %
branch 14 32 43.7


line true false branch
13 0 6 if (!SvPOK(key)) croak("FATAL: key must be string/buffer scalar");
14 6 0 k = (unsigned char *)SvPVbyte(key, k_len);
17 0 6 if (!RETVAL) croak("FATAL: Newz failed");
20 0 6 if (rv != CRYPT_OK) {
25 2 4 if (SvOK(nonce)) {
2 0 if (SvOK(nonce)) {
0 2 if (SvOK(nonce)) {
26 0 4 if (!SvPOK(nonce)) croak("FATAL: nonce must be string/buffer scalar");
27 4 0 iv = (unsigned char *)SvPVbyte(nonce, iv_len);
33 0 6 if (rv != CRYPT_OK) {
52 0 0 if (!RETVAL) croak("FATAL: Newz failed");
64 0 0 if (out_len == 0) {
73 0 0 if (rv != CRYPT_OK) {
90 6 0 in_data = (unsigned char *)SvPVbyte(data, in_data_len);
91 0 6 if (in_data_len == 0) {
100 0 6 if (rv != CRYPT_OK) {