Searched refs:byte_count (Results 1 – 7 of 7) sorted by relevance
186 unsigned int byte_count = (unsigned int)nbytes; in get_prng_bytes() local207 byte_count = DEFAULT_BLK_SZ; in get_prng_bytes()210 err = byte_count; in get_prng_bytes()213 byte_count, ctx); in get_prng_bytes()228 if (byte_count < DEFAULT_BLK_SZ) { in get_prng_bytes()234 byte_count--; in get_prng_bytes()235 if (byte_count == 0) in get_prng_bytes()243 for (; byte_count >= DEFAULT_BLK_SZ; byte_count -= DEFAULT_BLK_SZ) { in get_prng_bytes()261 if (byte_count) in get_prng_bytes()
38 u64 byte_count; member163 mctx->byte_count = 0; in md4_init()171 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()173 mctx->byte_count += len; in md4_update()203 const unsigned int offset = mctx->byte_count & 0x3f; in md4_final()216 mctx->block[14] = mctx->byte_count << 3; in md4_final()217 mctx->block[15] = mctx->byte_count >> 29; in md4_final()
41 u64 byte_count; member158 mctx->byte_count = 0; in md5_init()166 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md5_update()168 mctx->byte_count += len; in md5_update()198 const unsigned int offset = mctx->byte_count & 0x3f; in md5_final()211 mctx->block[14] = mctx->byte_count << 3; in md5_final()212 mctx->block[15] = mctx->byte_count >> 29; in md5_final()
26 u64 byte_count; member239 rctx->byte_count = 0; in rmd256_init()259 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd256_update()261 rctx->byte_count += len; in rmd256_update()299 bits = cpu_to_le64(rctx->byte_count << 3); in rmd256_final()302 index = rctx->byte_count & 0x3f; in rmd256_final()
26 u64 byte_count; member224 rctx->byte_count = 0; in rmd128_init()240 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd128_update()242 rctx->byte_count += len; in rmd128_update()280 bits = cpu_to_le64(rctx->byte_count << 3); in rmd128_final()283 index = rctx->byte_count & 0x3f; in rmd128_final()
26 u64 byte_count; member267 rctx->byte_count = 0; in rmd160_init()284 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd160_update()286 rctx->byte_count += len; in rmd160_update()324 bits = cpu_to_le64(rctx->byte_count << 3); in rmd160_final()327 index = rctx->byte_count & 0x3f; in rmd160_final()
26 u64 byte_count; member286 rctx->byte_count = 0; in rmd320_init()308 const u32 avail = sizeof(rctx->buffer) - (rctx->byte_count & 0x3f); in rmd320_update()310 rctx->byte_count += len; in rmd320_update()348 bits = cpu_to_le64(rctx->byte_count << 3); in rmd320_final()351 index = rctx->byte_count & 0x3f; in rmd320_final()