Linux cryptographic layer development
 help / color / mirror / Atom feed
From: Stephan Mueller <smueller@chronox.de>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Subject: Re: AEAD x86 assembler crash
Date: Mon, 01 Jun 2015 11:27:42 +0200	[thread overview]
Message-ID: <4763307.0Ij2da8UTH@tachyon.chronox.de> (raw)
In-Reply-To: <20150601091745.GA12441@gondor.apana.org.au>

Am Montag, 1. Juni 2015, 17:17:45 schrieb Herbert Xu:

Hi Herbert,

> On Mon, Jun 01, 2015 at 11:12:45AM +0200, Stephan Mueller wrote:
> > [  599.243227]  [<ffffffff812b7b85>] old_crypt+0xc5/0xe0
> > [  599.243229]  [<ffffffff812b7bdd>] old_encrypt+0x1d/0x20
> > [  599.243233]  [<ffffffffa02c1183>] kccavs_aead_encdec+0x53/0x80
> > [kcapi_cavs] [  599.243235]  [<ffffffffa02c1cca>]
> > kccavs_test_aead+0x23a/0x3e0 [kcapi_cavs] [  599.243238] 
> > [<ffffffffa02c0f17>] kccavs_data_read+0xf7/0x130 [kcapi_cavs]
> Hang on, what is this kcapi_cavs? We don't support out-of-tree
> crypto users.

I understand -- this is my test tool that invokes all ciphers with all 
permutations. And it may be the case that it is my code. I am looking into it.

Though, it happens with the new API only, the old API works fine. And my test 
code with the new API works just fine when invoking GCM with an IV generator.

Just a question: is the new API without an IV generator to be used differently 
when using the new API with an IV generator?

Thank you.

-- 
Ciao
Stephan

  reply	other threads:[~2015-06-01  9:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-01  9:12 AEAD x86 assembler crash Stephan Mueller
2015-06-01  9:15 ` Herbert Xu
2015-06-01  9:48   ` Stephan Mueller
2015-06-01  9:17 ` Herbert Xu
2015-06-01  9:27   ` Stephan Mueller [this message]
2015-06-01  9:29     ` 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=4763307.0Ij2da8UTH@tachyon.chronox.de \
    --to=smueller@chronox.de \
    --cc=herbert@gondor.apana.org.au \
    --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