libhello.h 511 Bytes
Newer Older
hu's avatar
hu committed
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
#ifndef inc_libhello_h
#define inc_libhello_h



typedef unsigned char      uint8; 
typedef unsigned short     uint16; 

typedef enum
{
    KGRE_OK = 0U,
    KGRE_NOT_OK = 1U,
}KeyGenResult; 



KeyGenResult GenerateKeyEx(
const uint8* iSeedArray, /* Array for the seed [in] */
uint8 iSeedArraySize, /* Length of the array for the seed [in] */
const uint8 iSecurityLevel, /* Security level [in] */
uint8 * iKeyArray, /* Array for the key [in, out] */
uint8 * iKeySize /* Length of the key [out] */);




#endif