Lines Matching refs:cipher
92 unsigned int MXC_TPU_Cipher_Get_Key_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Key_Size() argument
95 switch (cipher) { in MXC_TPU_Cipher_Get_Key_Size()
113 unsigned int MXC_TPU_Cipher_Get_Block_Size(mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Get_Block_Size() argument
115 switch (cipher) { in MXC_TPU_Cipher_Get_Block_Size()
133 unsigned int MXC_TPU_Cipher_GetLength(mxc_tpu_ciphersel_t cipher, unsigned int data_size) in MXC_TPU_Cipher_GetLength() argument
135 return MXC_TPU_RevA_Cipher_GetLength(cipher, data_size); in MXC_TPU_Cipher_GetLength()
143 int MXC_TPU_Cipher_Config(mxc_tpu_modesel_t mode, mxc_tpu_ciphersel_t cipher) in MXC_TPU_Cipher_Config() argument
146 (mxc_tpu_reva_ciphersel_t)cipher); in MXC_TPU_Cipher_Config()
156 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_DoOperation() argument
159 return MXC_TPU_RevA_Cipher_DoOperation((mxc_tpu_reva_regs_t *)MXC_TPU, src, iv, key, cipher, in MXC_TPU_Cipher_DoOperation()
188 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_AES_Encrypt() argument
191 return MXC_TPU_RevA_Cipher_AES_Encrypt(plaintext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_Cipher_AES_Encrypt()
195 mxc_tpu_ciphersel_t cipher, mxc_tpu_modesel_t mode, in MXC_TPU_Cipher_AES_Decrypt() argument
198 return MXC_TPU_RevA_Cipher_AES_Decrypt(ciphertext, iv, key, cipher, mode, data_size, outptr); in MXC_TPU_Cipher_AES_Decrypt()