jdk/test/sun/security/pkcs11/ec/TestECDSA2.java
changeset 43248 5e15de85a1a0
parent 42693 6645de32a866
equal deleted inserted replaced
43247:8d242299a219 43248:5e15de85a1a0
     1 /*
     1 /*
     2  * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2012, 2017, 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.
    27  * @summary basic test of ECDSA signatures for P-256 and P-384 from the
    27  * @summary basic test of ECDSA signatures for P-256 and P-384 from the
    28  * example data in "Suite B Implementer's Guide to FIPS 186-3".
    28  * example data in "Suite B Implementer's Guide to FIPS 186-3".
    29  * @library ..
    29  * @library ..
    30  * @library ../../../../java/security/testlibrary
    30  * @library ../../../../java/security/testlibrary
    31  * @modules java.base/sun.security.util
    31  * @modules java.base/sun.security.util
    32  *          jdk.crypto.token
    32  *          jdk.crypto.cryptoki
    33  * @compile -XDignore.symbol.file TestECDSA2.java
    33  * @compile -XDignore.symbol.file TestECDSA2.java
    34  * @run main/othervm TestECDSA2
    34  * @run main/othervm TestECDSA2
    35  * @run main/othervm TestECDSA2 sm
    35  * @run main/othervm TestECDSA2 sm
    36  */
    36  */
    37 
    37