Skip to content
Permalink
Browse files
8253637: Update EC removal
Reviewed-by: mullan
  • Loading branch information
Anthony Scarpino committed Sep 29, 2020
1 parent b1ce6bd commit fb206908b431f3691a64d3e58fda86da5636c99a
@@ -170,9 +170,10 @@ private static void validate(ECOperations ops, ECPublicKey key) {
byte[] result;
Optional<byte[]> resultOpt = deriveKeyImpl(privateKey, publicKey);
if (resultOpt.isEmpty()) {
NamedCurve nc = CurveDB.lookup(publicKey.getParams());
throw new IllegalStateException(
new InvalidAlgorithmParameterException("Curve not supported: " +
publicKey.getParams().toString()));
(nc != null ? nc.toString() : "unknown")));
}
result = resultOpt.get();
publicKey = null;
@@ -704,7 +704,6 @@ javax/security/auth/kerberos/KerberosTixDateTest.java 8039280 generic-
sun/security/provider/PolicyFile/GrantAllPermToExtWhenNoPolicy.java 8039280 generic-all
sun/security/provider/PolicyParser/ExtDirsChange.java 8039280 generic-all
sun/security/provider/PolicyParser/PrincipalExpansionError.java 8039280 generic-all
sun/security/ec/TestEC.java 8253637 linux-aarch64

############################################################################

@@ -37,8 +37,9 @@
* @library ../../../java/security/testlibrary
* @library ../../../javax/net/ssl/TLSCommon
* @modules jdk.crypto.cryptoki/sun.security.pkcs11.wrapper
* @run main/othervm -Djdk.tls.namedGroups="secp256r1,sect193r1" -Djdk.sunec.disableNative=false TestEC
* @run main/othervm -Djava.security.policy=TestEC.policy -Djdk.tls.namedGroups="secp256r1,sect193r1" -Djdk.sunec.disableNative=false TestEC
* @run main/othervm -Djdk.tls.namedGroups="secp256r1" TestEC
* @run main/othervm -Djava.security.policy=TestEC.policy
* -Djdk.tls.namedGroups="secp256r1" TestEC
*/

import java.security.NoSuchProviderException;
@@ -96,7 +96,7 @@
// NSS version info
public static enum ECCState { None, Basic, Extended };
static double nss_version = -1;
static ECCState nss_ecc_status = ECCState.Extended;
static ECCState nss_ecc_status = ECCState.Basic;

// The NSS library we need to search for in getNSSLibDir()
// Default is "libsoftokn3.so", listed as "softokn3"

1 comment on commit fb20690

@bridgekeeper

This comment has been minimized.

Copy link

@bridgekeeper bridgekeeper bot commented on fb20690 Sep 29, 2020

Please sign in to comment.