summaryrefslogtreecommitdiff
path: root/src/lib/libc/crypt/chacha_private.h
diff options
context:
space:
mode:
authordtucker <>2022-02-28 21:56:29 +0000
committerdtucker <>2022-02-28 21:56:29 +0000
commit4d809bb98b2046d02a7447203478b3d9d0846702 (patch)
tree1f00ae7c9820f1d4135b839a56478c8e8ba3a1b4 /src/lib/libc/crypt/chacha_private.h
parente7a4c5c29f0809ffb65ae98c57b691e57987c9db (diff)
downloadopenbsd-4d809bb98b2046d02a7447203478b3d9d0846702.tar.gz
openbsd-4d809bb98b2046d02a7447203478b3d9d0846702.tar.bz2
openbsd-4d809bb98b2046d02a7447203478b3d9d0846702.zip
Remove unused ivbits argument from chacha_keysetup to match other
instances in the tree. ok deraadt@
Diffstat (limited to 'src/lib/libc/crypt/chacha_private.h')
-rw-r--r--src/lib/libc/crypt/chacha_private.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libc/crypt/chacha_private.h b/src/lib/libc/crypt/chacha_private.h
index 7c3680fa6d..b0427b6b3e 100644
--- a/src/lib/libc/crypt/chacha_private.h
+++ b/src/lib/libc/crypt/chacha_private.h
@@ -4,7 +4,7 @@ D. J. Bernstein
4Public domain. 4Public domain.
5*/ 5*/
6 6
7/* $OpenBSD: chacha_private.h,v 1.2 2013/10/04 07:02:27 djm Exp $ */ 7/* $OpenBSD: chacha_private.h,v 1.3 2022/02/28 21:56:29 dtucker Exp $ */
8 8
9typedef unsigned char u8; 9typedef unsigned char u8;
10typedef unsigned int u32; 10typedef unsigned int u32;
@@ -52,7 +52,7 @@ static const char sigma[16] = "expand 32-byte k";
52static const char tau[16] = "expand 16-byte k"; 52static const char tau[16] = "expand 16-byte k";
53 53
54static void 54static void
55chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits,u32 ivbits) 55chacha_keysetup(chacha_ctx *x,const u8 *k,u32 kbits)
56{ 56{
57 const char *constants; 57 const char *constants;
58 58