Home
last modified time | relevance | path

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

/Linux-v6.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()
253 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_hash_message()
287 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish()
307 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 1); in adiantum_finish()
327 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt()
332 if (req->cryptlen < BLOCKCIPHER_BLOCK_SIZE) in adiantum_crypt()
348 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 0); in adiantum_crypt()
357 BUILD_BUG_ON(BLOCKCIPHER_BLOCK_SIZE != 16); in adiantum_crypt()
483 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms()
[all …]