summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher.c')
-rw-r--r--cipher.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cipher.c b/cipher.c
index 54d325ee2..cd6e6def0 100644
--- a/cipher.c
+++ b/cipher.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: cipher.c,v 1.115 2020/02/26 13:40:09 jsg Exp $ */ 1/* $OpenBSD: cipher.c,v 1.116 2020/03/13 03:17:07 djm Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -337,7 +337,7 @@ cipher_init(struct sshcipher_ctx **ccp, const struct sshcipher *cipher,
337/* 337/*
338 * cipher_crypt() operates as following: 338 * cipher_crypt() operates as following:
339 * Copy 'aadlen' bytes (without en/decryption) from 'src' to 'dest'. 339 * Copy 'aadlen' bytes (without en/decryption) from 'src' to 'dest'.
340 * Theses bytes are treated as additional authenticated data for 340 * These bytes are treated as additional authenticated data for
341 * authenticated encryption modes. 341 * authenticated encryption modes.
342 * En/Decrypt 'len' bytes at offset 'aadlen' from 'src' to 'dest'. 342 * En/Decrypt 'len' bytes at offset 'aadlen' from 'src' to 'dest'.
343 * Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag. 343 * Use 'authlen' bytes at offset 'len'+'aadlen' as the authentication tag.