crypthead.h File Reference

#include <gwenhywfar/list1.h>
#include <gwenhywfar/buffer.h>

Go to the source code of this file.

Typedefs

typedef struct GWEN_CRYPTHEAD GWEN_CRYPTHEAD

Functions

GWENHYWFAR_API void GWEN_CryptHead_free (GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API GWEN_CRYPTHEADGWEN_CryptHead_fromBuffer (const uint8_t *p, uint32_t l)
GWENHYWFAR_API int GWEN_CryptHead_GetCryptProfile (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API uint32_t GWEN_CryptHead_GetKeyLen (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API const char * GWEN_CryptHead_GetKeyName (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API int GWEN_CryptHead_GetKeyNumber (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API const uint8_t * GWEN_CryptHead_GetKeyPtr (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API int GWEN_CryptHead_GetKeyVersion (const GWEN_CRYPTHEAD *ch)
GWENHYWFAR_API GWEN_CRYPTHEADGWEN_CryptHead_new ()
GWENHYWFAR_API void GWEN_CryptHead_SetCryptProfile (GWEN_CRYPTHEAD *ch, int i)
GWENHYWFAR_API void GWEN_CryptHead_SetKey (GWEN_CRYPTHEAD *ch, const uint8_t *p, uint32_t l)
GWENHYWFAR_API void GWEN_CryptHead_SetKeyName (GWEN_CRYPTHEAD *ch, const char *s)
GWENHYWFAR_API void GWEN_CryptHead_SetKeyNumber (GWEN_CRYPTHEAD *ch, int i)
GWENHYWFAR_API void GWEN_CryptHead_SetKeyVersion (GWEN_CRYPTHEAD *ch, int i)
GWENHYWFAR_API int GWEN_CryptHead_toBuffer (const GWEN_CRYPTHEAD *ch, GWEN_BUFFER *buf, uint8_t tagType)


Typedef Documentation

Definition at line 23 of file crypthead.h.


Function Documentation

GWENHYWFAR_API void GWEN_CryptHead_free ( GWEN_CRYPTHEAD ch  ) 

Definition at line 35 of file crypthead.c.

References GWEN_FREE_OBJECT.

Referenced by GWEN_CryptHead_fromBuffer(), GWEN_CryptMgr_Decrypt(), and GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API GWEN_CRYPTHEAD* GWEN_CryptHead_fromBuffer ( const uint8_t *  p,
uint32_t  l 
)

GWENHYWFAR_API int GWEN_CryptHead_GetCryptProfile ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 205 of file crypthead.c.

GWENHYWFAR_API uint32_t GWEN_CryptHead_GetKeyLen ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 226 of file crypthead.c.

Referenced by GWEN_CryptMgr_Decrypt().

GWENHYWFAR_API const char* GWEN_CryptHead_GetKeyName ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 161 of file crypthead.c.

Referenced by GWEN_CryptMgr_Decrypt().

GWENHYWFAR_API int GWEN_CryptHead_GetKeyNumber ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 177 of file crypthead.c.

Referenced by GWEN_CryptMgr_Decrypt().

GWENHYWFAR_API const uint8_t* GWEN_CryptHead_GetKeyPtr ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 219 of file crypthead.c.

Referenced by GWEN_CryptMgr_Decrypt().

GWENHYWFAR_API int GWEN_CryptHead_GetKeyVersion ( const GWEN_CRYPTHEAD ch  ) 

Definition at line 191 of file crypthead.c.

Referenced by GWEN_CryptMgr_Decrypt().

GWENHYWFAR_API GWEN_CRYPTHEAD* GWEN_CryptHead_new (  ) 

Definition at line 25 of file crypthead.c.

References GWEN_NEW_OBJECT.

Referenced by GWEN_CryptHead_fromBuffer(), and GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API void GWEN_CryptHead_SetCryptProfile ( GWEN_CRYPTHEAD ch,
int  i 
)

Definition at line 212 of file crypthead.c.

Referenced by GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API void GWEN_CryptHead_SetKey ( GWEN_CRYPTHEAD ch,
const uint8_t *  p,
uint32_t  l 
)

Definition at line 233 of file crypthead.c.

References NULL.

Referenced by GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API void GWEN_CryptHead_SetKeyName ( GWEN_CRYPTHEAD ch,
const char *  s 
)

Definition at line 168 of file crypthead.c.

References NULL.

Referenced by GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API void GWEN_CryptHead_SetKeyNumber ( GWEN_CRYPTHEAD ch,
int  i 
)

Definition at line 184 of file crypthead.c.

Referenced by GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API void GWEN_CryptHead_SetKeyVersion ( GWEN_CRYPTHEAD ch,
int  i 
)

Definition at line 198 of file crypthead.c.

Referenced by GWEN_CryptMgr_Encrypt().

GWENHYWFAR_API int GWEN_CryptHead_toBuffer ( const GWEN_CRYPTHEAD ch,
GWEN_BUFFER buf,
uint8_t  tagType 
)


Generated on Mon Jan 25 12:56:03 2010 for gwenhywfar by  doxygen 1.5.6