webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions
tasn_dec.c File Reference
#include <openssl/asn1.h>
#include <string.h>
#include <openssl/asn1t.h>
#include <openssl/buf.h>
#include <openssl/err.h>
#include <openssl/mem.h>
#include "../internal.h"

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

◆ ASN1_MAX_STRING_NEST

#define ASN1_MAX_STRING_NEST   5

◆ asn1_tlc_clear

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

◆ asn1_tlc_clear_nc

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

Function Documentation

◆ asn1_ex_c2i()

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

◆ ASN1_item_d2i()

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

◆ ASN1_item_ex_d2i()

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 
)

◆ ASN1_tag2bit()

unsigned long ASN1_tag2bit ( int  tag)

◆ ASN1_template_d2i()

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