Lines Matching refs:outlen
315 u8 *outbuf, u32 outlen);
726 unsigned int outlen = 0; in drbg_hmac_generate() local
731 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hmac_generate()
735 memcpy(buf + len, drbg->V, outlen); in drbg_hmac_generate()
736 len += outlen; in drbg_hmac_generate()
822 unsigned char *outval, size_t outlen, in drbg_hash_df() argument
833 drbg_cpu_to_be32((outlen * 8), &input[1]); in drbg_hash_df()
840 while (len < outlen) { in drbg_hash_df()
848 blocklen = (drbg_blocklen(drbg) < (outlen - len)) ? in drbg_hash_df()
849 drbg_blocklen(drbg) : (outlen - len); in drbg_hash_df()
952 unsigned int outlen = 0; in drbg_hash_hashgen() local
959 outlen = (drbg_blocklen(drbg) < (buflen - len)) ? in drbg_hash_hashgen()
962 memcpy(buf + len, dst, outlen); in drbg_hash_hashgen()
963 len += outlen; in drbg_hash_hashgen()
1814 u8 *outbuf, u32 outlen) in drbg_kcapi_sym_ctr() argument
1817 u32 scratchpad_use = min_t(u32, outlen, DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1830 while (outlen) { in drbg_kcapi_sym_ctr()
1831 u32 cryptlen = min3(inlen, outlen, (u32)DRBG_OUTSCRATCHLEN); in drbg_kcapi_sym_ctr()
1846 outlen -= cryptlen; in drbg_kcapi_sym_ctr()