File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed
src/java.base/share/classes/sun/security/ec Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 23
23
* questions.
24
24
*/
25
25
26
- /*
27
- * ===========================================================================
28
- * (c) Copyright IBM Corp. 2022, 2024 All Rights Reserved
29
- * ===========================================================================
30
- */
31
-
32
26
package sun .security .ec ;
33
27
34
28
import java .io .IOException ;
41
35
import java .security .spec .*;
42
36
import java .util .Arrays ;
43
37
44
- import jdk .crypto .jniprovider .NativeCrypto ;
45
-
46
38
import sun .security .ec .point .AffinePoint ;
47
39
import sun .security .ec .point .MutablePoint ;
48
40
import sun .security .util .*;
@@ -76,7 +68,6 @@ public final class ECPrivateKeyImpl extends PKCS8Key implements ECPrivateKey {
76
68
77
69
@ java .io .Serial
78
70
private static final long serialVersionUID = 88695385615075129L ;
79
- private static NativeCrypto nativeCrypto ;
80
71
81
72
private BigInteger s ; // private value
82
73
private byte [] arrayS ; // private value as a little-endian array
Original file line number Diff line number Diff line change 23
23
* questions.
24
24
*/
25
25
26
- /*
27
- * ===========================================================================
28
- * (c) Copyright IBM Corp. 2022, 2024 All Rights Reserved
29
- * ===========================================================================
30
- */
31
-
32
26
package sun .security .ec ;
33
27
34
28
import java .io .IOException ;
35
- import java .math .BigInteger ;
36
29
37
30
import java .io .InvalidObjectException ;
38
31
import java .io .ObjectInputStream ;
39
32
import java .security .*;
40
33
import java .security .interfaces .*;
41
34
import java .security .spec .*;
42
35
43
- import jdk .crypto .jniprovider .NativeCrypto ;
44
-
45
36
import sun .security .util .BitArray ;
46
37
import sun .security .util .ECParameters ;
47
38
import sun .security .util .ECUtil ;
@@ -58,7 +49,6 @@ public final class ECPublicKeyImpl extends X509Key implements ECPublicKey {
58
49
59
50
@ java .io .Serial
60
51
private static final long serialVersionUID = -2462037275160462289L ;
61
- private static NativeCrypto nativeCrypto ;
62
52
63
53
@ SuppressWarnings ("serial" ) // Type of field is not
64
54
// Serializable;see writeReplace
@@ -152,4 +142,4 @@ private void readObject(ObjectInputStream stream)
152
142
throw new InvalidObjectException (
153
143
"ECPublicKeyImpl keys are not directly deserializable" );
154
144
}
155
- }
145
+ }
You can’t perform that action at this time.
0 commit comments