Commit Graph

56 Commits

Author SHA1 Message Date
Sean Coffey e0d57be4b0 8209129: Further improvements to cipher buffer management
Reviewed-by: weijun, igerasim
2018-08-24 09:50:23 +01:00
Ivan Gerasimov 0923bed25a 8158116: com/sun/crypto/provider/KeyAgreement/SupportedDHParamGens.java failed with timeout
Reviewed-by: xuelei
2017-11-14 18:27:43 -08:00
Ivan Gerasimov f9dacef22f 8185292: Stricter key generation
Reviewed-by: mullan
2017-11-04 17:23:38 -07:00
Valerie Peng de44a79d78 8170245: [TEST_BUG] Cipher tests fail when running with unlimited policy
Updated the failed cipher tests to work under unlimited policy

Reviewed-by: xuelei
2017-08-16 17:05:57 +01:00
Sean Coffey c5042ff7d8 8072452: Support DHE sizes up to 8192-bits and DSA sizes up to 3072-bits
8154344: sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java fails on solaris

Reviewed-by: xuelei
2017-10-23 02:28:19 -07:00
Ivan Gerasimov 0b3f92d8c6 8178466: Better RSA parameters
Reviewed-by: mullan, ahgross
2017-09-07 16:12:33 -07:00
Artem Kosarev 0819f0a2b8 8157603: TestCipher.java doesn't check one of the decrypted message as expected
Reviewed-by: valeriep
2016-06-07 08:54:46 -07:00
Rajan Halade d7c1afb010 8048601: Tests for JCE crypto ciphers (part 1)
Reviewed-by: valeriep
2015-08-28 13:35:54 -07:00
Artem Kosarev 23b1cde419 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
2016-06-17 12:59:14 +00:00
Zaiyao Liu 7654e37430 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
Artem Smotrakov fc7bb28596 8048603: Additional tests for MAC algorithms
Reviewed-by: valeriep
2015-01-13 14:26:34 +03:00
Svetlana Nikandrova 595ed6aa19 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
2016-04-14 16:37:42 +03:00
Zaiyao Liu c8ad3dda63 8048610: Implement regression test for bug fix of 4686632 in JCE
Reviewed-by: weijun
2015-03-04 16:26:49 +08:00
Sha Jiang c86001de5a 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
Amanda Jiang aac508e2df 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
Artem Smotrakov b06e6b8d9f 8048596: Tests for AEAD ciphers
Reviewed-by: valeriep
2015-07-25 08:50:45 +03:00
Valerie Peng 88acdc503b 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 f50b025c86 8048604: Tests for strong crypto ciphers
SQE test co-location effort

Reviewed-by: valeriep
2015-09-23 21:28:14 +00:00
rhalade ba23d3f56f 8041787: Need new regressions tests for buffer handling for PBE algorithms
Reviewed-by: vinnie
2015-07-15 18:12:48 +01:00
Zaiyao Liu d8abfe9f97 8048599: Tests for key wrap and unwrap operations
Reviewed-by: xuelei
2015-05-21 09:35:26 +00:00
Zaiyao Liu cdaf33795a 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +00:00
Rajan Halade 6c06d45280 8041781: Need new regression tests for PBE keys
Reviewed-by: xuelei
2014-07-10 03:07:48 +00:00
Weijun Wang 78e2220c97 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 5b160aac1b 8076040: Test com/sun/crypto/provider/KeyFactory/TestProviderLeak.java fails with -XX:+UseG1GC
Reviewed-by: darcy
2015-07-02 09:19:42 +08:00
Anthony Scarpino cbc81f56ac 8069072: GHASH performance improvement
Eliminate allocations and vectorize

Reviewed-by: mullan, ascarpino
2015-02-12 09:45:08 -08:00
Xue-Lei Andrew Fan fa8308bccd 8028192: Use of PKCS11-NSS provider in FIPS mode broken
Reviewed-by: ahgross, ascarpino, asmotrak
2014-05-07 01:17:11 +00: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
Kelly O'Hair 6b6a611c8e 6962318: Update copyright year
Reviewed-by: xdono
2010-12-28 15:53:50 -08:00