Searched refs:BLOCKCIPHER_BLOCK_SIZE (Results 1 - 3 of 3) sorted by relevance
/kernel/linux/linux-6.6/crypto/ |
H A D | hctr2.c | 26 #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 in hctr2_hash_message() [all...] |
H A D | adiantum.c | 47 #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() 326 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt() 331 if (req->cryptlen < BLOCKCIPHER_BLOCK_SIZE) in adiantum_crypt() 347 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 0); in adiantum_crypt() 356 BUILD_BUG_ON(BLOCKCIPHER_BLOCK_SIZE != 16); in adiantum_crypt() 482 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | adiantum.c | 46 #define BLOCKCIPHER_BLOCK_SIZE 16 macro 223 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() 286 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_finish() 306 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 1); in adiantum_finish() 326 const unsigned int bulk_len = req->cryptlen - BLOCKCIPHER_BLOCK_SIZE; in adiantum_crypt() 331 if (req->cryptlen < BLOCKCIPHER_BLOCK_SIZE) in adiantum_crypt() 347 bulk_len, BLOCKCIPHER_BLOCK_SIZE, 0); in adiantum_crypt() 356 BUILD_BUG_ON(BLOCKCIPHER_BLOCK_SIZE != 16); in adiantum_crypt() 482 if (blockcipher_alg->cra_blocksize != BLOCKCIPHER_BLOCK_SIZE) in adiantum_supported_algorithms() [all...] |
Completed in 3 milliseconds