linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Sven Schnelle <svens@stackframe.org>
To: Kim Phillips <kim.phillips@freescale.com>
Cc: <linux-crypto@vger.kernel.org>
Subject: Re: Kernel OOPS with Freescale talitos driver on ppc
Date: Tue, 20 Sep 2011 15:34:17 +0200	[thread overview]
Message-ID: <8762kn2v8m.fsf@begreifnix.stackframe.org> (raw)
In-Reply-To: <20110919162001.e296597e.kim.phillips@freescale.com> (Kim Phillips's message of "Mon\, 19 Sep 2011 16\:20\:01 -0500")

Hi Kim,

Kim Phillips <kim.phillips@freescale.com> writes:

> fwiw, I just booted a vanilla 3.1-rc6 kernel on a p1020 with your
> config and CONFIG_CRYPTO_MANAGER_DISABLE_TESTS not set, and the
> selftests passed.  IPSec isn't enabled in your config.  Are you
> implementing a new algorithm?  If not, how to reproduce?

It turned out that the reason for this problem was actually a missing
crypto_aead_setauthsize() call. Setting authsize to 20 bytes
(i'm using aead with AES/SHA1) made things work.

However, we should add your patch to the talitos driver, as responding
to such an error with a Kernel OOPS isn't very polite :)

Thanks,

Sven.

  parent reply	other threads:[~2011-09-20 13:34 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-19 11:33 Kernel OOPS with Freescale talitos driver on ppc Sven Schnelle
2011-09-19 21:20 ` Kim Phillips
2011-09-20  7:40   ` Sven Schnelle
2011-09-20 13:34   ` Sven Schnelle [this message]
2011-09-25  0:16     ` [PATCH] talitos: handle descriptor not found in error path Kim Phillips
2011-10-18  7:36       ` Herbert Xu
2011-10-18 16:17         ` Kim Phillips
2011-10-19 15:52           ` Herbert Xu

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=8762kn2v8m.fsf@begreifnix.stackframe.org \
    --to=svens@stackframe.org \
    --cc=kim.phillips@freescale.com \
    --cc=linux-crypto@vger.kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).