RFR: 8283022: com/sun/crypto/provider/Cipher/AEAD/GCMBufferTest.java failing with -Xcomp after 8273297 [v2]

Smita Kamath svkamath at openjdk.java.net
Mon Apr 18 20:43:06 UTC 2022


> When input length provided to the intrinsic is 8192, only 7680 bytes are processed as the intrinsic operates on multiples of 768 bytes.
> In implGCMCrypt(ByteBuffer src, ByteBuffer dst) method, 
> dst.put(bout, 0, PARALLEL_LEN) statement caused the ciphertext mismatch as PARALLEL_LEN was set to 8192. 
> Since the intrinsic only processed 7680 bytes, the rest output was incorrect.

Smita Kamath has updated the pull request incrementally with one additional commit since the last revision:

  Updated copyright year

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/8280/files
  - new: https://git.openjdk.java.net/jdk/pull/8280/files/ca08ccd9..3c917fab

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

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/8280.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/8280/head:pull/8280

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



More information about the security-dev mailing list