Home
last modified time | relevance | path

Searched refs:MAX_BYTES (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/arch/powerpc/crypto/
Daes-spe-glue.c41 #define MAX_BYTES 768 macro
199 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_encrypt()
200 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_ecb_encrypt()
227 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_decrypt()
228 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_ecb_decrypt()
255 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_encrypt()
256 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_cbc_encrypt()
283 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_decrypt()
284 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_cbc_decrypt()
311 pbytes = pbytes > MAX_BYTES ? MAX_BYTES : pbytes; in ppc_ctr_crypt()
[all …]
Dsha1-spe-glue.c36 #define MAX_BYTES 2048 macro
107 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; in ppc_spe_sha1_update()
Dsha256-spe-glue.c37 #define MAX_BYTES 1024 macro
129 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; in ppc_spe_sha256_update()