Searched refs:prandom_bytes_state (Results 1 – 9 of 9) sorted by relevance
/linux/drivers/mtd/tests/ |
H A D | subpagetest.c | 49 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in write_eraseblock() 63 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in write_eraseblock() 87 prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); in write_eraseblock2() 123 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in verify_eraseblock() 150 prandom_bytes_state(&rnd_state, writebuf, subpgsize); in verify_eraseblock() 187 prandom_bytes_state(&rnd_state, writebuf, subpgsize * k); in verify_eraseblock2()
|
H A D | pagetest.c | 45 prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); in write_eraseblock() 65 prandom_bytes_state(&rnd_state, writebuf, mtd->erasesize); in verify_eraseblock() 100 prandom_bytes_state(&rnd_state, boundary + pgsize, pgsize); in verify_eraseblock() 213 prandom_bytes_state(&rnd_state, writebuf, pgsize); in erasecrosstest() 238 prandom_bytes_state(&rnd_state, writebuf, pgsize); in erasecrosstest() 287 prandom_bytes_state(&rnd_state, writebuf, pgsize); in erasetest()
|
H A D | oobtest.c | 63 prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); in write_eraseblock() 173 prandom_bytes_state(&rnd_state, writebuf, use_len_max * pgcnt); in verify_eraseblock() 271 prandom_bytes_state(&rnd_state, writebuf, len); in verify_eraseblock_in_one_go() 645 prandom_bytes_state(&rnd_state, writebuf, sz * cnt); in mtd_oobtest_init() 676 prandom_bytes_state(&rnd_state, writebuf, mtd->oobavail * 2); in mtd_oobtest_init()
|
/linux/lib/ |
H A D | random32.c | 65 * prandom_bytes_state - get the requested number of pseudo-random bytes 74 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t bytes) in prandom_bytes_state() function 93 EXPORT_SYMBOL(prandom_bytes_state);
|
/linux/include/linux/ |
H A D | prandom.h | 21 void prandom_bytes_state(struct rnd_state *state, void *buf, size_t nbytes);
|
/linux/lib/crc/tests/ |
H A D | crc_kunit.c | 102 prandom_bytes_state(&rng, test_buffer, test_buflen); in crc_suite_init() 169 prandom_bytes_state(&rng, &test_buffer[offset], len); in crc_test()
|
/linux/arch/x86/mm/ |
H A D | kaslr.c | 149 prandom_bytes_state(&rand_state, &rand, sizeof(rand)); in kernel_randomize_memory()
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_lrc.c | 1779 prandom_bytes_state(prng, in garbage()
|
/linux/crypto/ |
H A D | testmgr.c | 1014 prandom_bytes_state(rng, buf, count); in generate_random_bytes()
|