Lines Matching refs:bsize
19 unsigned int bsize = crypto_shash_blocksize(desc->tfm);
23 index = ctx->count % bsize;
26 if ((index + len) < bsize)
31 memcpy(ctx->buf + index, data, bsize - index);
32 cpacf_kimd(ctx->func, ctx->state, ctx->buf, bsize);
33 data += bsize - index;
34 len -= bsize - index;
39 if (len >= bsize) {
40 n = (len / bsize) * bsize;
75 unsigned int bsize = crypto_shash_blocksize(desc->tfm);
80 n = ctx->count % bsize;