On Wed, Aug 02, 2017 at 05:30:48PM +0200, Niels Möller wrote: > "Daniel P. Berrange" <[email protected]> writes: > > > FYI, that benchmark program is somewhat misleading, because it directly > > uses the openssl AES APIs, which always go to the generic software > > version, and thus make openssl look real slow by comparison. To exercise > > the AESNI impls in openssl, it would need to be rewritten to use the > > openssl EVP APIs which dynamically choose the best impl. > > Thanks, I wasn't aware of that. (It's more than a decade since I last > wrote any real code using ssleay/openssl).
I only learnt it when I was investigating why it reported such different results than the 'openssl speed' command :-) > Would you like to help fix that? Sure, I can look at providing a patch Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :| _______________________________________________ nettle-bugs mailing list [email protected] http://lists.lysator.liu.se/mailman/listinfo/nettle-bugs
