RFR: 8255410: Add ChaCha20 and Poly1305 support to SunPKCS11 provider [v2]

Valerie Peng valeriep at openjdk.java.net
Fri Apr 9 17:33:07 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

Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:

  Removed CKM_CHACHA20 when registering ChaCha20 SecretKeyFactory service

-------------

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3420/files
  - new: https://git.openjdk.java.net/jdk/pull/3420/files/5702b63b..d0f16238

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=3420&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=3420&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 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