Re: [openssl-users] Implementing ECDSA in an engine

2015-06-27 Thread Reinier Torenbeek
Hello Steve, Thank you for the response. The ECDSA_set_default_method() indeed sets up the functionality as you describe below and that seems to be good enough for me (for now...). Best regards, Reinier On 6/26/15 4:25 PM, Dr. Stephen Henson wrote: > On Fri, Jun 26, 2015, Reinier Torenbeek wrote

Re: [openssl-users] Implementing ECDSA in an engine

2015-06-26 Thread Dr. Stephen Henson
On Fri, Jun 26, 2015, Reinier Torenbeek wrote: > > The mechanism for implementing ECDSA in my own engine is unclear to me. > Unfortunately, none of the example engines implement ECDSA so it is hard > for me to find answers. > > Invoking ENGINE_set_ECDSA() does not seem to be sufficient: my setup

Re: [openssl-users] Implementing ECDSA in an engine

2015-06-26 Thread Dmitry Belyavsky
Hello Reinier, No, I do not. And may be for your purposes you can use this or that ECDSA_METHOD setting it into the EC_KEY struct. On Fri, Jun 26, 2015 at 9:09 PM, Reinier Torenbeek < reinier.torenb...@gmail.com> wrote: > Hi Dmitry, > > Thanks for the response. I suppose I have to do the same t

Re: [openssl-users] Implementing ECDSA in an engine

2015-06-26 Thread Reinier Torenbeek
Hi Dmitry, Thanks for the response. I suppose I have to do the same thing as well then. I wonder why the ECDSA_METHOD structure and the associated mechanism to insert it into an engine is so much different from the DSA_METHOD struct. The latter seems more straightforward to use and does not requi

Re: [openssl-users] Implementing ECDSA in an engine

2015-06-26 Thread Dmitry Belyavsky
Hello Reinier, On Fri, Jun 26, 2015 at 7:47 PM, Reinier Torenbeek < reinier.torenb...@gmail.com> wrote: > Hi, > > The mechanism for implementing ECDSA in my own engine is unclear to me. > Unfortunately, none of the example engines implement ECDSA so it is hard > for me to find answers. > > Invoki

[openssl-users] Implementing ECDSA in an engine

2015-06-26 Thread Reinier Torenbeek
Hi, The mechanism for implementing ECDSA in my own engine is unclear to me. Unfortunately, none of the example engines implement ECDSA so it is hard for me to find answers. Invoking ENGINE_set_ECDSA() does not seem to be sufficient: my setup, sign and verify methods never get invoked. Stepping th