RFR 8171279: Support X25519 and X448 in TLS 1.3

Adam Petcher adam.petcher at oracle.com
Thu Sep 6 20:43:16 UTC 2018


On 9/6/2018 3:19 PM, Xuelei Fan wrote:

> I think I suggested to use NamedParameterSpec, which is a public API.
>
>    NamedParameterSpec -> name "x25519"
>        -> key size is the key size of x25519.
>
> Please let me know if the logic is wrong.

It's that last arrow that I still don't get. How does this code figure 
out that "X25519" -> 255 and "X448" -> 448? Perhaps you can reply with 
some code to illustrate how you think this should work.






More information about the security-dev mailing list