Lines Matching refs:outlen
282 u8 *outbuf, u32 outlen);
501 unsigned int outlen = 0; in drbg_hmac_generate() local
506 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hmac_generate()
510 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate()
511 len += outlen; in drbg_hmac_generate()
595 unsigned char *outval, size_t outlen, in drbg_hash_df() argument
606 drbg_cpu_to_be32((outlen * 8), &input[1]); in drbg_hash_df()
613 while (len < outlen) { in drbg_hash_df()
621 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df()
622 drbg_blocklen(drbg) : (outlen - len); in drbg_hash_df()
725 unsigned int outlen = 0; in drbg_hash_hashgen() local
732 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hash_hashgen()
735 memcpy(buf + len, dst, outlen); in drbg_hash_hashgen()
736 len += outlen; in drbg_hash_hashgen()
1584 u8 *outbuf, u32 outlen) in drbg_kcapi_sym_ctr() argument
1587 u32 scratchpad_use = min_t(u32, outlen, DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1600 while (outlen) { in drbg_kcapi_sym_ctr()
1601 u32 cryptlen = min3(inlen, outlen, (u32)DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1616 outlen -= cryptlen; in drbg_kcapi_sym_ctr()