RFR: 8255410: Add ChaCha20 and Poly1305 support to SunPKCS11 provider
Valerie Peng
valeriep at openjdk.java.net
Fri Apr 9 17:19:13 UTC 2021
Could someone (perhaps Jamil?) please help review this change? This enhances SunPKCS11 provider with ChaCha20-Poly1305 cipher and ChaCha20 key generation support. Majority of the regression tests are adapted from the existing ones for SunJCE provider's ChaCha20-Poly1305 cipher impl. When testing against NSS v3.57, it does not have support for ChaCha20 cipher, thus I did not add support for ChaCha20 cipher and the corresponding parameter.
Thanks!
Valerie
-------------
Commit messages:
- 8255410: Add ChaCha20 and Poly1305 support to SunPKCS11 provider
Changes: https://git.openjdk.java.net/jdk/pull/3420/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3420&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8255410
Stats: 1513 lines in 14 files changed: 1406 ins; 30 del; 77 mod
Patch: https://git.openjdk.java.net/jdk/pull/3420.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3420/head:pull/3420
PR: https://git.openjdk.java.net/jdk/pull/3420
More information about the security-dev
mailing list