symm/rc4.[ch]: Fix incorrect documentation on `rc4_rand'.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 22 Dec 2014 20:32:58 +0000 (20:32 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 22 Mar 2015 01:02:46 +0000 (01:02 +0000)
symm/rc4.c
symm/rc4.h

index 303b76e..38f0097 100644 (file)
@@ -277,8 +277,8 @@ static const grand_ops grops = {
  *
  * Returns:    Pointer to generic random number generator interface.
  *
- * Use:                Creates a random number interface wrapper around an
- *             OFB-mode block cipher.
+ * Use:                Creates a random number interface wrapper around the RC4
+ *             stream cipher.
  */
 
 grand *rc4_rand(const void *k, size_t sz)
index caeeadb..d707a29 100644 (file)
@@ -180,8 +180,8 @@ extern const gccipher rc4;
  *
  * Returns:    Pointer to generic random number generator interface.
  *
- * Use:                Creates a random number interface wrapper around an
- *             OFB-mode block cipher.
+ * Use:                Creates a random number interface wrapper around the RC4
+ *             stream cipher.
  */
 
 extern grand *rc4_rand(const void */*k*/, size_t /*sz*/);