Lines Matching defs:blocksize
152 unsigned int blocksize =
161 memcpy(out_state->buffer, rctx->buf, blocksize);
168 memcpy(out_state->buf, rctx->buf, blocksize);
182 unsigned int blocksize;
185 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash));
187 memcpy(rctx->buf, buffer, blocksize);
189 if (in_count <= blocksize) {
206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1));
243 unsigned int blocksize;
245 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
251 if (total <= blocksize) {
270 hash_later = total % blocksize;
277 /* here nbytes is multiple of blocksize */
375 unsigned int blocksize;
381 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
384 if (keylen <= blocksize) {
455 unsigned int blocksize;
466 .blocksize = SHA1_BLOCK_SIZE,
475 .blocksize = SHA256_BLOCK_SIZE,
484 .blocksize = SHA1_BLOCK_SIZE,
493 .blocksize = SHA256_BLOCK_SIZE,
526 base->cra_blocksize = def->blocksize;