From 7c68d3eb23306ce0ade89f6dfc7017fd3637bab3 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Thu, 13 Apr 2017 15:50:46 +0100 Subject: [PATCH] symm/chacha.[ch]: Fix comment headers. --- symm/chacha.c | 4 ++-- symm/chacha.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/symm/chacha.c b/symm/chacha.c index 4dcfcef9..6b8726e9 100644 --- a/symm/chacha.c +++ b/symm/chacha.c @@ -220,7 +220,7 @@ unsigned long chacha_tell(chacha_ctx *ctx) kludge64 chacha_tellu64(chacha_ctx *ctx) { kludge64 i; SET64(i, ctx->a[9], ctx->a[8]); return (i); } -/* --- @chacha{,12,8}_encrypt@ --- * +/* --- @chacha{20,12,8}_encrypt@ --- * * * Arguments: @chacha_ctx *ctx@ = pointer to context * @const void *src@ = source buffer (or null) @@ -444,7 +444,7 @@ CHACHA_VARS(DEFXNONCE) * different. */ -/* --- @xchacha{,12,8}_encrypt@ --- * +/* --- @xchacha{20,12,8}_encrypt@ --- * * * Arguments: @xchachaR_ctx *ctx@ = pointer to context * @const void *src@ = source buffer (or null) diff --git a/symm/chacha.h b/symm/chacha.h index f46eab96..419b19a4 100644 --- a/symm/chacha.h +++ b/symm/chacha.h @@ -315,7 +315,7 @@ const gccipher xchacha20, xchacha12, xchacha8; /*----- Generic random number generator interface -------------------------*/ -/* --- @chacha{,12,8}_rand@, @xchacha{,12,8}_rand@ --- * +/* --- @chacha{20,12,8}_rand@, @xchacha{20,12,8}_rand@ --- * * * Arguments: @const void *k@ = pointer to key material * @size_t ksz@ = size of key material -- 2.11.0