equal
deleted
inserted
replaced
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 |