summaryrefslogtreecommitdiff
path: root/digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h')
-rw-r--r--digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h72
1 files changed, 0 insertions, 72 deletions
diff --git a/digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h b/digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h
deleted file mode 100644
index fa760078..00000000
--- a/digital/beacon/src/Bitcloud_stack/Components/MAC_PHY/include/rfEncrypt.h
+++ /dev/null
@@ -1,72 +0,0 @@
-/**************************************************************************//**
- \file rfEncrypt.h
-
- \brief Prototypes of ecnryption functions and corresponding types.
- Powered by RF chip.
-
- \author
- Atmel Corporation: http://www.atmel.com \n
- Support email: avr@atmel.com
-
- Copyright (c) 2008-2011, Atmel Corporation. All rights reserved.
- Licensed under Atmel's Limited License Agreement (BitCloudTM).
-
- \internal
- History:
- 18/01/08 A. Mandychev - Created.
- 24/03/08 A. Mandychev - Renamed to rfEncrypt.h
-******************************************************************************/
-
-#ifndef _RFECNRYPT_H
-#define _RFECNRYPT_H
-
-/******************************************************************************
- Includes section
-******************************************************************************/
-#include <types.h>
-#include <macCommon.h>
-
-/******************************************************************************
- Define(s) section
-******************************************************************************/
-
-/******************************************************************************
- Types section
-******************************************************************************/
-//! Set of AES command.
-typedef enum
-{
- RF_SET_KEY_AES_CMD = 0,
- RF_SET_INIT_VECT_AES_CMD,
- RF_ECB_ENCRYPT_AES_CMD,
- RF_CBC_ENCRYPT_AES_CMD,
-} RF_AesCmd_t;
-
-//! Encryption request structure.
-typedef struct
-{
- //! Service field - for internal needs.
- MAC_Service_t service;
- //! AES command.
- RF_AesCmd_t aesCmd;
- //! Pointer to input data for AES command.
- uint8_t *text;
- //! Size of input data in blocks.
- uint8_t blockCount; // Block is 128-bit data.
- void (*RF_EncryptConf)(void);
-} RF_EncryptReq_t;
-
-/******************************************************************************
- Prototypes section
-******************************************************************************/
-/**************************************************************************//**
- \brief Executes AES command. Valid for RF231 and RF212.
- \param reqParams - request parameters structure pointer.
- \return none.
-******************************************************************************/
-void RF_EncryptReq(RF_EncryptReq_t *reqParams);
-
-#endif /*_RFECNRYPT_H*/
-
-// eof rfEncrypt.h
-