Commit Graph

57 Commits

Author SHA1 Message Date
Chris Hegarty
ebceee6674 8144480: Remove test dependencies on sun.misc.BASE64Encoder and BASE64Decoder
Reviewed-by: alanb, amlu, psandoz, weijun
2015-12-03 11:57:14 +00:00
Sha Jiang
451024f8df 8075286: Additional tests for signature algorithm OIDs and transformation string
SQE test co-location effort

Reviewed-by: valeriep
2015-09-24 18:16:56 +00:00
Valerie Peng
500cb7ea83 8137068: Tests added in JDK-8048604 fail to compile
Fixed the 2 tests with correct jprt tags

Reviewed-by: xuelei
2015-09-24 01:45:44 +00:00
Tristan Yan
6b149df3f8 8048604: Tests for strong crypto ciphers
SQE test co-location effort

Reviewed-by: valeriep
2015-09-23 21:28:14 +00:00
Martin Buchholz
24742f7b1d 8134984: Text files should end in exactly one newline
Automated fixup of newlines at end-of-file via the usual perl one-liner

Reviewed-by: chegar, sherman
2015-09-02 14:11:50 -07:00
Rajan Halade
3f1537d197 8048601: Tests for JCE crypto ciphers (part 1)
Reviewed-by: valeriep
2015-08-28 13:35:54 -07:00
Artem Smotrakov
b6bee08125 8048596: Tests for AEAD ciphers
Reviewed-by: valeriep
2015-07-25 08:50:45 +03:00
Rajan Halade
9ba56436a1 8041787: Need new regressions tests for buffer handling for PBE algorithms
Reviewed-by: vinnie
2015-07-15 18:12:48 +01:00
Weijun Wang
8804c9df5f 8130297: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java still failing after JDK-8076040
Reviewed-by: darcy
2015-07-02 13:20:46 +08:00
Weijun Wang
8f2396ede1 8076040: Test com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with -XX:+UseG1GC
Reviewed-by: darcy
2015-07-02 09:19:42 +08:00
Alejandro Murillo
f55c892a65 Merge 2015-06-30 11:20:43 -07:00
Mandy Chung
1465e16631 8130007: Update security tests to use Security.getProvider to get security provider
Co-authored-by: Valerie Peng <valerie.peng@oracle.com>
Reviewed-by: mullan
2015-06-29 11:38:36 -07:00
Anthony Scarpino
57a503e4fc 8073108: Use x86 and SPARC CPU instructions for GHASH acceleration
Reviewed-by: kvn, jrose
2015-06-17 17:41:04 -07:00
Mandy Chung
53a97cbeb3 8081347: Add @modules to jdk_core tests
Co-authored-by: Alexander Kulyakthin <alexander.kulyakhtin@oracle.com>
Co-authored-by: Alan Bateman <alan.bateman@oracle.com>
Reviewed-by: alanb, joehw, lancea
2015-05-28 10:54:48 -07:00
Zaiyao Liu
c7c5826bb2 8048599: Tests for key wrap and unwrap operations
Reviewed-by: xuelei
2015-05-21 09:35:26 +00:00
Joe Darcy
86c109e149 8078334: Mark regression tests using randomness
Reviewed-by: xuelei, alanb
2015-04-29 10:25:53 -07:00
Zaiyao Liu
02614afbd1 8044193: Need to add known answer tests for AES cipher
Added more tests for AES cipher using known test vectors.

Reviewed-by: valeriep
2015-03-06 00:49:38 +00:00
Zaiyao Liu
fae048d0e2 8048610: Implement regression test for bug fix of 4686632 in JCE
Reviewed-by: weijun
2015-03-04 16:26:49 +08:00
Florian Weimer
5c35079895 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-09 13:32:42 -08:00
Artem Smotrakov
e268dee361 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Zaiyao Liu
48d9e1f35e 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +00:00
Amanda Jiang
7ffa3cd669 8048819: Implement reliability test for DH algorithm
Added DH test for up-to-4 parties key exchange

Reviewed-by: valeriep
2014-12-12 00:19:17 +00:00
Felix Yang
d1ee28b070 8043836: Need new tests for AES cipher
Add AES cipher tests with various modes, padding schemes and read methods of CipherInputStream for SunJCE provider

Reviewed-by: valeriep
2014-08-08 17:47:50 +00:00
Rajan Halade
44c5f51ddf 8041781: Need new regression tests for PBE keys
Reviewed-by: xuelei
2014-07-10 03:07:48 +00:00
Valerie Peng
edc85c8e4c 8027575: b113 causing a lot of memory allocation and regression for wls_webapp_atomics
Reduce buffer allocation and do multiple cipher encryption/decryption calls.

Reviewed-by: xuelei, ascarpino
2014-07-01 20:35:43 +00:00
Xue-Lei Andrew Fan
2f501cd8a5 8028192: Use of PKCS11-NSS provider in FIPS mode broken
Reviewed-by: ahgross, ascarpino, asmotrak
2014-04-09 12:49:51 +00:00
Rajan Halade
56b41822fb 8033271: Manual security tests have @ignore rather than @run main/manual
Reviewed-by: xuelei, wetmore
2014-03-18 15:04:59 -07:00
Valerie Peng
be7c03049b 8026943: SQE test jce/Global/Cipher/SameBuffer failed
Always use different input/output buffers when calling FeedbackCipher objects

