Re: EC weirdness

2018-07-23 Thread Adam Petcher
On 7/19/2018 3:36 PM, Michael StJohns wrote: On 7/16/2018 4:42 PM, Adam Petcher wrote: Though it has the additional benefit... Actually... The implementation may also need... Nope... I think that you interpreted my statements a bit more specifically that I intended. I was speaking in

Re: EC weirdness

2018-07-19 Thread Michael StJohns
On 7/16/2018 4:42 PM, Adam Petcher wrote: I think the reason for the hard-coded curves is largely historical, and I don't know of a security-related reason for it (other than the prevention of insecure parameters). Though it has the additional benefit that it simplifies the interface a lot,

EC weirdness

2018-07-13 Thread Michael StJohns
Hi - Every so often I run into some rather strange things in the way the Sun EC classes were built.  Most recently, I was trying to use the SunEC provider to do a PACE like protocol.  Basically, the idea was to be able to generate public key points on the P-256 curve, but with a different