44 Commits

Author SHA1 Message Date
Valerie Peng
e281099d2f 8170245: [TEST_BUG] Cipher tests fail when running with unlimited policy
Updated the failed cipher tests to work under unlimited policy

Reviewed-by: xuelei
2016-12-05 23:23:27 +00:00
Alan Bateman
fbe85300bf 8169069: Module system implementation refresh (11/2016)
Co-authored-by: Mandy Chung <mandy.chung@oracle.com>
Co-authored-by: Claes Redestad <claes.redestad@oracle.com>
Co-authored-by: Mark Reinhold <mark.reinhold@oracle.com>
Reviewed-by: plevart, chegar, psandoz, mchung, alanb, dfuchs, naoto, coffeys, weijun
2016-12-01 08:57:53 +00:00
Martin Buchholz
6b29ad4ffc 8166976: TestCipherPBECons has wrong @run line
Reviewed-by: snikandrova, wetmore, rasbold
2016-09-30 10:30:57 -07:00
Artem Kosarev
1fedf2692e 8157603: TestCipher.java doesn't check one of the decrypted message as expected
Reviewed-by: valeriep
2016-06-07 08:54:46 -07:00
Vinnie Ryan
3698f154bf 8151149: CipherSpi implementation of PBEWithSHA1AndDESede returns key size in bytes
Reviewed-by: xuelei
2016-03-07 14:52:36 +00:00
Alan Bateman
3573d65040 8148147: Sync up @modules from jigsaw/jake
Reviewed-by: chegar, mchung
2016-01-25 19:01:19 +00:00
Bhanu Prakash Gopularam
298315e8f8 8133085: Avoid creating instances of security providers when possible
Reviewed-by: mullan
2016-01-20 09:21:57 -08:00
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
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
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
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
Zaiyao Liu
48d9e1f35e 8048607: Test key generation of DES and DESEDE
Reviewed-by: xuelei
2015-01-07 03:59:06 +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
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
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
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
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
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
fe008ae27a 6943119: Rebrand source copyright notices
Reviewed-by: darcy, weijun
2010-05-25 15:58:33 -07:00
J. Duke
319a3b9947 Initial load 2007-12-01 00:00:00 +00:00