MCPcopy Create free account
hub / github.com/ElementsProject/elements / FillByteBuffer

Method FillByteBuffer

src/random.h:145–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143 void RandomSeed();
144
145 void FillByteBuffer()
146 {
147 if (requires_seed) {
148 RandomSeed();
149 }
150 rng.Keystream(bytebuf, sizeof(bytebuf));
151 bytebuf_size = sizeof(bytebuf);
152 }
153
154 void FillBitBuffer()
155 {

Callers

nothing calls this directly

Calls 2

RandomSeedFunction · 0.85
KeystreamMethod · 0.80

Tested by

no test coverage detected