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

/linux-4.1.27/arch/powerpc/crypto/
H A Daes-spe-glue.c27 * MAX_BYTES defines the number of bytes that are allowed to be processed
40 #define MAX_BYTES 768 macro
192 ubytes = nbytes > MAX_BYTES ? ppc_ecb_encrypt()
193 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_ecb_encrypt()
220 ubytes = nbytes > MAX_BYTES ? ppc_ecb_decrypt()
221 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_ecb_decrypt()
248 ubytes = nbytes > MAX_BYTES ? ppc_cbc_encrypt()
249 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_cbc_encrypt()
276 ubytes = nbytes > MAX_BYTES ? ppc_cbc_decrypt()
277 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_cbc_decrypt()
304 pbytes = pbytes > MAX_BYTES ? MAX_BYTES : pbytes; ppc_ctr_crypt()
336 ubytes = nbytes > MAX_BYTES ? ppc_xts_encrypt()
337 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_xts_encrypt()
367 ubytes = nbytes > MAX_BYTES ? ppc_xts_decrypt()
368 nbytes - MAX_BYTES : nbytes & (AES_BLOCK_SIZE - 1); ppc_xts_decrypt()
H A Dsha1-spe-glue.c27 * MAX_BYTES defines the number of bytes that are allowed to be processed
36 #define MAX_BYTES 2048 macro
106 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; ppc_spe_sha1_update()
H A Dsha256-spe-glue.c28 * MAX_BYTES defines the number of bytes that are allowed to be processed
37 #define MAX_BYTES 1024 macro
128 bytes = (len > MAX_BYTES) ? MAX_BYTES : len; ppc_spe_sha256_update()

Completed in 156 milliseconds