Commit graph

168 commits

Author SHA1 Message Date
Daniel Jeliński
a0e5e16afb 8325162: Remove duplicate GCMParameters class
Reviewed-by: weijun, valeriep
2024-02-15 11:27:00 +00:00
Joe Darcy
fbd15b2087 8325189: Enable this-escape javac warning in java.base
Reviewed-by: alanb, erikj, naoto, smarks, ihse, joehw, lancea, weijun
2024-02-07 20:05:11 +00:00
Ferenc Rakoczi
bf7bd9a16c 8317547: Enhance TLS connection support
Reviewed-by: ahgross, rhalade, weijun, valeriep
2024-01-16 05:55:56 +00:00
Matthias Baesken
1369c545ac 8322782: Clean up usages of unnecessary fully qualified class name "java.util.Arrays"
Reviewed-by: alanb, aivanov
2024-01-04 08:06:14 +00:00
John Jiang
2a59243cba 8322734: A redundant return in method padWithLen
Reviewed-by: jiefu
2023-12-27 02:31:50 +00:00
Anthony Scarpino
dc9c77bebe 8318756: Create better internal buffer for AEADs
Reviewed-by: djelinski
2023-12-06 18:09:10 +00:00
Smita Kamath
1740950036 8314901: AES-GCM interleaved implementation using AVX2 instructions
Reviewed-by: sviswanathan, djelinski
2023-10-19 18:27:51 +00:00
Andrey Turbanov
4e77b3c378 8315974: Make fields final in 'com.sun.crypto.provider' package
Reviewed-by: valeriep
2023-10-18 08:28:23 +00:00
Bradford Wetmore
adca97b659 8286503: Enhance security classes
Reviewed-by: rhalade, mullan, skoivu, weijun
2023-10-17 22:45:06 +00:00
Weijun Wang
5145e5a40a 8318328: DHKEM should check XDH name in case-insensitive mode
Reviewed-by: ascarpino, hchao
2023-10-17 19:36:17 +00:00
Kevin Driver
e882718a60 8314199: Initial size PBEKeyFactory#validTypes is not up-to-date
Reviewed-by: jnimeh
2023-10-10 05:43:12 +00:00
Valerie Peng
2436fb010e 8312306: Add more Reference.reachabilityFence() calls to the security classes using Cleaner
Reviewed-by: ascarpino
2023-08-31 20:40:25 +00:00
Liam Miller-Cushon
f41c267f85 8314045: ArithmeticException in GaloisCounterMode
Co-authored-by: Ioana Nedelcu <ioannanedelcu@google.com>
Reviewed-by: ascarpino
2023-08-14 15:51:18 +00:00
Pavel Rappo
19ae62ae2c 8311170: Simplify and modernize equals and hashCode in security area
Reviewed-by: djelinski, rriggs, valeriep
2023-08-09 12:34:40 +00:00
Valerie Peng
c27c87786a 8302017: Allocate BadPaddingException only if it will be thrown
Reviewed-by: xuelei
2023-07-27 21:24:03 +00:00
Valerie Peng
28c4d196cf 8311902: Concurrency regression in the PBKDF2 key impl of SunJCE provider
Reviewed-by: ascarpino, xuelei, mullan
2023-07-18 21:35:41 +00:00
Martin Balao
4a75fd462c 8301553: Support Password-Based Cryptography in SunPKCS11
Co-authored-by: Francisco Ferrari Bihurriet <fferrari@redhat.com>
Co-authored-by: Martin Balao <mbalao@openjdk.org>
Reviewed-by: valeriep
2023-06-06 19:39:34 +00:00
Weijun Wang
6b90b0519e 8297878: KEM: Implementation
Reviewed-by: ascarpino, mullan
2023-05-30 16:29:19 +00:00
Jamil Nimeh
bb0ff48aa9 8305091: Change ChaCha20 cipher init behavior to match AES-GCM
Reviewed-by: djelinski, ascarpino
2023-05-23 14:31:08 +00:00
Aleksey Shipilev
6765761075 8308118: Avoid multiarray allocations in AESCrypt.makeSessionKey
Reviewed-by: xuelei
2023-05-19 06:53:50 +00:00
Valerie Peng
4ce493f09e 8302225: SunJCE Provider doesn't validate key sizes when using 'constrained' transforms for AES/KW and AES/KWP
Reviewed-by: xuelei
2023-02-16 21:58:34 +00:00
Valerie Peng
7eff578768 8288050: Add support of SHA-512/224 and SHA-512/256 to the PBKDF2 and PBES2 impls in SunJCE provider
Reviewed-by: weijun
2023-01-26 22:07:31 +00:00
Valerie Peng
0f925fefdf 8295723: security/infra/wycheproof/RunWycheproof.java fails with Assertion Error
Reviewed-by: mschoene, ascarpino, coffeys, rhalade, weijun
2023-01-17 20:58:59 +00:00
Valerie Peng
6c5aefe60c 8293554: Enhanced DH Key Exchanges
Reviewed-by: rhalade, mschoene, ascarpino, weijun
2023-01-17 20:58:59 +00:00
Anthony Scarpino
b4da0ee706 8296507: GCM using more memory than necessary with in-place operations
Reviewed-by: jnimeh
2022-12-06 21:37:12 +00:00
Volodymyr Paprotski
203251ffc0 8297379: Enable the ByteBuffer path of Poly1305 optimizations
Reviewed-by: sviswanathan, ascarpino, jnimeh
2022-12-06 16:47:45 +00:00
Per Minborg
84b927a05b 8296024: Usage of DirectBuffer::address should be guarded
Reviewed-by: mcimadamore, alanb, psandoz, bpb
2022-12-06 10:42:59 +00:00
Jamil Nimeh
cd6bebbf34 8247645: ChaCha20 intrinsics
Reviewed-by: sviswanathan, ngasson, vlivanov, ascarpino
2022-11-29 14:40:20 +00:00
Weijun Wang
2deb318c9f 8297065: DerOutputStream operations should not throw IOExceptions
Reviewed-by: mullan, valeriep
2022-11-29 12:57:46 +00:00
Valerie Peng
6dc4d891c3 7181214: Need specify SKF translateKey(SecurityKey) method requires instance of PBEKey for PBKDF2 algorithms
Reviewed-by: xuelei, weijun
2022-11-23 18:49:35 +00:00
Volodymyr Paprotski
f12710e938 8288047: Accelerate Poly1305 on x86_64 using AVX512 instructions
Reviewed-by: sviswanathan, vlivanov
2022-11-21 21:01:25 +00:00
Weijun Wang
27527b4975 8296612: CertAttrSet is useless
Reviewed-by: mullan
2022-11-10 22:23:58 +00:00
Xue-Lei Andrew Fan
d6468be81f 8293886: The abstract keyword can be removed in AESCipher
Reviewed-by: ascarpino, wetmore
2022-11-10 17:51:03 +00:00
Hai-May Chao
5a8e5ea3e2 8286526: Improve NTLM support
Reviewed-by: weijun, rhalade
2022-10-18 22:41:15 +00:00
Xue-Lei Andrew Fan
3c7ae1225f 8294821: Class load improvement for AES crypto engine
Reviewed-by: valeriep
2022-10-11 16:23:02 +00:00
Xue-Lei Andrew Fan
f2c57186a4 8294734: Redundant override in AES implementation
Reviewed-by: valeriep, wetmore
2022-10-05 17:25:58 +00:00
Xue-Lei Andrew Fan
ecb456ae29 8293779: redundant checking in AESCrypt.makeSessionKey() method
Reviewed-by: djelinski, hchao, mullan
2022-09-15 15:06:27 +00:00
Kevin Driver
0bcf17674e 6227536: KeyGenerator.init() methods do not throw IllegalArgumentException for keysize == 0
Reviewed-by: wetmore
2022-07-29 20:30:28 +00:00
Andrey Turbanov
87aa3ce03e 8289274: Cleanup unnecessary null comparison before instanceof check in security modules
Reviewed-by: mullan
2022-07-09 17:59:43 +00:00
Kevin Driver
44e8c462b4 8289603: Code change for JDK-8170762 breaks all build
Reviewed-by: weijun
2022-07-01 22:01:55 +00:00
Kevin Driver
2dd00f580c 8170762: Document that ISO10126Padding pads with random bytes
Reviewed-by: weijun
2022-07-01 21:28:44 +00:00
XenoAmess
e01cd7c3ed 8284780: Need methods to create pre-sized HashSet and LinkedHashSet
Reviewed-by: naoto, bpb, dfuchs, ascarpino
2022-06-09 01:50:54 +00:00
Valerie Peng
61ddbef368 8002277: Refactor two PBE classes to simplify maintenance
Reviewed-by: weijun
2022-05-17 20:55:34 +00:00
Roger Riggs
17c52789b7 8286378: Address possibly lossy conversions in java.base
Reviewed-by: naoto, xuelei, bpb, alanb
2022-05-12 16:50:36 +00:00
Weijun Wang
397d095f66 8285743: Ensure each IntegerPolynomial object is only created once
Reviewed-by: xuelei, ascarpino
2022-05-09 17:18:34 +00:00
Smita Kamath
3416bfa256 8283022: com/sun/crypto/provider/Cipher/AEAD/GCMBufferTest.java failing with -Xcomp after 8273297
Reviewed-by: ascarpino
2022-04-25 22:45:00 +00:00
Magnus Ihse Bursie
fb469fb894 8284893: Fix typos in java.base
Reviewed-by: iris, wetmore, lancea, mullan, naoto
2022-04-19 20:07:57 +00:00
Andrey Turbanov
8e58d4a589 8284415: Collapse identical catch branches in security libs
Reviewed-by: coffeys, xuelei, wetmore
2022-04-07 10:00:08 +00:00
Valerie Peng
313bc7f64f 8267319: Use larger default key sizes and algorithms based on CNSA
Reviewed-by: weijun, xuelei
2022-03-24 22:50:26 +00:00
Andrey Turbanov
80415e04c5 8282534: Remove redundant null check in ChaCha20Cipher.engineInit
Reviewed-by: xuelei
2022-03-19 13:31:50 +00:00