line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
MODULE = CryptX PACKAGE = Crypt::AuthEnc::OCB |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
PROTOTYPES: DISABLE |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
Crypt::AuthEnc::OCB |
6
|
|
|
|
|
|
|
new(Class, char * cipher_name, SV * key, SV * nonce, unsigned long taglen) |
7
|
|
|
|
|
|
|
CODE: |
8
|
|
|
|
|
|
|
{ |
9
|
36
|
|
|
|
|
|
STRLEN k_len=0; |
10
|
36
|
|
|
|
|
|
unsigned char *k=NULL; |
11
|
36
|
|
|
|
|
|
unsigned char *n=NULL; |
12
|
36
|
|
|
|
|
|
STRLEN n_len=0; |
13
|
|
|
|
|
|
|
int rv, id; |
14
|
|
|
|
|
|
|
|
15
|
36
|
50
|
|
|
|
|
if (!SvPOK(key)) croak("FATAL: key must be string/buffer scalar"); |
16
|
36
|
50
|
|
|
|
|
k = (unsigned char *) SvPVbyte(key, k_len); |
17
|
36
|
50
|
|
|
|
|
if (!SvPOK(nonce)) croak("FATAL: nonce must be string/buffer scalar"); |
18
|
36
|
50
|
|
|
|
|
n = (unsigned char *) SvPVbyte(nonce, n_len); |
19
|
|
|
|
|
|
|
|
20
|
36
|
|
|
|
|
|
id = cryptx_internal_find_cipher(cipher_name); |
21
|
36
|
50
|
|
|
|
|
if (id == -1) croak("FATAL: find_cipfer failed for '%s'", cipher_name); |
22
|
|
|
|
|
|
|
|
23
|
36
|
|
|
|
|
|
Newz(0, RETVAL, 1, ocb3_state); |
24
|
36
|
50
|
|
|
|
|
if (!RETVAL) croak("FATAL: Newz failed"); |
25
|
|
|
|
|
|
|
|
26
|
36
|
|
|
|
|
|
rv = ocb3_init(RETVAL, id, k, (unsigned long)k_len, n, (unsigned long)n_len, taglen); |
27
|
36
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
28
|
0
|
|
|
|
|
|
Safefree(RETVAL); |
29
|
0
|
|
|
|
|
|
croak("FATAL: ocb setup failed: %s", error_to_string(rv)); |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
} |
32
|
|
|
|
|
|
|
OUTPUT: |
33
|
|
|
|
|
|
|
RETVAL |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
void |
36
|
|
|
|
|
|
|
DESTROY(Crypt::AuthEnc::OCB self) |
37
|
|
|
|
|
|
|
CODE: |
38
|
36
|
|
|
|
|
|
Safefree(self); |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Crypt::AuthEnc::OCB |
41
|
|
|
|
|
|
|
clone(Crypt::AuthEnc::OCB self) |
42
|
|
|
|
|
|
|
CODE: |
43
|
0
|
|
|
|
|
|
Newz(0, RETVAL, 1, ocb3_state); |
44
|
0
|
0
|
|
|
|
|
if (!RETVAL) croak("FATAL: Newz failed"); |
45
|
0
|
|
|
|
|
|
Copy(self, RETVAL, 1, ocb3_state); |
46
|
|
|
|
|
|
|
OUTPUT: |
47
|
|
|
|
|
|
|
RETVAL |
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
void |
50
|
|
|
|
|
|
|
adata_add(Crypt::AuthEnc::OCB self, SV * data) |
51
|
|
|
|
|
|
|
PPCODE: |
52
|
|
|
|
|
|
|
{ |
53
|
|
|
|
|
|
|
int rv; |
54
|
|
|
|
|
|
|
STRLEN in_data_len; |
55
|
|
|
|
|
|
|
unsigned char *in_data; |
56
|
|
|
|
|
|
|
|
57
|
36
|
50
|
|
|
|
|
in_data = (unsigned char *)SvPVbyte(data, in_data_len); |
58
|
|
|
|
|
|
|
|
59
|
36
|
100
|
|
|
|
|
if (in_data_len>0) { |
60
|
24
|
|
|
|
|
|
rv = ocb3_add_aad(self, in_data, (unsigned long)in_data_len); |
61
|
24
|
50
|
|
|
|
|
if (rv != CRYPT_OK) croak("FATAL: ocb3_add_aad failed: %s", error_to_string(rv)); |
62
|
|
|
|
|
|
|
} |
63
|
36
|
50
|
|
|
|
|
XPUSHs(ST(0)); /* return self */ |
64
|
|
|
|
|
|
|
} |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
SV * |
67
|
|
|
|
|
|
|
encrypt_add(Crypt::AuthEnc::OCB self, SV * data) |
68
|
|
|
|
|
|
|
CODE: |
69
|
|
|
|
|
|
|
{ |
70
|
|
|
|
|
|
|
int rv; |
71
|
|
|
|
|
|
|
STRLEN in_data_len; |
72
|
|
|
|
|
|
|
unsigned char *in_data, *out_data; |
73
|
|
|
|
|
|
|
|
74
|
1
|
50
|
|
|
|
|
in_data = (unsigned char *)SvPVbyte(data, in_data_len); |
75
|
1
|
50
|
|
|
|
|
if (in_data_len == 0) { |
76
|
0
|
|
|
|
|
|
RETVAL = newSVpvn("", 0); |
77
|
|
|
|
|
|
|
} |
78
|
|
|
|
|
|
|
else { |
79
|
1
|
50
|
|
|
|
|
if (in_data_len % 16) { |
80
|
0
|
|
|
|
|
|
croak ("FATAL: sizeof(data) should be multiple of 16"); |
81
|
|
|
|
|
|
|
} |
82
|
1
|
|
|
|
|
|
RETVAL = NEWSV(0, in_data_len); /* avoid zero! */ |
83
|
1
|
|
|
|
|
|
SvPOK_only(RETVAL); |
84
|
1
|
|
|
|
|
|
SvCUR_set(RETVAL, in_data_len); |
85
|
1
|
|
|
|
|
|
out_data = (unsigned char *)SvPVX(RETVAL); |
86
|
1
|
|
|
|
|
|
rv = ocb3_encrypt(self, in_data, (unsigned long)in_data_len, out_data); |
87
|
1
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
88
|
0
|
|
|
|
|
|
SvREFCNT_dec(RETVAL); |
89
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_encrypt failed: %s", error_to_string(rv)); |
90
|
|
|
|
|
|
|
} |
91
|
|
|
|
|
|
|
} |
92
|
|
|
|
|
|
|
} |
93
|
|
|
|
|
|
|
OUTPUT: |
94
|
|
|
|
|
|
|
RETVAL |
95
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
SV * |
97
|
|
|
|
|
|
|
encrypt_last(Crypt::AuthEnc::OCB self, SV * data) |
98
|
|
|
|
|
|
|
CODE: |
99
|
|
|
|
|
|
|
{ |
100
|
|
|
|
|
|
|
int rv; |
101
|
|
|
|
|
|
|
STRLEN in_data_len; |
102
|
|
|
|
|
|
|
unsigned char *in_data, *out_data; |
103
|
|
|
|
|
|
|
|
104
|
18
|
50
|
|
|
|
|
in_data = (unsigned char *)SvPVbyte(data, in_data_len); |
105
|
18
|
100
|
|
|
|
|
if (in_data_len == 0) { |
106
|
6
|
|
|
|
|
|
rv = ocb3_encrypt_last(self, in_data, 0, NULL); |
107
|
6
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
108
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_encrypt_last failed: %s", error_to_string(rv)); |
109
|
|
|
|
|
|
|
} |
110
|
6
|
|
|
|
|
|
RETVAL = newSVpvn("", 0); |
111
|
|
|
|
|
|
|
} |
112
|
|
|
|
|
|
|
else { |
113
|
12
|
|
|
|
|
|
RETVAL = NEWSV(0, in_data_len); /* avoid zero! */ |
114
|
12
|
|
|
|
|
|
SvPOK_only(RETVAL); |
115
|
12
|
|
|
|
|
|
SvCUR_set(RETVAL, in_data_len); |
116
|
12
|
|
|
|
|
|
out_data = (unsigned char *)SvPVX(RETVAL); |
117
|
12
|
|
|
|
|
|
rv = ocb3_encrypt_last(self, in_data, (unsigned long)in_data_len, out_data); |
118
|
12
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
119
|
0
|
|
|
|
|
|
SvREFCNT_dec(RETVAL); |
120
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_encrypt_last failed: %s", error_to_string(rv)); |
121
|
|
|
|
|
|
|
} |
122
|
|
|
|
|
|
|
} |
123
|
|
|
|
|
|
|
} |
124
|
|
|
|
|
|
|
OUTPUT: |
125
|
|
|
|
|
|
|
RETVAL |
126
|
|
|
|
|
|
|
|
127
|
|
|
|
|
|
|
SV * |
128
|
|
|
|
|
|
|
decrypt_add(Crypt::AuthEnc::OCB self, SV * data) |
129
|
|
|
|
|
|
|
CODE: |
130
|
|
|
|
|
|
|
{ |
131
|
|
|
|
|
|
|
int rv; |
132
|
|
|
|
|
|
|
STRLEN in_data_len; |
133
|
|
|
|
|
|
|
unsigned char *in_data, *out_data; |
134
|
|
|
|
|
|
|
|
135
|
0
|
0
|
|
|
|
|
in_data = (unsigned char *)SvPVbyte(data, in_data_len); |
136
|
0
|
0
|
|
|
|
|
if (in_data_len == 0) { |
137
|
0
|
|
|
|
|
|
RETVAL = newSVpvn("", 0); |
138
|
|
|
|
|
|
|
} |
139
|
|
|
|
|
|
|
else { |
140
|
0
|
0
|
|
|
|
|
if (in_data_len % 16) { |
141
|
0
|
|
|
|
|
|
croak ("FATAL: sizeof(data) should be multiple of 16"); |
142
|
|
|
|
|
|
|
} |
143
|
0
|
|
|
|
|
|
RETVAL = NEWSV(0, in_data_len); /* avoid zero! */ |
144
|
0
|
|
|
|
|
|
SvPOK_only(RETVAL); |
145
|
0
|
|
|
|
|
|
SvCUR_set(RETVAL, in_data_len); |
146
|
0
|
|
|
|
|
|
out_data = (unsigned char *)SvPVX(RETVAL); |
147
|
0
|
|
|
|
|
|
rv = ocb3_decrypt(self, in_data, (unsigned long)in_data_len, out_data); |
148
|
0
|
0
|
|
|
|
|
if (rv != CRYPT_OK) { |
149
|
0
|
|
|
|
|
|
SvREFCNT_dec(RETVAL); |
150
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_decrypt failed: %s", error_to_string(rv)); |
151
|
|
|
|
|
|
|
} |
152
|
|
|
|
|
|
|
} |
153
|
|
|
|
|
|
|
} |
154
|
|
|
|
|
|
|
OUTPUT: |
155
|
|
|
|
|
|
|
RETVAL |
156
|
|
|
|
|
|
|
|
157
|
|
|
|
|
|
|
SV * |
158
|
|
|
|
|
|
|
decrypt_last(Crypt::AuthEnc::OCB self, SV * data) |
159
|
|
|
|
|
|
|
CODE: |
160
|
|
|
|
|
|
|
{ |
161
|
|
|
|
|
|
|
int rv; |
162
|
|
|
|
|
|
|
STRLEN in_data_len; |
163
|
|
|
|
|
|
|
unsigned char *in_data, *out_data; |
164
|
|
|
|
|
|
|
|
165
|
18
|
100
|
|
|
|
|
in_data = (unsigned char *)SvPVbyte(data, in_data_len); |
166
|
18
|
100
|
|
|
|
|
if (in_data_len == 0) { |
167
|
6
|
|
|
|
|
|
rv = ocb3_decrypt_last(self, in_data, 0, NULL); |
168
|
6
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
169
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_encrypt_last failed: %s", error_to_string(rv)); |
170
|
|
|
|
|
|
|
} |
171
|
6
|
|
|
|
|
|
RETVAL = newSVpvn("", 0); |
172
|
|
|
|
|
|
|
} |
173
|
|
|
|
|
|
|
else { |
174
|
12
|
|
|
|
|
|
RETVAL = NEWSV(0, in_data_len); /* avoid zero! */ |
175
|
12
|
|
|
|
|
|
SvPOK_only(RETVAL); |
176
|
12
|
|
|
|
|
|
SvCUR_set(RETVAL, in_data_len); |
177
|
12
|
|
|
|
|
|
out_data = (unsigned char *)SvPVX(RETVAL); |
178
|
12
|
|
|
|
|
|
rv = ocb3_decrypt_last(self, in_data, (unsigned long)in_data_len, out_data); |
179
|
12
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
180
|
0
|
|
|
|
|
|
SvREFCNT_dec(RETVAL); |
181
|
0
|
|
|
|
|
|
croak("FATAL: ocb3_encrypt_last failed: %s", error_to_string(rv)); |
182
|
|
|
|
|
|
|
} |
183
|
|
|
|
|
|
|
} |
184
|
|
|
|
|
|
|
} |
185
|
|
|
|
|
|
|
OUTPUT: |
186
|
|
|
|
|
|
|
RETVAL |
187
|
|
|
|
|
|
|
|
188
|
|
|
|
|
|
|
void |
189
|
|
|
|
|
|
|
encrypt_done(Crypt::AuthEnc::OCB self) |
190
|
|
|
|
|
|
|
PPCODE: |
191
|
|
|
|
|
|
|
{ |
192
|
|
|
|
|
|
|
int rv; |
193
|
|
|
|
|
|
|
unsigned char tag[MAXBLOCKSIZE]; |
194
|
18
|
|
|
|
|
|
unsigned long tag_len = sizeof(tag); |
195
|
|
|
|
|
|
|
|
196
|
18
|
|
|
|
|
|
rv = ocb3_done(self, tag, &tag_len); |
197
|
18
|
50
|
|
|
|
|
if (rv != CRYPT_OK) croak("FATAL: ocb3_done_encrypt failed: %s", error_to_string(rv)); |
198
|
|
|
|
|
|
|
|
199
|
18
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(newSVpvn((char*)tag, tag_len))); |
200
|
|
|
|
|
|
|
} |
201
|
|
|
|
|
|
|
|
202
|
|
|
|
|
|
|
void |
203
|
|
|
|
|
|
|
decrypt_done(Crypt::AuthEnc::OCB self, ...) |
204
|
|
|
|
|
|
|
PPCODE: |
205
|
|
|
|
|
|
|
{ |
206
|
|
|
|
|
|
|
int rv; |
207
|
|
|
|
|
|
|
unsigned char tag[MAXBLOCKSIZE]; |
208
|
18
|
|
|
|
|
|
unsigned long tag_len = sizeof(tag); |
209
|
|
|
|
|
|
|
STRLEN expected_tag_len; |
210
|
|
|
|
|
|
|
unsigned char *expected_tag; |
211
|
|
|
|
|
|
|
|
212
|
18
|
|
|
|
|
|
rv = ocb3_done(self, tag, &tag_len); |
213
|
18
|
50
|
|
|
|
|
if (rv != CRYPT_OK) croak("FATAL: ocb3_done_decrypt failed: %s", error_to_string(rv)); |
214
|
18
|
50
|
|
|
|
|
if (items == 1) { |
215
|
18
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(newSVpvn((char*)tag, tag_len))); |
216
|
|
|
|
|
|
|
} |
217
|
|
|
|
|
|
|
else { |
218
|
0
|
0
|
|
|
|
|
if (!SvPOK(ST(1))) croak("FATAL: expected_tag must be string/buffer scalar"); |
219
|
0
|
0
|
|
|
|
|
expected_tag = (unsigned char *) SvPVbyte(ST(1), expected_tag_len); |
220
|
0
|
0
|
|
|
|
|
if (expected_tag_len!=tag_len) { |
221
|
0
|
0
|
|
|
|
|
XPUSHs(sv_2mortal(newSViv(0))); /* false */ |
222
|
|
|
|
|
|
|
} |
223
|
0
|
0
|
|
|
|
|
else if (memNE(expected_tag, tag, tag_len)) { |
224
|
0
|
0
|
|
|
|
|
XPUSHs(sv_2mortal(newSViv(0))); /* false */ |
225
|
|
|
|
|
|
|
} |
226
|
|
|
|
|
|
|
else { |
227
|
0
|
0
|
|
|
|
|
XPUSHs(sv_2mortal(newSViv(1))); /* true */ |
228
|
|
|
|
|
|
|
} |
229
|
|
|
|
|
|
|
} |
230
|
|
|
|
|
|
|
} |
231
|
|
|
|
|
|
|
|
232
|
|
|
|
|
|
|
void |
233
|
|
|
|
|
|
|
ocb_encrypt_authenticate(char *cipher_name, SV *key, SV *nonce, SV *header, unsigned long tag_len, SV *plaintext) |
234
|
|
|
|
|
|
|
PPCODE: |
235
|
|
|
|
|
|
|
{ |
236
|
2
|
|
|
|
|
|
STRLEN k_len = 0, n_len = 0, h_len = 0, pt_len = 0; |
237
|
2
|
|
|
|
|
|
unsigned char *k = NULL, *n = NULL, *h = NULL, *pt = NULL; |
238
|
|
|
|
|
|
|
int rv, id; |
239
|
|
|
|
|
|
|
unsigned char tag[MAXBLOCKSIZE]; |
240
|
|
|
|
|
|
|
SV *output; |
241
|
|
|
|
|
|
|
|
242
|
2
|
50
|
|
|
|
|
if (SvPOK(key)) k = (unsigned char *) SvPVbyte(key, k_len); |
|
|
50
|
|
|
|
|
|
243
|
2
|
50
|
|
|
|
|
if (SvPOK(nonce)) n = (unsigned char *) SvPVbyte(nonce, n_len); |
|
|
50
|
|
|
|
|
|
244
|
2
|
50
|
|
|
|
|
if (SvPOK(plaintext)) pt = (unsigned char *) SvPVbyte(plaintext, pt_len); |
|
|
50
|
|
|
|
|
|
245
|
2
|
50
|
|
|
|
|
if (SvPOK(header)) h = (unsigned char *) SvPVbyte(header, h_len); |
|
|
50
|
|
|
|
|
|
246
|
|
|
|
|
|
|
|
247
|
2
|
|
|
|
|
|
id = cryptx_internal_find_cipher(cipher_name); |
248
|
2
|
50
|
|
|
|
|
if(id==-1) croak("FATAL: find_cipfer failed for '%s'", cipher_name); |
249
|
2
|
50
|
|
|
|
|
output = NEWSV(0, pt_len > 0 ? pt_len : 1); /* avoid zero! */ |
250
|
2
|
|
|
|
|
|
SvPOK_only(output); |
251
|
2
|
|
|
|
|
|
SvCUR_set(output, pt_len); |
252
|
2
|
50
|
|
|
|
|
if(tag_len < 4 || tag_len > 16) tag_len = 16; |
|
|
50
|
|
|
|
|
|
253
|
|
|
|
|
|
|
|
254
|
2
|
|
|
|
|
|
rv = ocb3_encrypt_authenticate_memory(id, k, (unsigned long)k_len, n, (unsigned long)n_len, |
255
|
|
|
|
|
|
|
h, (unsigned long)h_len, pt, (unsigned long)pt_len, |
256
|
2
|
|
|
|
|
|
(unsigned char *)SvPVX(output), tag, &tag_len); |
257
|
|
|
|
|
|
|
|
258
|
2
|
50
|
|
|
|
|
if (rv != CRYPT_OK) { |
259
|
0
|
|
|
|
|
|
SvREFCNT_dec(output); |
260
|
0
|
|
|
|
|
|
croak("FATAL: ccm_memory failed: %s", error_to_string(rv)); |
261
|
|
|
|
|
|
|
} |
262
|
2
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(output)); |
263
|
2
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(newSVpvn((char*)tag, tag_len))); |
264
|
|
|
|
|
|
|
} |
265
|
|
|
|
|
|
|
|
266
|
|
|
|
|
|
|
void |
267
|
|
|
|
|
|
|
ocb_decrypt_verify(char *cipher_name, SV *key, SV *nonce, SV *header, SV *ciphertext, SV *tagsv) |
268
|
|
|
|
|
|
|
PPCODE: |
269
|
|
|
|
|
|
|
{ |
270
|
4
|
|
|
|
|
|
STRLEN k_len = 0, n_len = 0, h_len = 0, ct_len = 0, t_len = 0; |
271
|
4
|
|
|
|
|
|
unsigned char *k = NULL, *n = NULL, *h = NULL, *ct = NULL, *t = NULL; |
272
|
4
|
|
|
|
|
|
int rv, id, stat = 0; |
273
|
|
|
|
|
|
|
SV *output; |
274
|
|
|
|
|
|
|
|
275
|
4
|
50
|
|
|
|
|
if (SvPOK(key)) k = (unsigned char *) SvPVbyte(key, k_len); |
|
|
50
|
|
|
|
|
|
276
|
4
|
50
|
|
|
|
|
if (SvPOK(nonce)) n = (unsigned char *) SvPVbyte(nonce, n_len); |
|
|
50
|
|
|
|
|
|
277
|
4
|
50
|
|
|
|
|
if (SvPOK(ciphertext)) ct = (unsigned char *) SvPVbyte(ciphertext, ct_len); |
|
|
50
|
|
|
|
|
|
278
|
4
|
50
|
|
|
|
|
if (SvPOK(tagsv)) t = (unsigned char *) SvPVbyte(tagsv, t_len); |
|
|
50
|
|
|
|
|
|
279
|
4
|
50
|
|
|
|
|
if (SvPOK(header)) h = (unsigned char *) SvPVbyte(header, h_len); |
|
|
50
|
|
|
|
|
|
280
|
|
|
|
|
|
|
|
281
|
4
|
|
|
|
|
|
id = cryptx_internal_find_cipher(cipher_name); |
282
|
4
|
50
|
|
|
|
|
if(id==-1) croak("FATAL: find_cipfer failed for '%s'", cipher_name); |
283
|
4
|
50
|
|
|
|
|
output = NEWSV(0, ct_len > 0 ? ct_len : 1); /* avoid zero! */ |
284
|
4
|
|
|
|
|
|
SvPOK_only(output); |
285
|
4
|
|
|
|
|
|
SvCUR_set(output, ct_len); |
286
|
|
|
|
|
|
|
|
287
|
4
|
|
|
|
|
|
rv = ocb3_decrypt_verify_memory(id, k, (unsigned long)k_len, n, (unsigned long)n_len, |
288
|
|
|
|
|
|
|
h, (unsigned long)h_len, ct, (unsigned long)ct_len, |
289
|
4
|
|
|
|
|
|
(unsigned char *)SvPVX(output), t, (unsigned long)t_len, &stat); |
290
|
|
|
|
|
|
|
|
291
|
4
|
50
|
|
|
|
|
if (rv != CRYPT_OK || stat != 1) { |
|
|
100
|
|
|
|
|
|
292
|
2
|
|
|
|
|
|
SvREFCNT_dec(output); |
293
|
2
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(newSVpvn(NULL,0))); /* undef */ |
294
|
|
|
|
|
|
|
} |
295
|
|
|
|
|
|
|
else { |
296
|
2
|
50
|
|
|
|
|
XPUSHs(sv_2mortal(output)); |
297
|
|
|
|
|
|
|
} |
298
|
|
|
|
|
|
|
} |