summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/MAC_PHY/MAC_HWD_PHY/include/machwdEncrypt.h
blob: 4da3710bbfbe302c0f35cf66e6fc98d314d274e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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