Lines Matching refs:addtl
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()
920 list_splice_tail(addtl, &datalist); in drbg_hash_process_addtl()
978 struct list_head *addtl) in drbg_hash_generate() argument
991 ret = drbg_hash_process_addtl(drbg, addtl); in drbg_hash_generate()
1348 struct drbg_string *addtl) in drbg_generate() argument
1361 if (addtl && NULL == addtl->buf && 0 < addtl->len) { in drbg_generate()
1377 if (addtl && addtl->len > (drbg_max_addtl(drbg))) { in drbg_generate()
1379 addtl->len); in drbg_generate()
1397 len = drbg_seed(drbg, addtl, true); in drbg_generate()
1401 addtl = NULL; in drbg_generate()
1404 if (addtl && 0 < addtl->len) in drbg_generate()
1405 list_add_tail(&addtl->list, &addtllist); in drbg_generate()
1475 struct drbg_string *addtl) in drbg_generate_long() argument
1485 err = drbg_generate(drbg, buf + len, chunk, addtl); in drbg_generate_long()
1951 struct drbg_string *addtl = NULL; in drbg_kcapi_random() local
1957 addtl = &string; in drbg_kcapi_random()
1960 return drbg_generate_long(drbg, dst, dlen, addtl); in drbg_kcapi_random()
2010 struct drbg_string addtl; in drbg_healthcheck_sanity() local
2043 drbg_string_fill(&addtl, buf, max_addtllen + 1); in drbg_healthcheck_sanity()
2045 len = drbg_generate(drbg, buf, OUTBUFLEN, &addtl); in drbg_healthcheck_sanity()
2052 ret = drbg_seed(drbg, &addtl, false); in drbg_healthcheck_sanity()