Lines Matching refs:addtl
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()
921 list_splice_tail(addtl, &datalist); in drbg_hash_process_addtl()
979 struct list_head *addtl) in drbg_hash_generate() argument
992 ret = drbg_hash_process_addtl(drbg, addtl); in drbg_hash_generate()
1385 struct drbg_string *addtl) in drbg_generate() argument
1398 if (addtl && NULL == addtl->buf && 0 < addtl->len) { in drbg_generate()
1414 if (addtl && addtl->len > (drbg_max_addtl(drbg))) { in drbg_generate()
1416 addtl->len); in drbg_generate()
1435 len = drbg_seed(drbg, addtl, true); in drbg_generate()
1439 addtl = NULL; in drbg_generate()
1448 if (addtl && 0 < addtl->len) in drbg_generate()
1449 list_add_tail(&addtl->list, &addtllist); in drbg_generate()
1519 struct drbg_string *addtl) in drbg_generate_long() argument
1529 err = drbg_generate(drbg, buf + len, chunk, addtl); in drbg_generate_long()
1953 struct drbg_string *addtl = NULL; in drbg_kcapi_random() local
1959 addtl = &string; in drbg_kcapi_random()
1962 return drbg_generate_long(drbg, dst, dlen, addtl); in drbg_kcapi_random()
2012 struct drbg_string addtl; in drbg_healthcheck_sanity() local
2045 drbg_string_fill(&addtl, buf, max_addtllen + 1); in drbg_healthcheck_sanity()
2047 len = drbg_generate(drbg, buf, OUTBUFLEN, &addtl); in drbg_healthcheck_sanity()
2054 ret = drbg_seed(drbg, &addtl, false); in drbg_healthcheck_sanity()