Lines Matching refs:outlen
314 u8 *outbuf, u32 outlen);
725 unsigned int outlen = 0; in drbg_hmac_generate() local
730 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hmac_generate()
734 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate()
735 len += outlen; in drbg_hmac_generate()
821 unsigned char *outval, size_t outlen, in drbg_hash_df() argument
832 drbg_cpu_to_be32((outlen * 8), &input[1]); in drbg_hash_df()
839 while (len < outlen) { in drbg_hash_df()
847 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df()
848 drbg_blocklen(drbg) : (outlen - len); in drbg_hash_df()
951 unsigned int outlen = 0; in drbg_hash_hashgen() local
958 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hash_hashgen()
961 memcpy(buf + len, dst, outlen); in drbg_hash_hashgen()
962 len += outlen; in drbg_hash_hashgen()
1813 u8 *outbuf, u32 outlen) in drbg_kcapi_sym_ctr() argument
1816 u32 scratchpad_use = min_t(u32, outlen, DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1829 while (outlen) { in drbg_kcapi_sym_ctr()
1830 u32 cryptlen = min3(inlen, outlen, (u32)DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1845 outlen -= cryptlen; in drbg_kcapi_sym_ctr()