Searched refs:addtl (Results 1 – 7 of 7) sorted by relevance
/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() 252 ctx->addtl = NULL; in rng_accept_parent()
|
D | drbg.c | 597 struct list_head *addtl) in drbg_ctr_generate() argument 603 if (addtl && !list_empty(addtl)) { in drbg_ctr_generate() 604 ret = drbg_ctr_update(drbg, addtl, 2); in drbg_ctr_generate() 710 struct list_head *addtl) in drbg_hmac_generate() argument 718 if (addtl && !list_empty(addtl)) { in drbg_hmac_generate() 719 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate() 741 if (addtl && !list_empty(addtl)) in drbg_hmac_generate() 742 ret = drbg_hmac_update(drbg, addtl, 1); in drbg_hmac_generate() 905 struct list_head *addtl) in drbg_hash_process_addtl() argument 913 if (!addtl || list_empty(addtl)) in drbg_hash_process_addtl() [all …]
|
D | fips140-selftests.c | 470 struct drbg_string addtl, pers, testentropy; in fips_test_drbg() local 504 drbg_string_fill(&addtl, vec->add_a, vec->add_size); in fips_test_drbg() 508 vec->out_size, &addtl, in fips_test_drbg() 512 &addtl); in fips_test_drbg() 524 drbg_string_fill(&addtl, vec->add_b, vec->add_size); in fips_test_drbg() 528 vec->out_size, &addtl, in fips_test_drbg() 532 &addtl); in fips_test_drbg()
|
D | jitterentropy.c | 362 } addtl = { in jent_condition_data() local 369 return jent_hash_time(ec->hash_state, time, (u8 *)&addtl, sizeof(addtl), in jent_condition_data()
|
D | jitterentropy.h | 6 extern int jent_hash_time(void *hash_state, __u64 time, u8 *addtl,
|
D | jitterentropy-kcapi.c | 94 int jent_hash_time(void *hash_state, __u64 time, u8 *addtl, in jent_hash_time() argument 128 crypto_shash_finup(desc, addtl, addtl_len, intermediary); in jent_hash_time()
|
D | testmgr.c | 3871 struct drbg_string addtl, pers, testentropy; in drbg_cavs_test() local 3894 drbg_string_fill(&addtl, test->addtla, test->addtllen); in drbg_cavs_test() 3898 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test() 3901 buf, test->expectedlen, &addtl); in drbg_cavs_test() 3909 drbg_string_fill(&addtl, test->addtlb, test->addtllen); in drbg_cavs_test() 3913 buf, test->expectedlen, &addtl, &test_data); in drbg_cavs_test() 3916 buf, test->expectedlen, &addtl); in drbg_cavs_test()
|