Home
last modified time | relevance | path

Searched refs:CTR_DRBG_MAX_GENERATE_LENGTH (Results 1 – 4 of 4) sorted by relevance

/external/boringssl/src/crypto/fipsmodule/rand/
Dctrdrbg_test.cc69 std::unique_ptr<uint8_t[]> buf(new uint8_t[CTR_DRBG_MAX_GENERATE_LENGTH]); in TEST()
70 ASSERT_TRUE(CTR_DRBG_generate(&drbg, buf.get(), CTR_DRBG_MAX_GENERATE_LENGTH, in TEST()
74 SHA256(buf.get(), CTR_DRBG_MAX_GENERATE_LENGTH, digest); in TEST()
Drand.c317 if (todo > CTR_DRBG_MAX_GENERATE_LENGTH) { in RAND_bytes_with_additional_data()
318 todo = CTR_DRBG_MAX_GENERATE_LENGTH; in RAND_bytes_with_additional_data()
Dinternal.h57 #define CTR_DRBG_MAX_GENERATE_LENGTH 65536 macro
Dctrdrbg.c135 if (out_len > CTR_DRBG_MAX_GENERATE_LENGTH) { in CTR_DRBG_generate()