< prev index next >

test/hotspot/jtreg/compiler/intrinsics/sha/TestDigest.java

Print this page
rev 60737 : 8252204: AArch64: Implement SHA3 accelerator/intrinsic
Reviewed-by: duke
Contributed-by: dongbo4@huawei.com

@@ -22,11 +22,11 @@
  */
 
 /**
  * @test
  * @bug 8035968
- * @summary C2 support for MD5/SHA-1/SHA-224/SHA-256/SHA-384/SHA-512
+ * @summary C2 support for MD5/SHA-1/SHA-224/SHA-256/SHA-384/SHA-512/SHA3
  *
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=MD5
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch

@@ -42,10 +42,22 @@
  *      -Dalgorithm=SHA-384
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=SHA-512
  *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-224
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-256
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-384
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-512
+ *      compiler.intrinsics.sha.TestDigest
  *
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=MD5   -Doffset=1
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch

@@ -61,10 +73,22 @@
  *      -Dalgorithm=SHA-384 -Doffset=1
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=SHA-512 -Doffset=1
  *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-224 -Doffset=1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-256 -Doffset=1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-384 -Doffset=1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-512 -Doffset=1
+ *      compiler.intrinsics.sha.TestDigest
  *
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=SHA-1   -Dalgorithm2=SHA-256
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch

@@ -78,10 +102,35 @@
  *      -Dalgorithm=SHA-1   -Dalgorithm2=MD5
  *      compiler.intrinsics.sha.TestDigest
  * @run main/othervm/timeout=600 -Xbatch
  *      -Dalgorithm=MD5     -Dalgorithm2=SHA-1
  *      compiler.intrinsics.sha.TestDigest
+ *
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA-1   -Dalgorithm2=SHA3-224
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA-1   -Dalgorithm2=SHA3-256
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA-1   -Dalgorithm2=SHA3-384
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA-1   -Dalgorithm2=SHA3-512
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-224 -Dalgorithm2=SHA-1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-256 -Dalgorithm2=SHA-1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-384 -Dalgorithm2=SHA-1
+ *      compiler.intrinsics.sha.TestDigest
+ * @run main/othervm/timeout=600 -Xbatch
+ *      -Dalgorithm=SHA3-512 -Dalgorithm2=SHA-1
+ *      compiler.intrinsics.sha.TestDigest
  */
 
 package compiler.intrinsics.sha;
 
 import java.security.MessageDigest;
< prev index next >