Home
last modified time | relevance | path

Searched refs:test_data (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/lib/
Dtest_sysctl.c52 static struct test_sysctl_data test_data = { variable
70 .data = &test_data.int_0001,
79 .data = &test_data.int_0002,
86 .data = &test_data.int_0003,
87 .maxlen = sizeof(test_data.int_0003),
93 .data = &test_data.uint_0001,
100 .data = &test_data.string_0001,
101 .maxlen = sizeof(test_data.string_0001),
/linux-4.19.296/include/crypto/
Ddrbg.h143 struct drbg_string test_data; member
235 struct drbg_test_data *test_data) in crypto_drbg_get_bytes_addtl_test() argument
237 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_get_bytes_addtl_test()
238 test_data->testentropy->len); in crypto_drbg_get_bytes_addtl_test()
259 struct drbg_test_data *test_data) in crypto_drbg_reset_test() argument
261 crypto_rng_set_entropy(drng, test_data->testentropy->buf, in crypto_drbg_reset_test()
262 test_data->testentropy->len); in crypto_drbg_reset_test()
/linux-4.19.296/drivers/char/hw_random/
Dn2-drv.c421 unsigned long ra = __pa(&np->test_data); in n2rng_data_read()
434 np->buffer = np->test_data >> 32; in n2rng_data_read()
435 *data = np->test_data & 0xffffffff; in n2rng_data_read()
456 unsigned long ra = __pa(&np->test_data); in n2rng_guest_check()
Dn2rng.h141 u64 test_data; member
/linux-4.19.296/crypto/
Ddrbg.c251 if (list_empty(&drbg->test_data.list)) in drbg_fips_continuous_test()
1141 if (list_empty(&drbg->test_data.list)) { in drbg_seed()
1142 drbg_string_fill(&data1, drbg->test_data.buf, in drbg_seed()
1143 drbg->test_data.len); in drbg_seed()
1511 if (list_empty(&drbg->test_data.list)) in drbg_prepare_hrng()
1634 drbg_string_fill(&drbg->test_data, data, len); in drbg_kcapi_set_entropy()
Dtestmgr.c1967 struct drbg_test_data test_data; in drbg_cavs_test() local
1982 test_data.testentropy = &testentropy; in drbg_cavs_test()
1985 ret = crypto_drbg_reset_test(drng, &pers, &test_data); in drbg_cavs_test()
1995 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
2010 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()