Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Neil Horman <nhorman@tuxdriver.com>
To: Adrian-Ken Rueegsegger <rueegsegger@swiss-it.ch>
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: Sun, 1 Jun 2008 20:17:32 -0400	[thread overview]
Message-ID: <20080602001732.GA5321@localhost.localdomain> (raw)
In-Reply-To: <48432622.1090300@swiss-it.ch>

On Mon, Jun 02, 2008 at 12:43:46AM +0200, Adrian-Ken Rueegsegger wrote:
> 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?
> 
Its possible.  I've got some chores that I need to take care of right now, but
I'll rebuild tomorrow with the patch from my post email and re-verify
Neil

> Adrian

  reply	other threads:[~2008-06-02  0:17 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
2008-06-02  0:17               ` Neil Horman [this message]
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=20080602001732.GA5321@localhost.localdomain \
    --to=nhorman@tuxdriver.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=rueegsegger@swiss-it.ch \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox