test/micro/org/openjdk/bench/javax/crypto/full/AESGCMBench.java
changeset 57673 24f1a593dcd0
parent 52950 30df3fc36c72
equal deleted inserted replaced
57670:cffcc4c5a5ba 57673:24f1a593dcd0
     1 /*
     1 /*
     2  * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2015, 2019, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
    38 import java.security.spec.InvalidParameterSpecException;
    38 import java.security.spec.InvalidParameterSpecException;
    39 
    39 
    40 
    40 
    41 public class AESGCMBench extends CryptoBase {
    41 public class AESGCMBench extends CryptoBase {
    42 
    42 
    43     @Param({"AES/GCM/NoPadding","AES/GCM/PKCS5Padding"})
    43     @Param({"AES/GCM/NoPadding"})
    44     private String algorithm;
    44     private String algorithm;
    45 
    45 
    46     @Param({"128"})
    46     @Param({"128"})
    47     private int keyLength;
    47     private int keyLength;
    48 
    48