Lines Matching refs:cipher

221 unsigned int MXC_TPU_RevA_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size)  in MXC_TPU_RevA_Cipher_GetLength()  argument
224 block_size = MXC_TPU_Cipher_Get_Block_Size(cipher); in MXC_TPU_RevA_Cipher_GetLength()
246 mxc_tpu_reva_ciphersel_t cipher) in MXC_TPU_RevA_Cipher_Config() argument
255 (cipher << MXC_F_TPU_REVA_CIPHER_CTRL_CIPHER_POS) | in MXC_TPU_RevA_Cipher_Config()
271 const char *key, mxc_tpu_ciphersel_t cipher, in MXC_TPU_RevA_Cipher_DoOperation() argument
290 numBlocks = MXC_TPU_Cipher_GetLength(cipher, data_size); in MXC_TPU_RevA_Cipher_DoOperation()
292 keyLength = MXC_TPU_Cipher_Get_Key_Size(cipher); in MXC_TPU_RevA_Cipher_DoOperation()
293 dataLength = MXC_TPU_Cipher_Get_Block_Size(cipher); in MXC_TPU_RevA_Cipher_DoOperation()
374 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_RevA_Cipher_AES_Encrypt() argument
377 if ((cipher != MXC_TPU_CIPHER_AES128) && (cipher != MXC_TPU_CIPHER_AES192) && in MXC_TPU_RevA_Cipher_AES_Encrypt()
378 (cipher != MXC_TPU_CIPHER_AES256)) { in MXC_TPU_RevA_Cipher_AES_Encrypt()
386 return MXC_TPU_Cipher_DoOperation(plaintext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_RevA_Cipher_AES_Encrypt()
390 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_RevA_Cipher_AES_Decrypt() argument
393 if ((cipher != MXC_TPU_CIPHER_AES128) && (cipher != MXC_TPU_CIPHER_AES192) && in MXC_TPU_RevA_Cipher_AES_Decrypt()
394 (cipher != MXC_TPU_CIPHER_AES256)) { in MXC_TPU_RevA_Cipher_AES_Decrypt()
402 return MXC_TPU_Cipher_DoOperation(ciphertext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_RevA_Cipher_AES_Decrypt()