Home
last modified time | relevance | path

Searched refs:BLOCKCIPHER_BLOCK_SIZE (Results 1 – 2 of 2) sorted by relevance

/linux/crypto/
H A Dhctr2.c25 #define BLOCKCIPHER_BLOCK_SIZE 16 macro
46 u8 L[BLOCKCIPHER_BLOCK_SIZE];
50 u8 first_block[BLOCKCIPHER_BLOCK_SIZE];
51 u8 xctr_iv[BLOCKCIPHER_BLOCK_SIZE];
100 u8 hbar[BLOCKCIPHER_BLOCK_SIZE]; in hctr2_setkey()
159 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in hctr2_hash_message()
173 if (req->cryptlen % BLOCKCIPHER_BLOCK_SIZE) in hctr2_hash_message()
191 crypto_xor(rctx->first_block, digest, BLOCKCIPHER_BLOCK_SIZE); in hctr2_finish()
195 0, BLOCKCIPHER_BLOCK_SIZE, 1); in hctr2_finish()
215 int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in hctr2_crypt()
[all …]
H A Dadiantum.c38 #define BLOCKCIPHER_BLOCK_SIZE 16 macro
210 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header()
353 unsigned int len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message()
373 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt()
392 if (req->cryptlen < BLOCKCIPHER_BLOCK_SIZE) in adiantum_crypt()
425 BUILD_BUG_ON(BLOCKCIPHER_BLOCK_SIZE != 16); in adiantum_crypt()
565 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()
637 inst->alg.base.cra_blocksize = BLOCKCIPHER_BLOCK_SIZE; in adiantum_create()