| line |
true |
false |
branch |
|
15
|
0 |
15 |
if (id == -1) croak("FATAL: find_cipher failed for '%s'", cipher_name); |
|
17
|
15 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
2 |
13 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
2 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
1 |
1 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
18
|
14 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
13 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
19
|
14 |
0 |
if (!SvPOK_spec(plaintext)) croak("FATAL: plaintext must be string/buffer scalar"); |
|
|
1 |
13 |
if (!SvPOK_spec(plaintext)) croak("FATAL: plaintext must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(plaintext)) croak("FATAL: plaintext must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(plaintext)) croak("FATAL: plaintext must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(plaintext)) croak("FATAL: plaintext must be string/buffer scalar"); |
|
23
|
7 |
7 |
if (SvOK(aad)) { |
|
24
|
7 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
6 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
43
|
2 |
12 |
if (rv != CRYPT_OK) { |
|
63
|
0 |
10 |
if (id == -1) croak("FATAL: find_cipher failed for '%s'", cipher_name); |
|
65
|
10 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
1 |
9 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
66
|
10 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
9 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
|
67
|
10 |
0 |
if (!SvPOK_spec(ciphertext)) croak("FATAL: ciphertext must be string/buffer scalar"); |
|
|
1 |
9 |
if (!SvPOK_spec(ciphertext)) croak("FATAL: ciphertext must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(ciphertext)) croak("FATAL: ciphertext must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(ciphertext)) croak("FATAL: ciphertext must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(ciphertext)) croak("FATAL: ciphertext must be string/buffer scalar"); |
|
71
|
1 |
9 |
if (ct_len < 16) croak("FATAL: ciphertext too short"); |
|
72
|
7 |
2 |
if (SvOK(aad)) { |
|
73
|
7 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
6 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
1 |
0 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
|
0 |
1 |
if (!SvPOK_spec(aad)) croak("FATAL: adata must be string/buffer scalar"); |
|
78
|
9 |
0 |
output = NEWSV(0, pt_len > 0 ? pt_len : 1); |
|
93
|
4 |
5 |
if (rv != CRYPT_OK) { |
|
95
|
0 |
4 |
XPUSHs(sv_2mortal(newSVpvn(NULL, 0))); /* undef */ |
|
97
|
0 |
5 |
XPUSHs(sv_2mortal(output)); |