Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <2A0CD4DF-50ED-4B03-B81A-D9FDE74F3432@gmail.com>
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

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.