From: Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org, davem@davemloft.net
Subject: Re: [PATCH] tcrypt: add self test for des3_ebe cipher operating in cbc mode
Date: Mon, 02 Jun 2008 00:43:46 +0200 [thread overview]
Message-ID: <48432622.1090300@swiss-it.ch> (raw)
In-Reply-To: <20080601221839.GA5171@localhost.localdomain>
Neil Horman wrote:
> On Sun, Jun 01, 2008 at 06:09:46PM +0200, Adrian-Ken Rueegsegger wrote:
>> Neil Horman wrote:
>>> On Sun, Jun 01, 2008 at 03:10:14AM +0200, Adrian-Ken Rueegsegger wrote:
>>>> Neil Horman wrote:
[snip]
>>>> These tests both seem to fail on my machine. Did you verify that the tests pass succesfully?
>>>>
>>>> -Adrian
>>>>
>>> Yes, of course I did. I clearly indicated that I did in my commit message
>>> above. I just verified on a separate system as well. You had mentioned that
>>> some of the standard NIST vectors that you obtained were failing on your system
>>> as well, is something perhaps misconfigured in your kernel build? Mind you I
>>> can't imagine what that would be, and if it were just my vectors that were
>>> failing for you I could imagine I missed something that would work in my testing
>>> but fail in yours, but if standard vectors are failing it seems something else
>>> might be wrong
>> Sorry, I did not mean to come off so hostile. I merely wanted to find out if I was the only one with failing test results. I will investigate, why this fails on my machine.
>>
> I know you didn't. I apologize as well. I can't imagine why they would be
> failing. I verified them in the tcrypt self tests again, as well as under
> openssl in userspace, and both passed correctly. I've still have no idea what
> causes the failure. I do recall there being a case in the setkey path that
> returned an error without setting flags. I hit that writing my vectors. I'll
> see if I can find it again.
I just did a clean build on a different machine with the current HEAD (ac3f925c2bb1b08a41713394d78098857d3f40a7)
of the cryptodev-2.6-tree. The two tests fail on that box too. :( I will see if I can spot something suspicious by
comparing the two configs. Could somebody else run the tests and report back the results?
Here's a shot in the dark: was there a mixup during the patch submission? Maybe you submitted a different version
of the patch than intended?
Adrian
next prev parent reply other threads:[~2008-06-01 22:43 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-23 20:18 [PATCH] tcrypt: add self test for des3_ebe cipher operating in cbc mode Neil Horman
2008-05-24 0:06 ` Herbert Xu
2008-05-24 0:34 ` Neil Horman
2008-05-24 0:36 ` Herbert Xu
2008-05-30 17:26 ` Adrian-Ken Rüegsegger
2008-05-30 22:46 ` Herbert Xu
2008-05-31 16:37 ` Neil Horman
2008-06-01 1:44 ` Adrian-Ken Rueegsegger
2008-06-01 15:54 ` Neil Horman
2008-06-01 16:19 ` Adrian-Ken Rueegsegger
2008-06-02 21:55 ` Adrian-Ken Rueegsegger
2008-06-01 1:10 ` Adrian-Ken Rueegsegger
2008-06-01 16:03 ` Neil Horman
2008-06-01 16:09 ` Adrian-Ken Rueegsegger
2008-06-01 22:18 ` Neil Horman
2008-06-01 22:43 ` Adrian-Ken Rueegsegger [this message]
2008-06-02 0:17 ` Neil Horman
2008-06-02 8:32 ` Herbert Xu
2008-06-02 12:45 ` Neil Horman
2008-06-02 12:48 ` Herbert Xu
2008-06-02 16:17 ` Neil Horman
2008-06-02 20:19 ` Adrian-Ken Rueegsegger
2008-06-02 20:45 ` Neil Horman
2008-06-03 10:00 ` Herbert Xu
-- strict thread matches above, loose matches on Subject: below --
2008-05-21 20:09 Neil Horman
2008-05-22 0:03 ` Herbert Xu
2008-05-22 11:38 ` Neil Horman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48432622.1090300@swiss-it.ch \
--to=rueegsegger@swiss-it.ch \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=nhorman@tuxdriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.