Searched refs:cbc_blocks (Results 1 – 3 of 3) sorted by relevance
/linux/arch/arm/crypto/ |
A 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/arch/arm64/crypto/ |
A D | aes-glue.c | 278 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local 291 cbc_blocks = 1; in cts_cbc_encrypt() 294 if (cbc_blocks > 0) { in cts_cbc_encrypt() 296 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 315 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt() 335 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local 348 cbc_blocks = 1; in cts_cbc_decrypt() 351 if (cbc_blocks > 0) { in cts_cbc_decrypt() 353 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt() 372 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
|
/linux/arch/x86/crypto/ |
A 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()
|
Completed in 14 milliseconds