Home
last modified time | relevance | path

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

/linux-4.1.27/arch/powerpc/crypto/
Daes-spe-glue.c40 #define MAX_BYTES 768 macro
192 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_encrypt()
193 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_ecb_encrypt()
220 ubytes = nbytes > MAX_BYTES ? in ppc_ecb_decrypt()
221 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_ecb_decrypt()
248 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_encrypt()
249 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_cbc_encrypt()
276 ubytes = nbytes > MAX_BYTES ? in ppc_cbc_decrypt()
277 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); in ppc_cbc_decrypt()
304 pbytes = pbytes > MAX_BYTES ? MAX_BYTES : pbytes; in ppc_ctr_crypt()
[all …]
Dsha1-spe-glue.c36 #define MAX_BYTES 2048 macro
106 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; in ppc_spe_sha1_update()
Dsha256-spe-glue.c37 #define MAX_BYTES 1024 macro
128 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; in ppc_spe_sha256_update()