Page MenuHomeFreeBSD

D16936.diff
No OneTemporary

D16936.diff

Index: head/sys/dev/random/fortuna.c
===================================================================
--- head/sys/dev/random/fortuna.c
+++ head/sys/dev/random/fortuna.c
@@ -310,6 +310,8 @@
u_int i;
RANDOM_RESEED_ASSERT_LOCK_OWNED();
+ KASSERT(!uint128_is_zero(fortuna_state.fs_counter), ("FS&K: C != 0"));
+
for (i = 0; i < blockcount; i++) {
/*-
* FS&K - r = r|E(K,C)

File Metadata

Mime Type
text/plain
Expires
Fri, Jul 3, 11:33 PM (10 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34614965
Default Alt Text
D16936.diff (388 B)

Event Timeline