X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/aa02ed367404c659ab7205ef9662ef92032d7786..8f2287ef5c05d496fcb9b012629af007fe56f897:/symm/rc4.c diff --git a/symm/rc4.c b/symm/rc4.c index 303b76ed..214dbc17 100644 --- a/symm/rc4.c +++ b/symm/rc4.c @@ -267,7 +267,7 @@ static const grand_ops grops = { "rc4", GRAND_CRYPTO, 0, grmisc, grdestroy, - grword, grbyte, grword, grand_range, grfill + grword, grbyte, grword, grand_defaultrange, grfill }; /* --- @rc4_rand@ --- * @@ -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)