summaryrefslogtreecommitdiffhomepage
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h
diff options
context:
space:
mode:
Diffstat (limited to 'digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h')
-rw-r--r--digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h
new file mode 100644
index 00000000..4da3710b
--- /dev/null
+++ b/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h
@@ -0,0 +1,51 @@
+/**************************************************************************//**
+ \file machwdEncrypt.h
+
+ \brief Prototypes of ecnryption functions and corresponding types.
+ Note that encryption is supported only for RF231 and RF212.
+
+ \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.
+******************************************************************************/
+
+#ifndef _MACHWDENCRYPT_H
+#define _MACHWDENCRYPT_H
+
+/******************************************************************************
+ Includes section
+******************************************************************************/
+#include <rfEncrypt.h>
+
+/******************************************************************************
+ Define(s) section
+******************************************************************************/
+//! Redefenition of encryption request function name.
+#define MACHWD_EncryptReq RF_EncryptReq
+
+/******************************************************************************
+ Types section
+******************************************************************************/
+//! Redefenition of encryption request structure.
+typedef RF_EncryptReq_t MACHWD_EncryptReq_t;
+
+/******************************************************************************
+ Prototypes section
+******************************************************************************/
+/**************************************************************************//**
+ \brief Executes AES command.
+ \param reqParams - request parameters structure pointer.
+ \return none.
+******************************************************************************/
+void MACHWD_EncryptReq(MACHWD_EncryptReq_t *reqParams);
+
+#endif /*_MACHWDENCRYPT_H*/
+
+// eof machwdEncrypt.h