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

Method GenerateBlock

extra/yassl/taocrypt/src/random.cpp:55–59  ·  view source on GitHub ↗

place a generated block in output

Source from the content-addressed store, hash-verified

53
54// place a generated block in output
55void RandomNumberGenerator::GenerateBlock(byte* output, word32 sz)
56{
57 memset(output, 0, sz);
58 cipher_.Process(output, output, sz);
59}
60
61
62byte RandomNumberGenerator::GenerateByte()

Callers 3

AS2Function · 0.80
PadMethod · 0.80
FillMethod · 0.80

Calls 1

ProcessMethod · 0.45

Tested by

no test coverage detected