Skip to content

Commit

Permalink
crypto: algif_aead - fix comment regarding memory layout
Browse files Browse the repository at this point in the history
Signed-off-by: Stephan Mueller <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
smuellerDD authored and herbertx committed Aug 22, 2017
1 parent e90c48e commit 75d11e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/algif_aead.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 75d11e7

Please sign in to comment.