blib/lib/File/KDBX/Cipher/CBC.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 3 | 9 | 33.3 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
15 | 0 | 0 | 0 | $_[0]{'key_size'} //= $default |
23 | 63 | 17 | 0 | $self->{'mode'} ||= do { my $m = "Crypt::Mode::CBC"->new($self->algorithm); $m->start_encrypt($self->key, $self->iv); $m } |
35 | 0 | 25 | 0 | $self->{'mode'} ||= do { my $m = "Crypt::Mode::CBC"->new($self->algorithm); $m->start_decrypt($self->key, $self->iv); $m } |