Use CRC32C checksum instead of Adler32 for stateless session ticket to reduce 
the chance of collision. CRC32C also runs faster on modern hardware (special 
hardware instructions on Intel, ARM etc).

The checksum is used to fingerprint the local certificate chain: 32bit checksum 
value is included in the ticket for each certificate in the chain to save space.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8386203: Use CRC32C checksum instead of Adler32 for stateless session ticket

Changes: https://git.openjdk.org/jdk/pull/31428/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31428&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8386203
  Stats: 5 lines in 1 file changed: 0 ins; 0 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/31428.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31428/head:pull/31428

PR: https://git.openjdk.org/jdk/pull/31428

Reply via email to