Lines Matching refs:addtl

85  * string drbg_string addtl;
87 * drbg_string_fill(&addtl, addtl_string, strlen(addtl_string));
91 * err = crypto_drbg_get_bytes_addtl(drng, &data, DATALEN, &addtl);
522 * 2 => first invocation from drbg_ctr_update when addtl is present. In
527 * was called with addtl, the df_data memory already contains the
528 * DFed addtl information and we do not need to call DF again.
595 struct list_head *addtl)
601 if (addtl && !list_empty(addtl)) {
602 ret = drbg_ctr_update(drbg, addtl, 2);
708 struct list_head *addtl)
716 if (addtl && !list_empty(addtl)) {
717 ret = drbg_hmac_update(drbg, addtl, 1);
739 if (addtl && !list_empty(addtl))
740 ret = drbg_hmac_update(drbg, addtl, 1);
903 struct list_head *addtl)
911 if (!addtl || list_empty(addtl))
919 list_splice_tail(addtl, &datalist);
977 struct list_head *addtl)
990 ret = drbg_hash_process_addtl(drbg, addtl);
1206 * concatenation of entropy with personalization str / addtl input)
1350 * @addtl Additional input that is mixed into state, may be NULL -- note
1359 struct drbg_string *addtl)
1372 if (addtl && NULL == addtl->buf && 0 < addtl->len) {
1388 if (addtl && addtl->len > (drbg_max_addtl(drbg))) {
1390 addtl->len);
1409 len = drbg_seed(drbg, addtl, true);
1413 addtl = NULL;
1421 if (addtl && 0 < addtl->len)
1422 list_add_tail(&addtl->list, &addtllist);
1492 struct drbg_string *addtl)
1502 err = drbg_generate(drbg, buf + len, chunk, addtl);
1927 struct drbg_string *addtl = NULL;
1933 addtl = &string;
1936 return drbg_generate_long(drbg, dst, dlen, addtl);
1986 struct drbg_string addtl;
2019 drbg_string_fill(&addtl, buf, max_addtllen + 1);
2021 len = drbg_generate(drbg, buf, OUTBUFLEN, &addtl);
2028 ret = drbg_seed(drbg, &addtl, false);