Reviewed-by: mullan
2013-11-19 15:29:56 -08:00
Dan Xu
f7db4eb56b 8027624: com/sun/crypto/provider/KeyFactory/TestProviderLeak.java unstable again
Reviewed-by: wetmore
2013-11-01 14:40:03 -07:00
Valerie Peng
a5add24f51 8012900: CICO ignores AAD in GCM mode
Change GCM decryption to not return result until tag verification passed

Reviewed-by: xuelei
2013-10-08 11:17:53 -07:00
Anthony Scarpino
6b3b53caa1 8022669: OAEPParameterSpec does not work if MGF1ParameterSpec is set to SHA2 algorithms
Reviewed-by: mullan
2013-08-14 10:50:52 -07:00
Anthony Scarpino
7adae55d1d 8020081: Cipher with OAEPPadding and OAEPParameterSpec can't be created
Reviewed-by: mullan
2013-08-12 11:25:42 -07:00
Anthony Scarpino
bc2fd2fe9c 6755701: SunJCE DES/DESede SecretKeyFactory.generateSecret throws InvalidKeySpecExc if passed SecretKeySpec
Reviewed-by: valeriep, wetmore, xuelei
2013-07-08 10:20:46 -07:00
Valerie Peng
3c38993366 8012637: Adjust CipherInputStream class to work in AEAD/GCM mode
Ensure the Cipher.doFinal() is called only once

Reviewed-by: xuelei
2013-07-05 13:53:37 -07:00
Valerie Peng
3ecc12a044 8013069: javax.crypto tests fail with new PBE algorithm names
Shouldn't auto-generate default parameters for MAC objects.

Reviewed-by: vinnie
2013-05-29 20:54:43 -07:00
Pasi Eronen
b888136f12 8014618: Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
Reviewed-by: xuelei
2013-05-30 22:02:43 -07:00
Anthony Scarpino
b1d5a4f3ab 8012056: SunJCEInstance needs to run in it's own vm
Reviewed-by: wetmore
2013-04-11 17:29:43 -07:00
Tony Scarpino
dbfbe6ca61 8001596: Incorrect condition check in PBKDF2KeyImpl.JAVA
Reviewed-by: wetmore
2013-04-11 18:00:23 +01:00
Tony Scarpino
080470408b 7171982: Cipher getParameters() throws RuntimeException: Cannot find SunJCE provider
Reviewed-by: vinnie, wetmore
2013-04-11 17:57:08 +01:00
Valerie Peng
96c5499439 6996769: support AEAD cipher
Added implementation for GCM mode under AES cipher

Reviewed-by: weijun
2013-01-07 11:11:54 -08:00
Vinnie Ryan
bd748175f8 6383200: PBE: need new algorithm support in password based encryption
Reviewed-by: valeriep
2012-11-05 20:18:05 +00:00
Alan Bateman
430592a30e 7197491: update copyright year to match last edit in jdk8 jdk repository
Reviewed-by: chegar, ksrini
2012-11-02 15:50:11 +00:00
Weijun Wang
7e677a587b 7196677: diff compares same file to itself in PaddingTest regression test
Reviewed-by: xuelei
2012-09-07 10:24:22 +08:00
Valerie Peng
a431f9851d 7044060: Need to support NSA Suite B Cryptography algorithms
Add support for DSA parameter generation and OIDs for NSA Suite B algorithms.

Reviewed-by: vinnie
2012-09-04 18:41:06 -07:00
Dan Xu
50bf3b7bdc 7177045: Rework the TestProviderLeak.java regression test, it is too fragile to low memory errors
Increase Xmx to 20 MB and add mechanisms to eat up most of the JVM free memory.

Reviewed-by: wetmore
2012-07-16 16:30:11 -07:00
Valerie Peng
879e30901e 4963723: Implement SHA-224
Add support for SHA-224, SHA224withRSA, SHA224withECDSA, HmacSHA224 and OAEPwithSHA-224AndMGF1Padding.

Reviewed-by: vinnie
2012-05-08 17:57:48 -07:00
Vinnie Ryan
43ef89d4a6 7087021: TEST: com/sun/crypto/provider/Mac/MacClone.java failed on Solaris sparc 5.10
Reviewed-by: mullan
2012-05-02 14:50:46 +01:00
Valerie Peng
3a8e9e6104 7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
Always return the secret in the same length as the modulus.

Reviewed-by: wetmore
2012-03-20 15:06:13 -07:00
Weijun Wang
a87de29538 6330275: Rework the PaddingTest regression test
Reviewed-by: wetmore, smarks
2011-07-22 10:25:46 +08:00
Weijun Wang
6619d1aec9 7055362: jdk_security2 test target cleanup
Reviewed-by: alanb
2011-06-23 09:27:11 +08:00