blib/lib/Crypt/RSA/ES/PKCS1v15.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 6 | 14 | 42.8 |
line | l | !l | condition |
---|---|---|---|
40 | 2 | 0 | $self->encode($M, $k - 1) || (return $self->error($self->errstr, \$M, $key, \%params)) |
62 | 2 | 0 | $self->{'primitives'}->core_decrypt('Cyphertext', $c, 'Key', $key) || (return $self->error('Decryption error.', $key, \%params)) |
64 | 2 | 0 | i2osp($m, $k - 1) || (return $self->error('Decryption error.', $key, \%params)) |
77 | 2 | 0 | $M || '' |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
36 | 2 | 0 | 0 | $params{'Message'} || $params{'Plaintext'} |
52 | 2 | 0 | 0 | $params{'Cyphertext'} || $params{'Ciphertext'} |