8241680: crypto microbenchmarks need updating for disabled EC curves

Reviewed-by: ecaspole, redestad, skuksenko, jnimeh
This commit is contained in:
Anthony Scarpino 2020-06-09 16:01:25 -07:00
parent 0bf3ba402b
commit b6a9f3015a
3 changed files with 5 additions and 5 deletions

View File

@ -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 @@ public abstract class KeyAgreementBench extends CryptoBase {
@Param({"ECDH"})
private String algorithm;
@Param({"224", "256", "384", "521"})
@Param({"256", "384", "521"})
private int keyLength;
}

View File

@ -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 @@ public class KeyPairGeneratorBench extends CryptoBase {
@Param({"EC"})
private String algorithm;
@Param({"160", "224", "256"})
@Param({"256", "384", "521"})
private int keyLength;
}

View File

@ -121,7 +121,7 @@ public class SignatureBench extends CryptoBase {
@Param({"SHA256withECDSA"})
private String algorithm;
@Param({"160", "224", "256"})
@Param({"256"})
private int keyLength;
}