Lines Matching refs:blocksize
148 unsigned int blocksize = in qce_ahash_export() local
157 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
164 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
178 unsigned int blocksize; in qce_import_common() local
181 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
183 memcpy(rctx->buf, buffer, blocksize); in qce_import_common()
185 if (in_count <= blocksize) { in qce_import_common()
202 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
239 unsigned int blocksize; in qce_ahash_update() local
241 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
247 if (total <= blocksize) { in qce_ahash_update()
266 hash_later = total % blocksize; in qce_ahash_update()
371 unsigned int blocksize; in qce_ahash_hmac_setkey() local
377 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
380 if (keylen <= blocksize) { in qce_ahash_hmac_setkey()
451 unsigned int blocksize; member
462 .blocksize = SHA1_BLOCK_SIZE,
471 .blocksize = SHA256_BLOCK_SIZE,
480 .blocksize = SHA1_BLOCK_SIZE,
489 .blocksize = SHA256_BLOCK_SIZE,
522 base->cra_blocksize = def->blocksize; in qce_ahash_register_one()