chiark / gitweb /
symm/chacha.[ch]: Fix comment headers.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 13 Apr 2017 14:50:46 +0000 (15:50 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 13 Apr 2017 17:27:44 +0000 (18:27 +0100)
symm/chacha.c
symm/chacha.h

index 4dcfcef9d915905dff4dd3381d9b8b20692fb3e7..6b8726e94db7b24b8577b61f995502050f2f902e 100644 (file)
@@ -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)
index f46eab961c4aed36bf7f6a07765b7f4900b1fa1d..419b19a4ee3812528138e50f2551f865f504bbd5 100644 (file)
@@ -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