[openssl-users] Request for help in research

Dennis Clarke dclarke at blastwave.org
Sat Mar 24 23:15:57 UTC 2018


On 24/03/18 06:10 PM, Tanushree Banerjee wrote:
> Hello,
> 
> I was looking for benchmarking the execution time of Elliptic Curve 
> based Diffie Hellman of the OpenSSL implementation in C just for my own 
> purpose of understanding.

A few more specifics would be helpful here.

> |in command line. And it does give me some average timing. )|
>

Your results here would be portable across systems however one would
need to know the nature of the build and the architecture. I often
single step through functions and thus use non-optimized debug builds
which are vastly slower than a regular optimal build. Also the asm code
simply does not exist on some architectures like sparc ( non T4 ) or
some older powerpc types.


> ||I also tried this code ->
> 
> The code over here gives me a bunch of error

That isn't too clear. How are you calling ecdh() and with what test data?

> Is there any other reliable source that has been used before ? If 
> someone knows can you please forward me or let me know? That would be 
> extremely helpful. Thank you for your patience.

Hey there UofW type, what rev of openssl are you using?  Should I assume
that you have "OpenSSL 1.1.0g  2 Nov 2017" on some reasonable
architecture?

Dennis Clarke
number cruncher math geek


More information about the openssl-users mailing list