| blib/lib/Crypt/RSA/ES/PKCS1v15.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| branch | 11 | 24 | 45.8 |
| line | true | false | branch |
|---|---|---|---|
| 27 | 0 | 1 | if ($params{'Version'}) |
| 37 | 0 | 2 | unless $M |
| 38 | 0 | 2 | unless $key->check |
| 53 | 0 | 2 | unless $C |
| 54 | 0 | 2 | unless $key->check |
| 59 | 0 | 2 | if (bitsize($c) > bitsize($key->n)) |
| 67 | 0 | 2 | unless ($M = $self->decode($em)) |
| 68 | 0 | 0 | if $self->errstr |
| 78 | 0 | 2 | if $mlen > $emlen - 10 |
| 99 | 0 | 2 | if length $em < 10 |
| 104 | 0 | 2 | unless (($ps, $M) = $em =~ /^$chr2(.*?)$chr0(.*)$/s) |
| 107 | 0 | 2 | if length $ps < 8 |