@@ -65,30 +65,30 @@ public final class SunEC extends Provider {
65
65
/* The property 'jdk.nativeEC' is used to control enablement of the native
66
66
* ECDH implementation.
67
67
*/
68
- private static final boolean useNativeECDH = NativeCrypto .isAlgorithmEnabled ("jdk.nativeEC" , "ECDH " );
68
+ private static final boolean useNativeECDH = NativeCrypto .isAlgorithmEnabled ("jdk.nativeEC" , "SunEC " );
69
69
70
70
/* The property 'jdk.nativeECKeyGen' is used to control enablement of the native
71
71
* ECKeyGeneration implementation.
72
72
* OpenSSL 1.1.0 or above is required for EC key generation support.
73
73
*/
74
- private static final boolean useNativeECKeyGen = NativeCrypto .isAlgorithmEnabled ("jdk.nativeECKeyGen" , "ECKeyGen " );
74
+ private static final boolean useNativeECKeyGen = NativeCrypto .isAlgorithmEnabled ("jdk.nativeECKeyGen" , "SunEC " );
75
75
76
76
/* The property 'jdk.nativeECDSA' is used to control enablement of the native
77
77
* ECDSA signature implementation.
78
78
*/
79
- private static final boolean useNativeECDSA = NativeCrypto .isAlgorithmEnabled ("jdk.nativeECDSA" , "ECDSA " );
79
+ private static final boolean useNativeECDSA = NativeCrypto .isAlgorithmEnabled ("jdk.nativeECDSA" , "SunEC " );
80
80
81
81
/* The property 'jdk.nativeXDHKeyAgreement' is used to control enablement of the native
82
82
* XDH key agreement. XDH key agreement is only supported in OpenSSL 1.1.1 and above.
83
83
*/
84
84
private static final boolean useNativeXDHKeyAgreement =
85
- NativeCrypto .isAlgorithmEnabled ("jdk.nativeXDHKeyAgreement" , "XDHKeyAgreement " );
85
+ NativeCrypto .isAlgorithmEnabled ("jdk.nativeXDHKeyAgreement" , "SunEC " );
86
86
87
87
/* The property 'jdk.nativeXDHKeyGen' is used to control enablement of the native
88
88
* XDH key generation. XDH key generation is only supported in OpenSSL 1.1.1 and above.
89
89
*/
90
90
private static final boolean useNativeXDHKeyGen =
91
- NativeCrypto .isAlgorithmEnabled ("jdk.nativeXDHKeyGen" , "XDHKeyGen " );
91
+ NativeCrypto .isAlgorithmEnabled ("jdk.nativeXDHKeyGen" , "SunEC " );
92
92
93
93
private static class ProviderServiceA extends ProviderService {
94
94
ProviderServiceA (Provider p , String type , String algo , String cn ,
0 commit comments