summaryrefslogtreecommitdiff
path: root/digital/zigbit/bitcloud/stack/Components/Security/ServiceProvider/include/sspChallengeGen.h
blob: ac9677ab51492c3c7b4fd42676bbea28d283cba5 (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
/**************************************************************************//**
  \file sspChallengeGen.h

  \brief Challenge genrator header file.

  \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:
      07/12/07 ALuzhetsky - Created.
******************************************************************************/
#ifndef _SSPCHALLENGEGEN_H
#define _SSPCHALLENGEGEN_H

/******************************************************************************
                        Includes section.
******************************************************************************/
#include <types.h>
#include <sspCommon.h>

/******************************************************************************
                        Definitions section.
******************************************************************************/
#define CHALLENGE_SEQUENCE_SIZE 16

/******************************************************************************
                        Types' definition section.
******************************************************************************/

/******************************************************************************
                        Prototypes section.
******************************************************************************/
/*******************************************************************************
  Generates challenge.
  Parameters:
    challenge - space to store generated challenge.
  Return:
    none.
********************************************************************************/
void SSP_GenerateChallenge(uint8_t challenge[/*CHALLENGE_SEQUENCE_SIZE*/]);

#endif //_SSPCHALLENGEGEN_H

// eof sspChellenge.h