Lines Matching refs:cipher
102 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Key_Size() argument
105 switch (cipher) { in MXC_TPU_Cipher_Get_Key_Size()
123 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Block_Size() argument
125 switch (cipher) { in MXC_TPU_Cipher_Get_Block_Size()
143 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size) in MXC_TPU_Cipher_GetLength() argument
145 return MXC_TPU_RevA_Cipher_GetLength(cipher, data_size); in MXC_TPU_Cipher_GetLength()
153 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Config() argument
156 (mxc_tpu_reva_ciphersel_t)cipher); in MXC_TPU_Cipher_Config()
166 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_DoOperation() argument
169 return MXC_TPU_RevA_Cipher_DoOperation((mxc_tpu_reva_regs_t *)MXC_TPU, src, iv, key, cipher, in MXC_TPU_Cipher_DoOperation()
198 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_AES_Encrypt() argument
201 return MXC_TPU_RevA_Cipher_AES_Encrypt(plaintext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_Cipher_AES_Encrypt()
205 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_AES_Decrypt() argument
208 return MXC_TPU_RevA_Cipher_AES_Decrypt(ciphertext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_Cipher_AES_Decrypt()