From: Stephan Mueller Date: Wed, 9 Aug 2017 14:20:00 +0000 (+0200) Subject: crypto: algif_aead - fix comment regarding memory layout X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=75d11e75357c1c643f65b478214008a5bf0230cb;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git crypto: algif_aead - fix comment regarding memory layout Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu --- 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, * Encryption operation - The in-place cipher operation is * achieved by the following operation: * - * TX SGL: AAD || PT || Tag + * TX SGL: AAD || PT * | | * | copy | * v v - * RX SGL: AAD || PT + * RX SGL: AAD || PT || Tag */ err = crypto_aead_copy_sgl(null_tfm, tsgl->sg, areq->first_rsgl.sgl.sg, processed);