> 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: Fix minor issues in getIV() and post-encryption getParameters() behavior ------------- Changes: - all: https://git.openjdk.java.net/jdk/pull/1644/files - new: https://git.openjdk.java.net/jdk/pull/1644/files/b9a24482..0f74545b Webrevs: - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1644&range=02 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1644&range=01-02 Stats: 35 lines in 2 files changed: 31 ins; 0 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