line |
true |
false |
branch |
35
|
2 |
0 |
if (defined $arg{'SigningKey'} and defined $arg{'Signature'}) |
37
|
1 |
1 |
if ($self->sigscheme eq 'Ed25519') { } |
38
|
0 |
1 |
unless &Crypt::Ed25519::verify($arg{'PublicKey'}, $arg{'SigningKey'}, $arg{'Signature'}) |
43
|
0 |
1 |
unless $ecdsa->verify('Message', $arg{'PublicKey'}, 'Signature', $arg{'Signature'}, 'Key', $arg{'SigningKey'}) |
69
|
0 |
2 |
if $options ne '' |
74
|
0 |
2 |
if &hmac_sha256($iv . $ciphertext, $sign_key) ne $mac |
80
|
0 |
2 |
unless substr($plaintext, -$pad_length, $pad_length, '') eq chr($pad_length) x $pad_length |
89
|
2 |
2 |
if ($arg{'PrivateKey'}) { } |
92
|
1 |
1 |
if ($self->sigscheme eq 'Ed25519') { } |
108
|
1 |
1 |
if ($self->sigscheme eq 'Ed25519') { } |
119
|
1 |
10 |
if $auto eq 'DESTROY' |
120
|
10 |
0 |
if ($auto =~ /^(debug|sigscheme)$/x) { } |
121
|
2 |
8 |
if defined $_[0] |
131
|
0 |
0 |
if $self->debug |