MCPcopy Create free account
hub / github.com/PQClean/PQClean / randombytes

Function randombytes

test/common/hqckatrng.c:52–55  ·  view source on GitHub ↗

* @brief A SHAKE-256 based PRNG * * Derived from function SHAKE_256 in fips202.c * * @param[out] output Pointer to output * @param[in] outlen length of output in bytes */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

test_signFunction · 0.50
test_sign_detachedFunction · 0.50
test_wrong_pkFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
test_invalid_sk_aFunction · 0.50
test_invalid_ciphertextFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50

Calls 1

shake256_inc_squeezeFunction · 0.85

Tested by 6

test_signFunction · 0.40
test_sign_detachedFunction · 0.40
test_wrong_pkFunction · 0.40
mainFunction · 0.40
test_invalid_sk_aFunction · 0.40
test_invalid_ciphertextFunction · 0.40