Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/crypto/dist/ssh comment: function are named "arc4"foo just f...



details:   https://anonhg.NetBSD.org/src/rev/9a94a45cad8b
branches:  trunk
changeset: 503571:9a94a45cad8b
user:      itojun <itojun%NetBSD.org@localhost>
date:      Fri Feb 09 00:44:35 2001 +0000

description:
comment: function are named "arc4"foo just for easy porting.

diffstat:

 crypto/dist/ssh/random.c |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r eb8e4a1050e1 -r 9a94a45cad8b crypto/dist/ssh/random.c
--- a/crypto/dist/ssh/random.c  Thu Feb 08 22:21:24 2001 +0000
+++ b/crypto/dist/ssh/random.c  Fri Feb 09 00:44:35 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: random.c,v 1.2 2001/02/07 17:05:33 itojun Exp $        */
+/*     $NetBSD: random.c,v 1.3 2001/02/09 00:44:35 itojun Exp $        */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -38,12 +38,14 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: random.c,v 1.2 2001/02/07 17:05:33 itojun Exp $");
+__RCSID("$NetBSD: random.c,v 1.3 2001/02/09 00:44:35 itojun Exp $");
 #endif
 
 /*
  * Functions for stirring in additional noise into the
  * cryptographically strong PRNG.
+ * the functions are not using "arc4" in any ways, they are placed here
+ * to make porting easy.
  */
 
 #include <sys/types.h>
@@ -91,4 +93,3 @@
        RAND_pseudo_bytes((u_char *)&v, sizeof(v));
        return v;
 }
-



Home | Main Index | Thread Index | Old Index