> This fix corrects a problem where ChaCha20-Poly1305 objects prior to init > throw NPE when getParameters() is called. It will now generate parameters > containing a random nonce on each pre-init call to getParameters(). > Post-initialization calls to the getParameters() method will always return > the same set of parameters until the next initialization occurs.
Jamil Nimeh has updated the pull request incrementally with one additional commit since the last revision: pre-init getParameters nonce data is now a local variable ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/1644/files - new: https://git.openjdk.java.net/jdk/pull/1644/files/56fd18c7..b9a24482 Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1644&range=01 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1644&range=00-01 Stats: 5 lines in 1 file changed: 0 ins; 1 del; 4 mod Patch: https://git.openjdk.java.net/jdk/pull/1644.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1644/head:pull/1644 PR: https://git.openjdk.java.net/jdk/pull/1644