gwenhywfar 5.10.1
tag16.h File Reference
#include <gwenhywfar/buffer.h>
#include <gwenhywfar/misc.h>
Include dependency graph for tag16.h:

Go to the source code of this file.

Typedefs

typedef struct GWEN_TAG16 GWEN_TAG16

Functions

GWENHYWFAR_API void GWEN_Tag16_DirectlyToBuffer (unsigned int tagType, const char *p, int size, GWEN_BUFFER *buf)
GWENHYWFAR_API void GWEN_Tag16_free (GWEN_TAG16 *tlv)
GWENHYWFAR_API GWEN_TAG16GWEN_Tag16_fromBuffer (GWEN_BUFFER *mbuf, int isBerTlv)
GWENHYWFAR_API GWEN_TAG16GWEN_Tag16_fromBuffer2 (const uint8_t *p, uint32_t l, int doCopy)
GWENHYWFAR_API const void * GWEN_Tag16_GetTagData (const GWEN_TAG16 *tlv)
GWENHYWFAR_API unsigned int GWEN_Tag16_GetTagLength (const GWEN_TAG16 *tlv)
GWENHYWFAR_API unsigned int GWEN_Tag16_GetTagSize (const GWEN_TAG16 *tlv)
GWENHYWFAR_API unsigned int GWEN_Tag16_GetTagType (const GWEN_TAG16 *tlv)
GWENHYWFAR_API GWEN_TAG16GWEN_Tag16_new (void)

Typedef Documentation

◆ GWEN_TAG16

typedef struct GWEN_TAG16 GWEN_TAG16

Definition at line 18 of file tag16.h.

Function Documentation

◆ GWEN_Tag16_DirectlyToBuffer()

GWENHYWFAR_API void GWEN_Tag16_DirectlyToBuffer ( unsigned int tagType,
const char * p,
int size,
GWEN_BUFFER * buf )

◆ GWEN_Tag16_free()

◆ GWEN_Tag16_fromBuffer()

GWENHYWFAR_API GWEN_TAG16 * GWEN_Tag16_fromBuffer ( GWEN_BUFFER * mbuf,
int isBerTlv )

References GWENHYWFAR_API.

◆ GWEN_Tag16_fromBuffer2()

GWENHYWFAR_API GWEN_TAG16 * GWEN_Tag16_fromBuffer2 ( const uint8_t * p,
uint32_t l,
int doCopy )

Definition at line 151 of file tag16.c.

References DBG_ERROR, GWEN_Tag16_new(), and NULL.

Referenced by GWEN_CryptHead_fromBuffer(), GWEN_CryptMgr_Decrypt(), GWEN_CryptMgr_Verify(), GWEN_SigHead_fromBuffer(), and GWEN_SigTail_fromBuffer().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GWEN_Tag16_GetTagData()

◆ GWEN_Tag16_GetTagLength()

◆ GWEN_Tag16_GetTagSize()

GWENHYWFAR_API unsigned int GWEN_Tag16_GetTagSize ( const GWEN_TAG16 * tlv)

Definition at line 72 of file tag16.c.

Referenced by GWEN_CryptHead_fromBuffer(), GWEN_CryptMgr_Decrypt(), GWEN_CryptMgr_Verify(), GWEN_SigHead_fromBuffer(), and GWEN_SigTail_fromBuffer().

Here is the caller graph for this function:

◆ GWEN_Tag16_GetTagType()

◆ GWEN_Tag16_new()

GWENHYWFAR_API GWEN_TAG16 * GWEN_Tag16_new ( void )

Definition at line 32 of file tag16.c.

References GWEN_LIST_INIT, GWEN_NEW_OBJECT, and GWEN_Tag16_new().

Referenced by GWEN_Tag16_fromBuffer(), GWEN_Tag16_fromBuffer2(), and GWEN_Tag16_new().

Here is the call graph for this function:
Here is the caller graph for this function: