blib/lib/Crypt/RSA/SS/PSS.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 7 | 19 | 36.8 |
line | l | !l | condition |
---|---|---|---|
66 | 1 | 0 | i2osp($m, $k - 1) || (return $self->error('Invalid signature.', \$M, \$S, $key, \%params)) |
84 | 4 | 0 | i2osp($m, $k - 1) || (return $self->error('Invalid signature.', \$M, \$S, $key, \%params)) |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
35 | 5 | 0 | 0 | $params{'Message'} || $params{'Plaintext'} |
51 | 1 | 0 | 0 | $params{'Message'} || $params{'Plaintext'} |
64 | 1 | 0 | 0 | $self->{'primitives'}->core_verify('Key', $key, 'Signature', $s) || $self->error('Invalid signature.', \$M, \$S, $key, \%params) |
75 | 4 | 0 | 0 | $params{'Message'} || $params{'Plaintext'} |
82 | 4 | 0 | 0 | $self->{'primitives'}->core_verify('Key', $key, 'Signature', $s) || $self->error('Invalid signature.', \$M, \$S, $key, \%params) |