MCPcopy Create free account
hub / github.com/assaultcube/AC / entropy_save

Function entropy_save

source/src/crypto.cpp:424–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424void entropy_save()
425{
426 stream *f = openfile(ENTROPYSAVEFILE, "w");
427 if(f) f->write(entpool, ENTPOOLSIZE);
428 DELETEP(f);
429}
430
431void entropy_add_byte(uchar b)
432{

Callers 2

readserverconfigsthreadFunction · 0.85
quitFunction · 0.85

Calls 2

openfileFunction · 0.85
writeMethod · 0.45

Tested by

no test coverage detected