summaryrefslogtreecommitdiff
path: root/cipher.c
diff options
context:
space:
mode:
authordjm@openbsd.org <djm@openbsd.org>2020-03-13 03:17:07 +0000
committerDamien Miller <djm@mindrot.org>2020-03-14 19:39:09 +1100
commitd081f017c20a3564255873ed99fd7d024cac540f (patch)
tree961bd04b64c3d52803740987a6ab713e3ca6d06b /cipher.c
parentc084a2d040f160bc2b83f13297e3e3ca3f5dbac6 (diff)
upstream: spelling errors in comments; no code change from
OpenBSD-Commit-ID: 166ea64f6d84f7bac5636dbd38968592cb5eb924
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.