Sign up ×
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It's 100% free, no registration required.

OpenSSL benchmark suite currently tests the speed of algorithms supported by the library like md5 sha1 sha256 sha512. What if we have a custom crypto algorithm "abc" . How do we benchmark its performance using the same suite ?

share|improve this question

closed as off-topic by e-sushi, DrLecter, poncho, rath, figlesquidge May 28 '14 at 9:44

  • This question does not appear to be about cryptography within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

You probably implement your primitive within openssl and make it one of the options for the test suite. As openssl is open source, it shouldn't be too bad right? –  mikeazo May 14 '14 at 17:18
Well I tried that , but could not figure out where to make changes in the code etc. –  sashank May 15 '14 at 4:15
This question appears to be off-topic because it is about using the OpenSSL benchmark suite. For details, please check our help center: If your question is about using a cryptographic library (e.g. Crypto++, OpenSSL etc) and using it in your application, you probably need Stack Overflow. –  e-sushi May 27 '14 at 12:45

1 Answer 1

up vote 0 down vote accepted

OpenSSL speed tests are defined in apps/speed.c. Ideally you would add support for your new algorithm by calling it in this file. Examples could be taken from how it is being done now for “aes-128-ecb”, etc.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.