RFR: 8261462: GCM ByteBuffer decryption problems

Anthony Scarpino ascarpino at openjdk.java.net
Tue Feb 9 19:59:54 UTC 2021


Hi,

I need a review of these two simple fixes.  One just sets the input bytebuffer position to the limit upon completion of decryption.  The second calls the CipherCore method to clear the state from the previous operation.

Thanks

Tony

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

Commit messages:
 - Add test & revert error message
 - Fixes

Changes: https://git.openjdk.java.net/jdk/pull/2487/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2487&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8261462
  Stats: 154 lines in 3 files changed: 152 ins; 0 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2487.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2487/head:pull/2487

PR: https://git.openjdk.java.net/jdk/pull/2487



More information about the security-dev mailing list