Home
last modified time | relevance | path

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

/linux/include/crypto/
H A Ddrbg.h75 struct list_head *addtl);
187 struct drbg_string *addtl) in crypto_drbg_get_bytes_addtl() argument
189 return crypto_rng_generate(drng, addtl->buf, addtl->len, in crypto_drbg_get_bytes_addtl()
212 struct drbg_string *addtl, in crypto_drbg_get_bytes_addtl_test() argument
217 return crypto_rng_generate(drng, addtl->buf, addtl->len, in crypto_drbg_get_bytes_addtl_test()
/linux/crypto/
H A Ddrbg.c373 struct list_head *addtl) in drbg_ctr_generate() argument
379 if (addtl && !list_empty(addtl)) { in drbg_ctr_generate()
380 ret = drbg_ctr_update(drbg, addtl, 2); in drbg_ctr_generate()
484 struct list_head *addtl) in drbg_hmac_generate() argument
492 if (addtl && !list_empty(addtl)) { in drbg_hmac_generate()
493 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate()
515 if (addtl && !list_empty(addtl)) in drbg_hmac_generate()
516 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate()
677 struct list_head *addtl) in drbg_hash_process_addtl() argument
685 if (!addtl || list_empty(addtl)) in drbg_hash_process_addtl()
[all …]
H 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()
H A Djitterentropy-kcapi.c104 int jent_hash_time(void *hash_state, __u64 time, u8 *addtl, in jent_hash_time() argument
139 crypto_shash_finup(desc, addtl, addtl_len, intermediary); in jent_hash_time()
H A Dtestmgr.c3491 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local
3516 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test()
3520 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3523 buf, test->expectedlen, &addtl); in drbg_cavs_test()
3531 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test()
3535 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test()
3538 buf, test->expectedlen, &addtl); in drbg_cavs_test()