Lines Matching refs:blocksize
145 unsigned int blocksize = in qce_ahash_export() local
154 memcpy(out_state->buffer, rctx->buf, blocksize); in qce_ahash_export()
161 memcpy(out_state->buf, rctx->buf, blocksize); in qce_ahash_export()
175 unsigned int blocksize; in qce_import_common() local
178 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(ahash)); in qce_import_common()
180 memcpy(rctx->buf, buffer, blocksize); in qce_import_common()
182 if (in_count <= blocksize) { in qce_import_common()
199 rctx->buflen = (unsigned int)(in_count & (blocksize - 1)); in qce_import_common()
236 unsigned int blocksize; in qce_ahash_update() local
238 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_update()
244 if (total <= blocksize) { in qce_ahash_update()
263 hash_later = total % blocksize; in qce_ahash_update()
352 unsigned int blocksize; in qce_ahash_hmac_setkey() local
358 blocksize = crypto_tfm_alg_blocksize(crypto_ahash_tfm(tfm)); in qce_ahash_hmac_setkey()
361 if (keylen <= blocksize) { in qce_ahash_hmac_setkey()
425 unsigned int blocksize; member
436 .blocksize = SHA1_BLOCK_SIZE,
445 .blocksize = SHA256_BLOCK_SIZE,
454 .blocksize = SHA1_BLOCK_SIZE,
463 .blocksize = SHA256_BLOCK_SIZE,
496 base->cra_blocksize = def->blocksize; in qce_ahash_register_one()