Home
last modified time | relevance | path

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

/crypto/
A Dalgif_rng.c57 u8 *addtl; member
68 kfree_sensitive(ctx->addtl); in rng_reset_addtl()
69 ctx->addtl = NULL; in rng_reset_addtl()
74 u8 *addtl, size_t addtl_len) in _rng_recvmsg() argument
97 genlen = crypto_rng_generate(drng, addtl, addtl_len, result, len); in _rng_recvmsg()
126 ret = _rng_recvmsg(ctx->drng, msg, len, ctx->addtl, ctx->addtl_len); in rng_test_recvmsg()
146 ctx->addtl = kmalloc(len, GFP_KERNEL); in rng_test_sendmsg()
147 if (!ctx->addtl) { in rng_test_sendmsg()
152 err = memcpy_from_msg(ctx->addtl, msg, len); in rng_test_sendmsg()
252 ctx->addtl = NULL; in rng_accept_parent()
A Ddrbg.c592 if (addtl && !list_empty(addtl)) { in drbg_ctr_generate()
705 if (addtl && !list_empty(addtl)) { in drbg_hmac_generate()
728 if (addtl && !list_empty(addtl)) in drbg_hmac_generate()
898 if (!addtl || list_empty(addtl)) in drbg_hash_process_addtl()
1383 if (addtl && NULL == addtl->buf && 0 < addtl->len) { in drbg_generate()
1399 if (addtl && addtl->len > (drbg_max_addtl(drbg))) { in drbg_generate()
1401 addtl->len); in drbg_generate()
1424 addtl = NULL; in drbg_generate()
1433 if (addtl && 0 < addtl->len) in drbg_generate()
1944 addtl = &string; in drbg_kcapi_random()
[all …]
A Djitterentropy.c431 } addtl = { in jent_condition_data() local
438 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl), in jent_condition_data()
A Djitterentropy.h8 extern int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,
A Djitterentropy-kcapi.c104 int jent_hash_time(void *hash_state, __u64 time, u8 *addtl, in jent_hash_time() argument
138 crypto_shash_finup(desc, addtl, addtl_len, intermediary); in jent_hash_time()
A Dtestmgr.c3582 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local
3607 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3611 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3614 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3622 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3626 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3629 buf, test->expectedlen, &addtl); in drbg_cavs_test()

Completed in 25 milliseconds