Home
last modified time | relevance | path

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

/linux-6.12.1/crypto/
Dhctr2.c26 #define BLOCKCIPHER_BLOCK_SIZE 16 macro
47 u8 L[BLOCKCIPHER_BLOCK_SIZE];
60 u8 first_block[BLOCKCIPHER_BLOCK_SIZE];
61 u8 xctr_iv[BLOCKCIPHER_BLOCK_SIZE];
133 u8 hbar[BLOCKCIPHER_BLOCK_SIZE]; in hctr2_setkey()
162 err = crypto_shash_setkey(tctx->polyval, hbar, BLOCKCIPHER_BLOCK_SIZE); in hctr2_setkey()
196 static const u8 padding[BLOCKCIPHER_BLOCK_SIZE] = { 0x1 }; in hctr2_hash_message()
199 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in hctr2_hash_message()
201 unsigned int remainder = bulk_len % BLOCKCIPHER_BLOCK_SIZE; in hctr2_hash_message()
222 BLOCKCIPHER_BLOCK_SIZE - remainder); in hctr2_hash_message()
[all …]
Dadiantum.c47 #define BLOCKCIPHER_BLOCK_SIZE 16 macro
224 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_header()
252 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message()
283 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish()
343 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt()
350 if (req->cryptlen < BLOCKCIPHER_BLOCK_SIZE) in adiantum_crypt()
387 BUILD_BUG_ON(BLOCKCIPHER_BLOCK_SIZE != 16); in adiantum_crypt()
513 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()
593 inst->alg.base.cra_blocksize = BLOCKCIPHER_BLOCK_SIZE; in adiantum_create()