summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2017-08-09 10:20:00 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2017-08-22 02:54:50 -0400
commit75d11e75357c1c643f65b478214008a5bf0230cb (patch)
treeec410f9195dbf62f7cfe0427a7a3ef7457db978f /crypto
parente90c48efde40f8428777424e6edbbb240b441652 (diff)
crypto: algif_aead - fix comment regarding memory layout
Signed-off-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/algif_aead.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c
index 48d46e74ed0d..516b38c3a169 100644
--- a/crypto/algif_aead.c
+++ b/crypto/algif_aead.c
@@ -201,11 +201,11 @@ static int _aead_recvmsg(struct socket *sock, struct msghdr *msg,
201 * Encryption operation - The in-place cipher operation is 201 * Encryption operation - The in-place cipher operation is
202 * achieved by the following operation: 202 * achieved by the following operation:
203 * 203 *
204 * TX SGL: AAD || PT || Tag 204 * TX SGL: AAD || PT
205 * | | 205 * | |
206 * | copy | 206 * | copy |
207 * v v 207 * v v
208 * RX SGL: AAD || PT 208 * RX SGL: AAD || PT || Tag
209 */ 209 */
210 err = crypto_aead_copy_sgl(null_tfm, tsgl->sg, 210 err = crypto_aead_copy_sgl(null_tfm, tsgl->sg,
211 areq->first_rsgl.sgl.sg, processed); 211 areq->first_rsgl.sgl.sg, processed);