提交 75d11e75 编写于 作者: S Stephan Mueller 提交者: Herbert Xu

crypto: algif_aead - fix comment regarding memory layout

Signed-off-by: NStephan Mueller <smueller@chronox.de>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 e90c48ef
...@@ -201,11 +201,11 @@ static int _aead_recvmsg(struct socket *sock, struct msghdr *msg, ...@@ -201,11 +201,11 @@ static int _aead_recvmsg(struct socket *sock, struct msghdr *msg,
* Encryption operation - The in-place cipher operation is * Encryption operation - The in-place cipher operation is
* achieved by the following operation: * achieved by the following operation:
* *
* TX SGL: AAD || PT || Tag * TX SGL: AAD || PT
* | | * | |
* | copy | * | copy |
* v v * v v
* RX SGL: AAD || PT * RX SGL: AAD || PT || Tag
*/ */
err = crypto_aead_copy_sgl(null_tfm, tsgl->sg, err = crypto_aead_copy_sgl(null_tfm, tsgl->sg,
areq->first_rsgl.sgl.sg, processed); areq->first_rsgl.sgl.sg, processed);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册