Home
last modified time | relevance | path

Searched refs:cbc_blocks (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/crypto/
H A Daes-ce-glue.c271 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_SIZ in cts_cbc_decrypt()
[all...]
/kernel/linux/linux-6.6/arch/arm/crypto/
H A Daes-ce-glue.c271 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_SIZ in cts_cbc_decrypt()
[all...]
/kernel/linux/linux-5.10/arch/arm64/crypto/
H A Daes-glue.c276 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_SIZ in cts_cbc_decrypt()
[all...]
/kernel/linux/linux-6.6/arch/arm64/crypto/
H A Daes-glue.c282 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local
295 cbc_blocks = 1; in cts_cbc_encrypt()
298 if (cbc_blocks > 0) { in cts_cbc_encrypt()
300 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt()
319 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt()
339 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local
352 cbc_blocks = 1; in cts_cbc_decrypt()
355 if (cbc_blocks > 0) { in cts_cbc_decrypt()
357 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
376 req->cryptlen - cbc_blocks * AES_BLOCK_SIZ in cts_cbc_decrypt()
[all...]
H A Dsm4-ce-glue.c220 int cbc_blocks; in sm4_cbc_cts_crypt() local
234 cbc_blocks = DIV_ROUND_UP(req->cryptlen, SM4_BLOCK_SIZE) - 2; in sm4_cbc_cts_crypt()
235 if (cbc_blocks) { in sm4_cbc_cts_crypt()
237 cbc_blocks * SM4_BLOCK_SIZE, in sm4_cbc_cts_crypt()
252 req->cryptlen - cbc_blocks * SM4_BLOCK_SIZE, in sm4_cbc_cts_crypt()
/kernel/linux/linux-6.6/arch/x86/crypto/
H A Daesni-intel_glue.c383 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_encrypt() local
397 cbc_blocks = 1; in cts_cbc_encrypt()
400 if (cbc_blocks > 0) { in cts_cbc_encrypt()
402 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt()
420 req->cryptlen - cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_encrypt()
439 int cbc_blocks = DIV_ROUND_UP(req->cryptlen, AES_BLOCK_SIZE) - 2; in cts_cbc_decrypt() local
453 cbc_blocks = 1; in cts_cbc_decrypt()
456 if (cbc_blocks > 0) { in cts_cbc_decrypt()
458 cbc_blocks * AES_BLOCK_SIZE, in cts_cbc_decrypt()
476 req->cryptlen - cbc_blocks * AES_BLOCK_SIZ in cts_cbc_decrypt()
[all...]

Completed in 7 milliseconds