Lines Matching refs:block_size
63 unsigned int block_size =
72 if (!final && (len <= block_size)) {
84 rctx->hash_rem = final ? 0 : len & (block_size - 1);
88 rctx->hash_cnt -= block_size;
89 rctx->hash_rem = block_size;
153 unsigned int block_size =
163 memcpy(rctx->buf, ctx->u.sha.ipad, block_size);
164 rctx->buf_count = block_size;
204 unsigned int block_size = crypto_shash_blocksize(shash);
216 if (key_len > block_size) {
233 for (i = 0; i < block_size; i++) {
238 sg_init_one(&ctx->u.sha.opad_sg, ctx->u.sha.opad, block_size);
239 ctx->u.sha.opad_count = block_size;
296 u32 block_size;
305 .block_size = SHA1_BLOCK_SIZE,
312 .block_size = SHA224_BLOCK_SIZE,
319 .block_size = SHA256_BLOCK_SIZE,
402 base->cra_blocksize = def->block_size;