Code Review Request, JDK-8216045 The size of key_exchange may be wrong on FFDHE

Xue-Lei Fan xuelei.fan at oracle.com
Tue Jan 15 15:45:55 UTC 2019


Hi,

Could I have the update reviewed?
    http://cr.openjdk.java.net/~xuelei/8216045/webrev.00/

While getting the encoded public key for DH key exchange,  the leading 
zeros of the key are not trimmed and the key bit size is used for byte size.

John helped to verify the fix with the infra testing and fuzzing 
testing.  I did not add a new unit test as it is not straightforward.

Thanks,
Xuelei



More information about the security-dev mailing list