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

Valerie Peng valeriep at openjdk.java.net
Thu Apr 22 23:51:00 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:

  Added more tests for checking IV values and interop test w/ SunJCE
  provider.

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/3420/files
  - new: https://git.openjdk.java.net/jdk/pull/3420/files/2e3b7968..17131ecc

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

  Stats: 142 lines in 2 files changed: 119 ins; 7 del; 16 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