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