Lines Matching refs:blocksize
146 unsigned int blocksize = in qce_ahash_export() local
155 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
162 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
176 unsigned int blocksize; in qce_import_common() local
179 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
181 memcpy(rctx->buf, buffer, blocksize); in qce_import_common()
183 if (in_count <= blocksize) { in qce_import_common()
200 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
245 unsigned int blocksize; in qce_ahash_update() local
247 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
253 if (total <= blocksize) { in qce_ahash_update()
272 hash_later = total % blocksize; in qce_ahash_update()
370 unsigned int blocksize; in qce_ahash_hmac_setkey() local
376 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
379 if (keylen <= blocksize) { in qce_ahash_hmac_setkey()
441 unsigned int blocksize; member
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; in qce_ahash_register_one()