Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
424
void entropy_save()
425
{
426
stream *f = openfile(ENTROPYSAVEFILE,
"w"
);
427
if(f) f->write(entpool, ENTPOOLSIZE);
428
DELETEP(f);
429
}
430
431
void entropy_add_byte(uchar b)
432
{
Callers
2
readserverconfigsthread
Function · 0.85
quit
Function · 0.85
Calls
2
openfile
Function · 0.85
write
Method · 0.45
Tested by
no test coverage detected