Re: Refactoring TLS code

2020-05-27 Thread Xuelei Fan
Hi Ben, The tutorial is impressive to me. Thanks for the reporting, I filed a RFE for the tracking: https://bugs.openjdk.java.net/browse/JDK-8245983 Xuelei On 5/27/2020 7:23 AM, Ben Smyth wrote: I have written a TLS 1.3 tutorial (https://bensmyth.com/publications/2019-TLS-tutorial/) which

Refactoring TLS code

2020-05-27 Thread Ben Smyth
I have written a TLS 1.3 tutorial ( https://bensmyth.com/publications/2019-TLS-tutorial/) which includes source code from JDK 11. Whilst explaining the code, I noticed some possible refactoring that would simplify the (JDK 11 & current) code base: - createHkdfInfo is defined three times: SSLBasicK