comp.lang.ada
 help / color / mirror / Atom feed
From: "Peter C. Chapin" <pcc482719@gmail.com>
Subject: Re: Interesting performance quirk.
Date: Tue, 28 Oct 2008 21:39:23 -0400
Date: 2008-10-28T21:39:23-04:00	[thread overview]
Message-ID: <4907bec9$0$5739$4d3efbfe@news.sover.net> (raw)
In-Reply-To: <KQINk.409770$yE1.204564@attbi_s21>

Jeffrey R. Carter wrote:

> Have you verified that your implementation and the OpenSSL library give
> the same encryption results? There's not much point in worrying about
> relative speeds if they aren't doing the same thing.

Well, I have unit tests for my code that are based on the Blowfish test
vectors on Schneier's page. My code passes those cases, so the
encryption results are apparently what Schneier thinks they should be. I
can only assume that OpenSSL can also pass those test cases (didn't try it).

I can see the sense in verifying interoperability between my code and
another major crypto library. On the other hand, when there are
published test cases it may not be worth it. For instance the Blowfish
ECB tests on Schneier's page all use 64 bit keys. Considering that the
algorithm can handle key lengths from 32 bits to 448 bits, those test
cases aren't as broad as ideal. Checking interoperability with OpenSSL
(say) for a range of key sizes might be worth doing.

But... this is getting off the topic of Ada a bit. I apologize for rambling.

Peter



  reply	other threads:[~2008-10-29  1:39 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-26  0:57 Interesting performance quirk Peter C. Chapin
2008-10-26  2:15 ` Jeffrey Creem
2008-10-26 11:16   ` Peter C. Chapin
2008-10-26  4:57 ` tmoran
2008-10-26 11:11   ` Peter C. Chapin
2008-10-28  8:49     ` Martin
2008-10-28 11:35       ` Peter C. Chapin
2008-10-28 14:21         ` Robert A Duff
2008-10-29  1:42           ` Peter C. Chapin
2008-10-28 18:27         ` Jeffrey R. Carter
2008-10-29  1:39           ` Peter C. Chapin [this message]
2008-10-29  5:27             ` Jeffrey R. Carter
2008-10-28 23:22         ` Ludovic Brenta
2008-10-29  8:42           ` oenone
2008-10-29  9:59           ` Peter C. Chapin
2008-10-29 10:19             ` Martin
2008-11-17  6:31             ` David Thompson
2008-11-17 11:51               ` Peter C. Chapin
2008-10-29  9:54         ` Alex R. Mosteo
2008-10-30 11:16           ` Peter C. Chapin
2008-10-29 16:12         ` Colin Paul Gloster
2008-10-30 11:23           ` Peter C. Chapin
2008-10-31 13:41             ` Colin Paul Gloster
2008-11-01 15:41               ` Gene
2008-10-29 20:18 ` Florian Weimer
2008-10-30 11:15   ` Peter C. Chapin
2008-11-07  0:44 ` Randy Brukardt
2008-11-07  1:23   ` Peter C. Chapin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox