Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 14 Jun 2015 22:22:29 +0800
From: Lei Zhang <zhanglei.april@...il.com>
To: john-dev@...ts.openwall.com
Subject: LibreSSL vs OpenSSL on MIC

Hi,

When I first built JtR for MIC, I didn't find the proper way to build the latest OpenSSL(1.0.2), so I just opted for LibreSSL as replacement. Recently I found out how to build OpenSSL and am considering switching to it for MIC, since JtR uses OpenSSL by default. I'm also interested if there's any performance penalty in switching between OpenSSL and LibreSSL on MIC, so I just did a quick test on that. I picked some formats that use OpenSSL, though I'm not sure how heavily they depend on it. Here're the results (--openmp-disabled):

[LibreSSL]
Benchmarking: PDF [MD5 SHA2 RC4/AES 32/64]... DONE
Speed for cost 1 (revision) of 4 and 3
Many salts:     6889 c/s real, 6889 c/s virtual
Only one salt:  6888 c/s real, 6888 c/s virtual

Benchmarking: dmg, Apple DMG [PBKDF2-SHA1 512/512 MIC 16x 3DES/AES]... DONE
Speed for cost 1 (iteration count) of 1000
Raw:    674 c/s real, 674 c/s virtual

Benchmarking: VNC [DES 32/64]... DONE
Raw:    235335 c/s real, 235335 c/s virtual

[OpenSSL]
Benchmarking: PDF [MD5 SHA2 RC4/AES 32/64]... DONE
Speed for cost 1 (revision) of 4 and 3
Many salts:     6848 c/s real, 6848 c/s virtual
Only one salt:  6886 c/s real, 6886 c/s virtual

Benchmarking: dmg, Apple DMG [PBKDF2-SHA1 512/512 MIC 16x 3DES/AES]... DONE
Speed for cost 1 (iteration count) of 1000
Raw:    674 c/s real, 674 c/s virtual

Benchmarking: VNC [DES 32/64]... DONE
Raw:    233467 c/s real, 233467 c/s virtual


There's no noticeable difference at least for these formats. Perhaps it's not a bad idea to switch to OpenSSL. Before that, I need to check if OpenSSL can pass all self-tests on MIC this time.


Lei
[ CONTENT OF TYPE text/html SKIPPED ]

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