CC26xx Driver Library |

- Main Page
- Related Pages
- CC26xx APIs
- Register Descriptions
- Online Resources

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Functions | Variables
crypto.c File Reference
`#include <driverlib/crypto.h>`

Go to the source code of this file.

## Functions
uint32_t | CRYPTOAesLoadKey (uint32_t *pui32AesKey, uint32_t ui32KeyLocation)
| Write the key into the Key Ram. More...
uint32_t | CRYPTOAesEcb (uint32_t *pui32MsgIn, uint32_t *pui32MsgOut, uint32_t ui32KeyLocation, bool bEncrypt, bool bIntEnable)
| Start an AES-ECB operation (encryption or decryption). More...
uint32_t | CRYPTOAesEcbStatus (void)
| Check the result of an AES ECB operation. More...
uint32_t | CRYPTOCcmAuthEncrypt (bool bEncrypt, uint32_t ui32AuthLength, uint32_t *pui32Nonce, uint32_t *pui32PlainText, uint32_t ui32PlainTextLength, uint32_t *pui32Header, uint32_t ui32HeaderLength, uint32_t ui32KeyLocation, uint32_t ui32FieldLength, bool bIntEnable)
| Start CCM operation. More...
uint32_t | CRYPTOCcmAuthEncryptStatus (void)
| Check the result of an AES CCM operation. More...
uint32_t | CRYPTOCcmAuthEncryptResultGet (uint32_t ui32TagLength, uint32_t *pui32CcmTag)
| Get the result of an AES-CCM operation. More...
uint32_t | CRYPTOCcmInvAuthDecrypt (bool bDecrypt, uint32_t ui32AuthLength, uint32_t *pui32Nonce, uint32_t *pui32CipherText, uint32_t ui32CipherTextLength, uint32_t *pui32Header, uint32_t ui32HeaderLength, uint32_t ui32KeyLocation, uint32_t ui32FieldLength, bool bIntEnable)
| Start a CCM Decryption and Inverse Authentication operation. More...
uint32_t | CRYPTOCcmInvAuthDecryptStatus (void)
| Checks CCM decrypt and Inverse Authentication result. More...
uint32_t | CRYPTOCcmInvAuthDecryptResultGet (uint32_t ui32AuthLength, uint32_t *pui32CipherText, uint32_t ui32CipherTextLength, uint32_t *pui32CcmTag)
| Get the result of the CCM operation. More...
void | CRYPTODmaEnable (uint32_t ui32Channels)
| Enable Crypto DMA operation. More...
void | CRYPTODmaDisable (uint32_t ui32Channels)
| Disable Crypto DMA operation. More...

## Variables
volatile uint32_t | g_ui32CurrentAesOp = CRYPTO_AES_NONE

## Variable Documentation

volatile uint32_t g_ui32CurrentAesOp = CRYPTO_AES_NONE

Definition at line 77 of file crypto.c.

Referenced by CRYPTOAesEcb(), CRYPTOAesEcbStatus(), CRYPTOAesLoadKey(), CRYPTOCcmAuthEncrypt(), CRYPTOCcmAuthEncryptResultGet(), CRYPTOCcmAuthEncryptStatus(), CRYPTOCcmInvAuthDecrypt(), CRYPTOCcmInvAuthDecryptResultGet(), and CRYPTOCcmInvAuthDecryptStatus().