Searched refs:cbc_blocks (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/arch/arm/crypto/ |
D | aes-ce-glue.c | 271 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local 285 cbc_blocks = 1; in cts_cbc_encrypt() 288 if (cbc_blocks > 0) { in cts_cbc_encrypt() 290 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 309 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 329 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local 343 cbc_blocks = 1; in cts_cbc_decrypt() 346 if (cbc_blocks > 0) { in cts_cbc_decrypt() 348 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt() 367 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
|
/linux-5.19.10/arch/arm64/crypto/ |
D | aes-glue.c | 276 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local 289 cbc_blocks = 1; in cts_cbc_encrypt() 292 if (cbc_blocks > 0) { in cts_cbc_encrypt() 294 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 313 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 333 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local 346 cbc_blocks = 1; in cts_cbc_decrypt() 349 if (cbc_blocks > 0) { in cts_cbc_decrypt() 351 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt() 370 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
|
/linux-5.19.10/arch/x86/crypto/ |
D | aesni-intel_glue.c | 370 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local 384 cbc_blocks = 1; in cts_cbc_encrypt() 387 if (cbc_blocks > 0) { in cts_cbc_encrypt() 389 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 407 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 426 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local 440 cbc_blocks = 1; in cts_cbc_decrypt() 443 if (cbc_blocks > 0) { in cts_cbc_decrypt() 445 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt() 463 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
|