OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions
tasn_dec.c File Reference
#include <stddef.h>
#include <string.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
#include <openssl/objects.h>
#include <openssl/buffer.h>
#include <openssl/err.h>

Go to the source code of this file.

Macros

#define asn1_tlc_clear(c)   if (c) (c)->valid = 0
 
#define asn1_tlc_clear_nc(c)   (c)->valid = 0
 
#define ASN1_MAX_STRING_NEST   5
 

Functions

unsigned long ASN1_tag2bit (int tag)
 
ASN1_VALUEASN1_item_d2i (ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it)
 
int ASN1_template_d2i (ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_TEMPLATE *tt)
 
int ASN1_item_ex_d2i (ASN1_VALUE **pval, const unsigned char **in, long len, const ASN1_ITEM *it, int tag, int aclass, char opt, ASN1_TLC *ctx)
 
int asn1_ex_c2i (ASN1_VALUE **pval, const unsigned char *cont, int len, int utype, char *free_cont, const ASN1_ITEM *it)
 

Macro Definition Documentation

#define ASN1_MAX_STRING_NEST   5

Definition at line 1150 of file tasn_dec.c.

#define asn1_tlc_clear (   c)    if (c) (c)->valid = 0

Definition at line 116 of file tasn_dec.c.

#define asn1_tlc_clear_nc (   c)    (c)->valid = 0

Definition at line 118 of file tasn_dec.c.

Function Documentation

int asn1_ex_c2i ( ASN1_VALUE **  pval,
const unsigned char *  cont,
int  len,
int  utype,
char *  free_cont,
const ASN1_ITEM it 
)

Definition at line 919 of file tasn_dec.c.

ASN1_VALUE* ASN1_item_d2i ( ASN1_VALUE **  pval,
const unsigned char **  in,
long  len,
const ASN1_ITEM it 
)

Definition at line 128 of file tasn_dec.c.

int ASN1_item_ex_d2i ( ASN1_VALUE **  pval,
const unsigned char **  in,
long  len,
const ASN1_ITEM it,
int  tag,
int  aclass,
char  opt,
ASN1_TLC ctx 
)

Definition at line 154 of file tasn_dec.c.

unsigned long ASN1_tag2bit ( int  tag)

Definition at line 108 of file tasn_dec.c.

int ASN1_template_d2i ( ASN1_VALUE **  pval,
const unsigned char **  in,
long  len,
const ASN1_TEMPLATE tt 
)

Definition at line 141 of file tasn_dec.c.