Skip to contentSkip to conversation

crypto: algif_aead - fix comment regarding memory layout

PATCH In review Stephan Müller 2 participants 2 messages Aug 9, 2017 – Aug 22, 2017 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: algif_aead - fix comment regarding memory layout

---
 crypto/algif_aead.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
crypto/algif_aead.c +2 -2
index 48d46e74ed0d..516b38c3a169 100644
@@ -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);
Signature · 1 line
2.13.4