/** Copyright (c) 2007 Freescale Semiconductor Freescale Confidential Proprietary \file CipherIF.c \brief VKSP Encryption Interface File \author Freescale Semiconductor \author \author Guadalajara Applications Laboratory RTAC Americas \version 1.0 \date 3/Nov/2006 \warning * History: */ /*****************************************************************************/ /* Include Files */ #include "vksp_tx_cfg.h" #include "Aes.h" /*******************************************************************************/ /** * \brief VkspTx_Encrypt - Interface Function for accessing the encryption driver. * \author RV after IM * \param VkspTx_DataType *Data : Pointer to the plaintext. * \param const VkspTx_DataType *Key : Pointer to the key. * \param VkspTx_DataType *Result : Pointer to the ciphertext (where result is stored). * \return void * \todo */ void VkspTx_Encrypt(const VkspTx_DataType *Data, const VkspTx_DataType *Key, VkspTx_DataType *Result) { Aes_Encrypt((VkspTx_DataType *)Data,(VkspTx_DataType *)Key,Result); }