Lines Matching refs:blocksize
153 unsigned int blocksize = in qce_ahash_export() local
162 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
169 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
183 unsigned int blocksize; in qce_import_common() local
186 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
188 memcpy(rctx->buf, buffer, blocksize); in qce_import_common()
190 if (in_count <= blocksize) { in qce_import_common()
207 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
244 unsigned int blocksize; in qce_ahash_update() local
246 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
252 if (total <= blocksize) { in qce_ahash_update()
271 hash_later = total % blocksize; in qce_ahash_update()
376 unsigned int blocksize; in qce_ahash_hmac_setkey() local
382 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
385 if (keylen <= blocksize) { in qce_ahash_hmac_setkey()
456 unsigned int blocksize; member
467 .blocksize = SHA1_BLOCK_SIZE,
476 .blocksize = SHA256_BLOCK_SIZE,
485 .blocksize = SHA1_BLOCK_SIZE,
494 .blocksize = SHA256_BLOCK_SIZE,
527 base->cra_blocksize = def->blocksize; in qce_ahash_register_one()