<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi Dmitry,<br>
<br>
Thanks for the response. I suppose I have to do the same thing as
well then.<br>
<br>
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 require the whole custom PKEY to be set up. Do
you know?<br>
<br>
Best regards,<br>
Reinier<br>
<br>
On 6/26/15 12:51 PM, Dmitry Belyavsky wrote:<br>
</div>
<blockquote
cite="mid:CADqLbz+Da87X7R8zjL2FPatrFVxh-HfHDF4vuKfPnRDdQiQieQ@mail.gmail.com"
type="cite">
<div dir="ltr">Hello Reinier,
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Jun 26, 2015 at 7:47 PM,
Reinier Torenbeek <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:reinier.torenbeek@gmail.com"
target="_blank"
onclick="window.open('https://mail.google.com/mail/?view=cm&tf=1&to=reinier.torenbeek@gmail.com&cc=&bcc=&su=&body=','_blank','location=yes,menubar=yes,resizable=yes,width=800,height=600');return
false;">reinier.torenbeek@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
The mechanism for implementing ECDSA in my own engine is
unclear to me.<br>
Unfortunately, none of the example engines implement ECDSA
so it is hard<br>
for me to find answers.<br>
<br>
Invoking ENGINE_set_ECDSA() does not seem to be
sufficient: my setup,<br>
sign and verify methods never get invoked. Stepping
through the openssl<br>
code, it looks like I also need to register my own
EVP_PKEY_EC method.<br>
That looks pretty complicated and I do not understand why
that is<br>
required in the first place if I only want to replace the
ECDSA signing<br>
and verification methods.<br>
<br>
Can someone confirm that registering my own EVP_PKEY_EC
method is indeed<br>
the approach I have to take, or is there a shorter path to
achieve my goal?<br>
</blockquote>
<div><br>
</div>
<div>I did not find a way shorter then provide own
EVP_PKEY_METHOD. But it works for me this way. </div>
</div>
<div><br>
</div>
-- <br>
<div class="gmail_signature">SY, Dmitry Belyavsky</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
openssl-users mailing list
To unsubscribe: <a class="moz-txt-link-freetext" href="https://mta.openssl.org/mailman/listinfo/openssl-users">https://mta.openssl.org/mailman/listinfo/openssl-users</a>
</pre>
</blockquote>
<br>
</body>
</html>