ITS
ber_tlv_length.c File Reference
#include <asn_internal.h>
#include <ber_tlv_length.h>
#include <ber_tlv_tag.h>
Include dependency graph for ber_tlv_length.c:

Go to the source code of this file.

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 (asn_codec_ctx_t *opt_codec_ctx, int _is_constructed, const void *ptr, size_t size)
 
size_t der_tlv_length_serialize (ber_tlv_len_t len, void *bufp, size_t size)
 

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 ( asn_codec_ctx_t opt_codec_ctx,
int  _is_constructed,
const void *  ptr,
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 *  bufp,
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: