ITS
ber_tlv_length.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef ssize_t ber_tlv_len_t
 

Functions

ssize_t ber_fetch_length (int _is_constructed, const void *bufptr, size_t size, ber_tlv_len_t *len_r)
 
ssize_t ber_skip_length (struct asn_codec_ctx_s *opt_codec_ctx, int _is_constructed, const void *bufptr, size_t size)
 
size_t der_tlv_length_serialize (ber_tlv_len_t len, void *bufptr, size_t size)
 

Typedef Documentation

◆ ber_tlv_len_t

typedef ssize_t ber_tlv_len_t

Definition at line 12 of file ber_tlv_length.h.

Function Documentation

◆ ber_fetch_length()

ssize_t ber_fetch_length ( int  _is_constructed,
const void *  bufptr,
size_t  size,
ber_tlv_len_t len_r 
)

Definition at line 10 of file ber_tlv_length.c.

Referenced by ber_check_tags(), ber_skip_length(), and OCTET_STRING_decode_ber().

Here is the caller graph for this function:

◆ ber_skip_length()

ssize_t ber_skip_length ( struct asn_codec_ctx_s opt_codec_ctx,
int  _is_constructed,
const void *  bufptr,
size_t  size 
)

Definition at line 78 of file ber_tlv_length.c.

References _ASN_STACK_OVERFLOW_CHECK(), ASN_DEBUG(), ber_fetch_length(), ber_fetch_tag(), and BER_TLV_CONSTRUCTED.

Referenced by CHOICE_decode_ber(), and SEQUENCE_decode_ber().

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

◆ der_tlv_length_serialize()

size_t der_tlv_length_serialize ( ber_tlv_len_t  len,
void *  bufptr,
size_t  size 
)

Definition at line 142 of file ber_tlv_length.c.

Referenced by der_write_TL().

Here is the caller graph for this function: