Searched refs:addtl (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.15/include/crypto/ |
D | drbg.h | 98 struct list_head *addtl); 205 struct drbg_string *addtl) in crypto_drbg_get_bytes_addtl() argument 207 return crypto_rng_generate(drng, addtl->buf, addtl->len, in crypto_drbg_get_bytes_addtl() 230 struct drbg_string *addtl, in crypto_drbg_get_bytes_addtl_test() argument 235 return crypto_rng_generate(drng, addtl->buf, addtl->len, in crypto_drbg_get_bytes_addtl_test()
|
/Linux-v5.15/crypto/ |
D | algif_rng.c | 57 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() 254 ctx->addtl = NULL; in rng_accept_parent()
|
D | drbg.c | 596 struct list_head *addtl) in drbg_ctr_generate() argument 602 if (addtl && !list_empty(addtl)) { in drbg_ctr_generate() 603 ret = drbg_ctr_update(drbg, addtl, 2); in drbg_ctr_generate() 709 struct list_head *addtl) in drbg_hmac_generate() argument 717 if (addtl && !list_empty(addtl)) { in drbg_hmac_generate() 718 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate() 740 if (addtl && !list_empty(addtl)) in drbg_hmac_generate() 741 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate() 904 struct list_head *addtl) in drbg_hash_process_addtl() argument 912 if (!addtl || list_empty(addtl)) in drbg_hash_process_addtl() [all …]
|
D | testmgr.c | 3644 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local 3667 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test() 3671 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test() 3674 buf, test->expectedlen, &addtl); in drbg_cavs_test() 3682 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test() 3686 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test() 3689 buf, test->expectedlen, &addtl); in drbg_cavs_test()
|