aboutsummaryrefslogtreecommitdiffstats
path: root/util/random/entropy.h
diff options
context:
space:
mode:
authoryazevnul <yazevnul@yandex-team.ru>2022-02-10 16:46:48 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:48 +0300
commit9abfb1a53b7f7b791444d1378e645d8fad9b06ed (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /util/random/entropy.h
parent8cbc307de0221f84c80c42dcbe07d40727537e2c (diff)
downloadydb-9abfb1a53b7f7b791444d1378e645d8fad9b06ed.tar.gz
Restoring authorship annotation for <yazevnul@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'util/random/entropy.h')
-rw-r--r--util/random/entropy.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/util/random/entropy.h b/util/random/entropy.h
index 9cb3b2abae..62029c1b63 100644
--- a/util/random/entropy.h
+++ b/util/random/entropy.h
@@ -1,19 +1,19 @@
#pragma once
class TBuffer;
-class IInputStream;
+class IInputStream;
/*
* fast entropy pool, based on good prng, can lock for some time
* initialized with some bits from system entropy pool
* think as /dev/urandom replacement
*/
-IInputStream& EntropyPool();
+IInputStream& EntropyPool();
/*
* fast(non-blocking) entropy pool, useful for seeding PRNGs
*/
-IInputStream& Seed();
+IInputStream& Seed();
/*
* Re-initialize entropy pool - useful after forking in multi-process programs.