All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steffen Klassert <steffen.klassert@secunet.com>
To: Roberto Sassu <myrobmail@gmail.com>
Cc: linux-crypto@vger.kernel.org
Subject: Re: Suspect bug in the authenc module
Date: Mon, 1 Mar 2010 14:24:33 +0100	[thread overview]
Message-ID: <20100301132433.GA20729@secunet.com> (raw)
In-Reply-To: <201002271214.15414.myrobmail@gmail.com>

On Sat, Feb 27, 2010 at 12:14:15PM +0100, Roberto Sassu wrote:
> Hello
> 
> i'm trying to use the authenc module and i wrote a small kernel module that 
> simply encrypts/decrypts a fixed data using the hmac(sha1) as authentication 
> algorithm and cbc(aes) as encryption algorithm. 
> The used platform is a KVM quest with Fedora 12 i686 and the latest kernel 
> 2.6.33.
> I have taken the code from the testmgr and from net/ipv4/esp4.c.
> But, when testing the code, attached in this mail, the crypto_aead_decrypt() 
> function always replies -EBADMSG. 

I've posted two fixes for authenc to the linux-crypto list last week.
Could you please try whether these patches fix your problems?

Thanks,

Steffen


  reply	other threads:[~2010-03-01 13:24 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-27 11:14 Suspect bug in the authenc module Roberto Sassu
2010-03-01 13:24 ` Steffen Klassert [this message]
2010-03-04 10:54   ` Roberto Sassu
2010-03-05  7:26     ` 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=20100301132433.GA20729@secunet.com \
    --to=steffen.klassert@secunet.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=myrobmail@gmail.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.