Lines Matching full:blocksize
429 int blocksize = crypto_tfm_alg_blocksize(&ahash->base); in ahash_setkey() local
437 if (keylen > blocksize) { in ahash_setkey()
830 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_ctx() local
837 *next_buflen = in_len & (blocksize - 1); in ahash_update_ctx()
845 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_ctx()
847 *next_buflen = blocksize; in ahash_update_ctx()
848 to_hash -= blocksize; in ahash_update_ctx()
1206 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_no_ctx() local
1213 *next_buflen = in_len & (blocksize - 1); in ahash_update_no_ctx()
1221 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_no_ctx()
1223 *next_buflen = blocksize; in ahash_update_no_ctx()
1224 to_hash -= blocksize; in ahash_update_no_ctx()
1404 int blocksize = crypto_ahash_blocksize(ahash); in ahash_update_first() local
1410 *next_buflen = req->nbytes & (blocksize - 1); in ahash_update_first()
1418 is_cmac_aes(ctx->adata.algtype)) && to_hash >= blocksize && in ahash_update_first()
1420 *next_buflen = blocksize; in ahash_update_first()
1421 to_hash -= blocksize; in ahash_update_first()
1581 unsigned int blocksize; member
1593 .blocksize = SHA1_BLOCK_SIZE,
1614 .blocksize = SHA224_BLOCK_SIZE,
1635 .blocksize = SHA256_BLOCK_SIZE,
1656 .blocksize = SHA384_BLOCK_SIZE,
1677 .blocksize = SHA512_BLOCK_SIZE,
1698 .blocksize = MD5_BLOCK_WORDS * 4,
1717 .blocksize = AES_BLOCK_SIZE,
1736 .blocksize = AES_BLOCK_SIZE,
1931 alg->cra_blocksize = template->blocksize; in caam_hash_alloc()