line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Crypt::Perl::X::ECDSA::CharacteristicTwoUnsupported; |
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
1078
|
use strict; |
|
1
|
|
|
|
|
7
|
|
|
1
|
|
|
|
|
56
|
|
4
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
9
|
|
|
1
|
|
|
|
|
88
|
|
5
|
|
|
|
|
|
|
|
6
|
1
|
|
|
1
|
|
8
|
use parent 'Crypt::Perl::X::Base'; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
29
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub new { |
9
|
120
|
|
|
120
|
0
|
969
|
my ($class, $curve_name) = @_; |
10
|
|
|
|
|
|
|
|
11
|
120
|
50
|
|
|
|
452
|
if ($curve_name) { |
12
|
0
|
|
|
|
|
0
|
return $class->SUPER::new( "This library does not support ECDSA curves that use Characteristic-2 fields, like “$curve_name”.", { curve_name => $curve_name } ); |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
120
|
|
|
|
|
1060
|
return $class->SUPER::new( "This library does not support ECDSA curves that use Characteristic-2 fields." ); |
16
|
|
|
|
|
|
|
} |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
1; |