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.