Lines Matching defs:blocksize
146 unsigned int blocksize =
155 memcpy(out_state->buffer, rctx->buf, blocksize);
162 memcpy(out_state->buf, rctx->buf, blocksize);
176 unsigned int blocksize;
179 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash));
181 memcpy(rctx->buf, buffer, blocksize);
183 if (in_count <= blocksize) {
200 rctx->buflen = (unsigned int)(in_count & (blocksize - 1));
245 unsigned int blocksize;
247 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
253 if (total <= blocksize) {
272 hash_later = total % blocksize;
279 /* here nbytes is multiple of blocksize */
370 unsigned int blocksize;
376 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm));
379 if (keylen <= blocksize) {
441 unsigned int blocksize;
452 .blocksize = SHA1_BLOCK_SIZE,
461 .blocksize = SHA256_BLOCK_SIZE,
470 .blocksize = SHA1_BLOCK_SIZE,
479 .blocksize = SHA256_BLOCK_SIZE,
517 base->cra_blocksize = def->blocksize;