Commit Graph

34 Commits

Author SHA1 Message Date
Kevin Driver
605396280d 8343684: Test KDFDelayedProviderSyncTest.java intermittent fails didn't finish within the time-out 150
Reviewed-by: weijun, hchao, alanb
2024-11-08 16:59:26 +00:00
Kevin Driver
2a1ae0ff89 8331008: Implement JEP 478: Key Derivation Function API (Preview)
Co-authored-by: Rajan Halade <rhalade@openjdk.org>
Co-authored-by: Weijun Wang <weijun@openjdk.org>
Co-authored-by: Valerie Peng <valeriep@openjdk.org>
Reviewed-by: weijun, valeriep
2024-11-05 21:07:52 +00:00
Fernando Guallini
c82ad845e1 8342183: Update tests to use stronger algorithms and keys
Reviewed-by: rhalade, ascarpino
2024-11-01 17:52:20 +00:00
Fernando Guallini
f340ab2d36 8342181: Update tests to use stronger Key and Salt size
Reviewed-by: rhalade, ascarpino
2024-10-30 22:14:54 +00:00
Matthew Donovan
9a9ac1d005 8341927: Replace hardcoded security providers with new test.provider.name system property
Reviewed-by: mullan, ascarpino, rhalade
2024-10-30 18:51:02 +00:00
SendaoYan
d130d2f4f4 8333477: Delete extra empty spaces in Makefiles
Reviewed-by: erikj, chagedorn, liach, jwaters
2024-06-07 13:36:05 +00:00
Weijun Wang
9fd855ed47 8322971: KEM.getInstance() should check if a 3rd-party security provider is signed
Reviewed-by: mullan, valeriep
2024-01-11 13:45:40 +00:00
Erik Joelsson
020255a72d 8267174: Many test files have the wrong Copyright header
Reviewed-by: valeriep, aivanov, iris, dholmes, ihse
2023-09-12 20:16:05 +00:00
Sibabrata Sahoo
aeb53e67f9 8308711: Develop additional Tests for KEM implementation
Reviewed-by: weijun
2023-06-02 08:13:12 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Sergey Chernyshev
a284920b34 8168469: Memory leak in JceSecurity
Reviewed-by: valeriep
2023-05-12 19:24:45 +00:00
Bill Huang
a3693ccc61 8295087: Manual Test to Automated Test Conversion
Reviewed-by: ssahoo, rhalade
2022-12-22 16:50:59 +00:00
Weijun Wang
68d3ed5cee 8296442: EncryptedPrivateKeyInfo can be created with an uninitialized AlgorithmParameters
Reviewed-by: xuelei, kdriver, mullan
2022-11-16 20:30:34 +00:00
Bradford Wetmore
791fc5791a 6383195: javax.crypto.spec.PBEKeySpec is not thread safe
Reviewed-by: weijun
2022-07-28 22:04:44 +00:00
Hai-May Chao
8f400b9aab 8286779: javax.crypto.CryptoPolicyParser#isConsistent always returns 'true'
Reviewed-by: mullan, rhalade
2022-06-13 15:31:58 +00:00
Naoto Sato
d6b4693c05 8283698: Refactor Locale constructors used in src/test
Reviewed-by: iris, joehw
2022-04-08 15:23:25 +00:00
Valerie Peng
80dc262e81 8265500: Some impls of javax.crypto.Cipher.init() do not throw UnsupportedOperationExc for unsupported modes
Reviewed-by: xuelei
2021-06-17 23:27:54 +00:00
Valerie Peng
136badb1f7 8248268: Support KWP in addition to KW
Reviewed-by: xuelei
2021-06-02 21:31:57 +00:00
Sibabrata Sahoo
20ad428974 8180568: Refactor javax/crypto shell tests to plain java tests
Reviewed-by: wetmore
2021-05-06 05:50:22 +00:00
Sibabrata Sahoo
343a4a76f2 8185127: Add tests to cover hashCode() method for java supported crypto key types
Reviewed-by: valeriep
2021-04-28 09:48:16 +00:00
Sean Mullan
91b08b733e 8261779: JCK test api/javax_crypto/EncryptedPrivateKeyInfo/Ctor4.html is failing with assertion error when assertions enabled
Reviewed-by: rhalade, pkoppula, mschoene, weijun
2021-04-20 21:45:53 +00:00
Anthony Scarpino
414ee95b8e 8261462: GCM ByteBuffer decryption problems
Reviewed-by: valeriep
2021-03-08 21:28:07 +00:00
Roger Riggs
628c546bea 8258796: [test] Apply HexFormat to tests for java.security
Reviewed-by: xuelei
2021-01-08 21:32:54 +00:00
Anthony Scarpino
70517c83c2 8257642: CipherByteBufferOverwriteTest copyright issue
Reviewed-by: xuelei, wetmore
2020-12-03 16:29:16 +00:00
Anthony Scarpino
cc1915b3b3 8253821: Improve ByteBuffer performance with GCM
Reviewed-by: xuelei, valeriep
2020-12-02 23:10:32 +00:00
Sibabrata Sahoo
a953a0f4ab 8247968: test/jdk/javax/crypto/SecretKeyFactory/security.properties has wrong header
Wrong copyright header removed

Reviewed-by: weijun
2020-06-25 06:12:29 -07:00
Mikael Vidstedt
071bd521bc 8244224: Implementation of JEP 381: Remove the Solaris and SPARC Ports
Reviewed-by: alanb, bchristi, dcubed, dfuchs, eosterlund, erikj, glaubitz, ihse, iignatyev, jjiang, kbarrett, ksrini, kvn, naoto, prr, rriggs, serb, sspitsyn, stefank, tschatzl, valeriep, weijun, weijun
2020-05-20 17:33:37 -07:00
Valerie Peng
6b662abe74 8180392: SunJCE provider should throw exceptions for unsupported mode and padding combinations
Change JCA Cipher class to create obj to ensure the mode and padding combination is supported

Reviewed-by: xuelei
2019-07-25 02:16:49 +00:00
Valerie Peng
29215b987b 8181386: CipherSpi ByteBuffer to byte array conversion fails for certain data overlap conditions
Detect potential buffer overlap and use extra buffer if necessary

Reviewed-by: xuelei
2019-07-10 18:43:45 +00:00
Jamil Nimeh
de75770ce9 8218723: Use SunJCE Mac in SecretKeyFactory PBKDF2 implementation
Reviewed-by: apetcher
2019-03-18 15:26:59 -07:00
Sean Coffey
63b433923c 8210838: Override javax.crypto.Cipher.toString()
Reviewed-by: mullan, weijun
2018-11-19 09:56:42 +00:00
Valerie Peng
c3a97b27e2 8178374: Problematic ByteBuffer handling in CipherSpi.bufferCrypt method
Updated the impl and added reg test to cover all 4 combinations of ByteBuffers

Reviewed-by: ascarpino
2018-06-11 21:56:58 +00:00
Lance Andersen
987c3a2d87 8190378: Removal of CORBA and Java EE modules
Reviewed-by: rriggs, alanb, mchung, erikj, goetz
2018-02-10 07:06:16 -05:00
Erik Joelsson
3789983e89 8187443: Forest Consolidation: Move files to unified layout
Reviewed-by: darcy, ihse
2017-09-12 19:03:39 +02:00