MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / clean

Function clean

extra/yassl/src/yassl_imp.cpp:2470–2481  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2468
2469
2470void clean(volatile opaque* p, uint sz, RandomPool& ran)
2471{
2472 uint i(0);
2473
2474 for (i = 0; i < sz; ++i)
2475 p[i] = 0;
2476
2477 ran.Fill(const_cast<opaque*>(p), sz);
2478
2479 for (i = 0; i < sz; ++i)
2480 p[i] = 0;
2481}
2482
2483
2484

Callers 3

CleanMasterMethod · 0.85
CleanPreMasterMethod · 0.85
~SSL_SESSIONMethod · 0.85

Calls 1

FillMethod · 0.80

Tested by

no test coverage detected