summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 48d46e7..516b38c 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);
OpenPOWER on IntegriCloud