Lines Matching refs:bsize
19 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_update() local
24 index = ctx->count % bsize; in s390_sha_update()
27 if ((index + len) < bsize) in s390_sha_update()
36 memcpy(ctx->buf + index, data, bsize - index); in s390_sha_update()
37 cpacf_kimd(fc, ctx->state, ctx->buf, bsize); in s390_sha_update()
40 data += bsize - index; in s390_sha_update()
41 len -= bsize - index; in s390_sha_update()
46 if (len >= bsize) { in s390_sha_update()
47 n = (len / bsize) * bsize; in s390_sha_update()
83 unsigned int bsize = crypto_shash_blocksize(desc->tfm); in s390_sha_final() local
88 n = ctx->count % bsize; in s390_sha_final()