Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/sys forgot to commit this with rump kernelcprng change
details: https://anonhg.NetBSD.org/src/rev/223397e7f4b3
branches: trunk
changeset: 326065:223397e7f4b3
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Jan 17 02:08:56 2014 +0000
description:
forgot to commit this with rump kernelcprng change
diffstat:
sys/sys/cprng.h | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
diffs (29 lines):
diff -r 94cea5c366aa -r 223397e7f4b3 sys/sys/cprng.h
--- a/sys/sys/cprng.h Fri Jan 17 02:08:44 2014 +0000
+++ b/sys/sys/cprng.h Fri Jan 17 02:08:56 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cprng.h,v 1.8 2013/07/01 15:22:00 riastradh Exp $ */
+/* $NetBSD: cprng.h,v 1.9 2014/01/17 02:08:56 pooka Exp $ */
/*-
* Copyright (c) 2011-2013 The NetBSD Foundation, Inc.
@@ -47,7 +47,6 @@
*/
#define CPRNG_MAX_LEN 524288
-#if !defined(_RUMPKERNEL) && !defined(_RUMP_NATIVE_ABI)
/*
* We do not want an arc4random() prototype available to anyone.
*/
@@ -74,11 +73,6 @@
_arc4randbytes(&r, sizeof(r));
return r;
}
-#else
-size_t cprng_fast(void *, size_t);
-uint32_t cprng_fast32(void);
-uint64_t cprng_fast64(void);
-#endif
typedef struct cprng_strong cprng_strong_t;
Home |
Main Index |
Thread Index |
Old Index