line |
true |
false |
branch |
65
|
0 |
98 |
if (!SvPOK(key)) |
67
|
0 |
98 |
if (SvTAINTED(key)) |
|
0 |
0 |
if (SvTAINTED(key)) |
72
|
69 |
29 |
if (keysize != 16 && keysize != 24 && keysize != 32) |
|
63 |
6 |
if (keysize != 16 && keysize != 24 && keysize != 32) |
|
0 |
63 |
if (keysize != 16 && keysize != 24 && keysize != 32) |
74
|
80 |
18 |
if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR) |
|
64 |
16 |
if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR) |
|
39 |
25 |
if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR) |
|
14 |
25 |
if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR) |
|
0 |
14 |
if (mode != MODE_ECB && mode != MODE_CBC && mode != MODE_CFB && mode != MODE_OFB && mode != MODE_CTR) |
79
|
98 |
0 |
rijndael_setup(&RETVAL->ctx, keysize, (uint8_t *) SvPVbyte_nolen(key)); |
103
|
196 |
0 |
void *rawbytes = SvPVbyte(data,size); |
105
|
196 |
0 |
if (size) { |
108
|
160 |
36 |
if ((self->ctx.mode == MODE_ECB || self->ctx.mode == MODE_CBC) && size % RIJNDAEL_BLOCKSIZE) |
|
32 |
128 |
if ((self->ctx.mode == MODE_ECB || self->ctx.mode == MODE_CBC) && size % RIJNDAEL_BLOCKSIZE) |
|
0 |
68 |
if ((self->ctx.mode == MODE_ECB || self->ctx.mode == MODE_CBC) && size % RIJNDAEL_BLOCKSIZE) |
114
|
196 |
0 |
buffer = (uint8_t *)SvPVbyte_nolen(RETVAL); |
115
|
98 |
98 |
(ix ? block_decrypt : block_encrypt) |