Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75d11e75 authored by Stephan Mueller's avatar Stephan Mueller Committed by Herbert Xu
Browse files

crypto: algif_aead - fix comment regarding memory layout

parent e90c48ef
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);