]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commitdiff
Clean up a few things in the random.h header file.
authorOliver Kurth <okurth@vmware.com>
Mon, 4 May 2020 18:54:12 +0000 (11:54 -0700)
committerOliver Kurth <okurth@vmware.com>
Mon, 4 May 2020 18:54:12 +0000 (11:54 -0700)
open-vm-tools/lib/include/random.h

index 5b02cd7c9c2daa87e2acb2289be24335be167b47..b96c1a6e945a63f61a5ca0233cb5cb1114bc0112 100644 (file)
@@ -1,5 +1,5 @@
 /*********************************************************
- * Copyright (C) 1998-2017,2019 VMware, Inc. All rights reserved.
+ * Copyright (C) 1998-2020 VMware, Inc. All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms of the GNU Lesser General Public License as published
@@ -46,7 +46,7 @@ Bool Random_Crypto(size_t size,
                    void *buffer);
 
 /*
- * High quality - research grade - random number generator.
+ * Research grade Mersenne Twister random number generator.
  *
  * Period: 2^800
  * Speed: ~23 cycles
@@ -101,8 +101,12 @@ typedef struct {
 } RandomFastContext;
 
 uint32 Random_FastStream(RandomFastContext *rfc);
+
 uint64 Random_FastStream64(RandomFastContext *rfc);
-void Random_FastStreamSeed(RandomFastContext *rfc, uint64 seed, uint64 seq);
+
+void Random_FastStreamSeed(RandomFastContext *rfc,
+                           uint64 seed,
+                           uint64 seq);
 
 /*
  * Simple multiplicative congruential RNG.