changeset 59685:945a221fe98f

8241680: crypto microbenchmarks need updating for disabled EC curves Reviewed-by: ecaspole, redestad, skuksenko, jnimeh
author ascarpino
date Tue, 09 Jun 2020 16:01:25 -0700
parents 474709480635
children ccbecd09f1f6
files test/micro/org/openjdk/bench/javax/crypto/full/KeyAgreementBench.java test/micro/org/openjdk/bench/javax/crypto/full/KeyPairGeneratorBench.java test/micro/org/openjdk/bench/javax/crypto/full/SignatureBench.java
diffstat 3 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/test/micro/org/openjdk/bench/javax/crypto/full/KeyAgreementBench.java	Tue Jun 09 18:42:00 2020 -0400
+++ b/test/micro/org/openjdk/bench/javax/crypto/full/KeyAgreementBench.java	Tue Jun 09 16:01:25 2020 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -90,7 +90,7 @@
         @Param({"ECDH"})
         private String algorithm;
 
-        @Param({"224", "256", "384", "521"})
+        @Param({"256", "384", "521"})
         private int keyLength;
 
     }
--- a/test/micro/org/openjdk/bench/javax/crypto/full/KeyPairGeneratorBench.java	Tue Jun 09 18:42:00 2020 -0400
+++ b/test/micro/org/openjdk/bench/javax/crypto/full/KeyPairGeneratorBench.java	Tue Jun 09 16:01:25 2020 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -67,7 +67,7 @@
         @Param({"EC"})
         private String algorithm;
 
-        @Param({"160", "224", "256"})
+        @Param({"256", "384", "521"})
         private int keyLength;
 
     }
--- a/test/micro/org/openjdk/bench/javax/crypto/full/SignatureBench.java	Tue Jun 09 18:42:00 2020 -0400
+++ b/test/micro/org/openjdk/bench/javax/crypto/full/SignatureBench.java	Tue Jun 09 16:01:25 2020 -0700
@@ -121,7 +121,7 @@
         @Param({"SHA256withECDSA"})
         private String algorithm;
 
-        @Param({"160", "224", "256"})
+        @Param({"256"})
         private int keyLength;
 
     }