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

Function RAND_bytes

extra/yassl/src/ssl.cpp:1426–1434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1424
1425
1426int RAND_bytes(unsigned char* buf, int num)
1427{
1428 RandomPool ran;
1429
1430 if (ran.GetError()) return 0;
1431
1432 ran.Fill(buf, num);
1433 return 1;
1434}
1435
1436
1437int SSL_peek(SSL* ssl, void* buffer, int sz)

Callers 2

generate_user_saltFunction · 0.85
my_rand_bufferFunction · 0.85

Calls 2

FillMethod · 0.80
GetErrorMethod · 0.45

Tested by

no test coverage detected