<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hey Hi,</p>
<p>I'm using 1.0.2n version of openSSL currently. </p>
<p>I'm using it on ubuntu 16.04, processor is i7 - 6700 Skylake.</p>
<p>Actually I  understand that the code <a href="https://wiki.openssl.org/index.php/Elliptic_Curve_Diffie_Hellman" class="x_OWAAutoLink" id="LPlnk409965">https://wiki.openssl.org/index.php/Elliptic_Curve_Diffie_Hellman</a>  has omitted t<span style="font-family:sans-serif; font-size:12.7px">he
 details of how to obtain the other party's key (the peer key) . </span></p>
<p><span style="font-family:sans-serif; font-size:12.7px">So is there any code available online which can be used to benchmark the execution time of the ecdh implementation of OpenSSL ? Is someone aware of that ?</span></p>
<p><span style="font-family:sans-serif; font-size:12.7px"><br>
</span></p>
<p><span style="font-family:sans-serif; font-size:12.7px">Then please let me know.</span></p>
<p><br>
</p>
<div id="x_Signature">
<div class="x_BodyFragment"><font size="2"><span style="font-size:10pt">
<div class="x_PlainText">Thanks and regards <br>
Tanushree Banerjee </div>
</span></font></div>
</div>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> openssl-users <openssl-users-bounces@openssl.org> on behalf of Dennis Clarke <dclarke@blastwave.org><br>
<b>Sent:</b> Saturday, March 24, 2018 7:15:57 PM<br>
<b>To:</b> openssl-users@openssl.org<br>
<b>Subject:</b> Re: [openssl-users] Request for help in research</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">On 24/03/18 06:10 PM, Tanushree Banerjee wrote:<br>
> Hello,<br>
> <br>
> I was looking for benchmarking the execution time of Elliptic Curve <br>
> based Diffie Hellman of the OpenSSL implementation in C just for my own <br>
> purpose of understanding.<br>
<br>
A few more specifics would be helpful here.<br>
<br>
> |in command line. And it does give me some average timing. )|<br>
><br>
<br>
Your results here would be portable across systems however one would<br>
need to know the nature of the build and the architecture. I often<br>
single step through functions and thus use non-optimized debug builds<br>
which are vastly slower than a regular optimal build. Also the asm code<br>
simply does not exist on some architectures like sparc ( non T4 ) or<br>
some older powerpc types.<br>
<br>
<br>
> ||I also tried this code -><br>
> <br>
> The code over here gives me a bunch of error<br>
<br>
That isn't too clear. How are you calling ecdh() and with what test data?<br>
<br>
> Is there any other reliable source that has been used before ? If <br>
> someone knows can you please forward me or let me know? That would be <br>
> extremely helpful. Thank you for your patience.<br>
<br>
Hey there UofW type, what rev of openssl are you using?  Should I assume<br>
that you have "OpenSSL 1.1.0g  2 Nov 2017" on some reasonable<br>
architecture?<br>
<br>
Dennis Clarke<br>
number cruncher math geek<br>
-- <br>
openssl-users mailing list<br>
To unsubscribe: <a href="https://mta.openssl.org/mailman/listinfo/openssl-users">
https://mta.openssl.org/mailman/listinfo/openssl-users</a><br>
</div>
</span></font>
</body>
</html>