From: "Stephan Müller" <smueller@chronox.de>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: linux-crypto@vger.kernel.org
Subject: Re: [PATCH v4] crypto: AF_ALG - fix AEAD tag memory handling
Date: Wed, 07 Dec 2016 12:49:25 +0100 [thread overview]
Message-ID: <1650428.hiZ6moN7tX@tauon.atsec.com> (raw)
In-Reply-To: <20161207114245.GA20486@gondor.apana.org.au>
Am Mittwoch, 7. Dezember 2016, 19:42:45 CET schrieb Herbert Xu:
Hi Herbert,
>
> Hmm, I don't see the code that copies the AAD over. Did I miss it?
You do not miss it. As I mentioned in a previous email, I would like:
- to include the current patch around the tag now as it has been on the
mailing list for a long time -- that current patch fixes the superfluous
copying of the tag value. That fix of the tag handling is unrelated to any AAD
logic. However, it changes the user-visible memory structure and therefore the
user interface (i.e. during decryption, the returned data is smaller than it
used to be and during encryption, less data is required as input).
- the AAD handling with the copying over of data shall come in the next
development cycle for 4.10. That change is not user visible as it does not
change the memory structure and thus the user interface. Also, the AAD change
is unrelated to the tag change provided with this patch.
Ciao
Stephan
next prev parent reply other threads:[~2016-12-07 11:49 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-05 14:26 [PATCH v4] crypto: AF_ALG - fix AEAD tag memory handling Stephan Mueller
2016-12-07 11:42 ` Herbert Xu
2016-12-07 11:49 ` Stephan Müller [this message]
2016-12-07 11:50 ` Herbert Xu
2016-12-07 12:09 ` Herbert Xu
2016-12-07 12:22 ` Stephan Müller
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=1650428.hiZ6moN7tX@tauon.atsec.com \
--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