Lines Matching refs:blocksize
152 unsigned int blocksize = in qce_ahash_export() local
161 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
168 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
182 unsigned int blocksize; in qce_import_common() local
185 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
187 memcpy(rctx->buf, buffer, blocksize); in qce_import_common()
189 if (in_count <= blocksize) { in qce_import_common()
206 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
243 unsigned int blocksize; in qce_ahash_update() local
245 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
251 if (total <= blocksize) { in qce_ahash_update()
270 hash_later = total % blocksize; in qce_ahash_update()
375 unsigned int blocksize; in qce_ahash_hmac_setkey() local
381 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
384 if (keylen <= blocksize) { in qce_ahash_hmac_setkey()
455 unsigned int blocksize; member
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; in qce_ahash_register_one()