| line |
true |
false |
branch |
|
15
|
19 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
19 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
19
|
0 |
19 |
if (!RETVAL) croak("FATAL: Newz failed"); |
|
22
|
0 |
19 |
if (rv != CRYPT_OK) { |
|
43
|
0 |
0 |
if (!RETVAL) croak("FATAL: Newz failed"); |
|
56
|
1 |
23 |
if (self->finalized) croak("FATAL: MAC object already finalized"); |
|
57
|
33 |
23 |
for(i = 1; i < items; i++) { |
|
59
|
29 |
4 |
if (in_data_len > 0) { |
|
61
|
0 |
29 |
if (rv != CRYPT_OK) croak("FATAL: poly1305_process failed: %s", error_to_string(rv)); |
|
64
|
0 |
23 |
XPUSHs(ST(0)); /* return self */ |
|
80
|
1 |
19 |
if (self->finalized) croak("FATAL: MAC object already finalized"); |
|
83
|
0 |
19 |
if (rv != CRYPT_OK) croak("FATAL: poly1305_done failed: %s", error_to_string(rv)); |
|
86
|
1 |
18 |
if (ix == 3) { |
|
88
|
0 |
1 |
if (rv != CRYPT_OK) croak("FATAL: base64url_encode failed: %s", error_to_string(rv)); |
|
91
|
1 |
17 |
else if (ix == 2) { |
|
93
|
0 |
1 |
if (rv != CRYPT_OK) croak("FATAL: base64_encode failed: %s", error_to_string(rv)); |
|
96
|
9 |
8 |
else if (ix == 1) { |
|
98
|
0 |
9 |
if (rv != CRYPT_OK) croak("FATAL: base16_encode failed: %s", error_to_string(rv)); |
|
119
|
28 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
28 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
|
0 |
0 |
if (!SvPOK_spec(key)) croak("FATAL: key must be string/buffer scalar"); |
|
128
|
0 |
28 |
if (rv != CRYPT_OK) croak("FATAL: poly1305_init failed: %s", error_to_string(rv)); |
|
129
|
36 |
28 |
for (i = 1; i < items; i++) { |
|
131
|
28 |
8 |
if (inlen > 0) { |
|
133
|
0 |
28 |
if (rv != CRYPT_OK) croak("FATAL: poly1305_process failed: %s", error_to_string(rv)); |
|
137
|
0 |
28 |
if (rv != CRYPT_OK) croak("FATAL: poly1305_done failed: %s", error_to_string(rv)); |
|
140
|
7 |
21 |
if (ix == 3) { |
|
142
|
0 |
7 |
if (rv != CRYPT_OK) croak("FATAL: base64url_encode failed: %s", error_to_string(rv)); |
|
145
|
7 |
14 |
else if (ix == 2) { |
|
147
|
0 |
7 |
if (rv != CRYPT_OK) croak("FATAL: base64_encode failed: %s", error_to_string(rv)); |
|
150
|
7 |
7 |
else if (ix == 1) { |
|
152
|
0 |
7 |
if (rv != CRYPT_OK) croak("FATAL: base16_encode failed: %s", error_to_string(rv)); |