[cryptography] Algorithm that can be *least* optimized on CPUs?

Rob Stradling rob.stradling at comodo.com
Mon Sep 1 04:15:50 EDT 2014


On 31/08/14 19:53, Paul Hoffman wrote:
> Greetings. I want to use "openssl speed" as a very loose proxy for "how fast is this CPU right now". (Note the use of the word "very" there.) I also want to test systems that are running in VMs. However, if I'm comparing across CPU families, OpenSSL might have some optimizations for some algorithms (like AES) that work better or worse depending on the features of the CPU.
>
> If I were to pick one algorithm that is least likely to be optimized past normal C optimization, which would it be?

Paul, if you build OpenSSL with the "no-asm" configuration option, 
presumably none of the algorithms will be optimized past normal C 
optimization.  Does this help?

-- 
Rob Stradling
Senior Research & Development Scientist
COMODO - Creating Trust Online



More information about the cryptography mailing list