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

Go to the source code of this file.

Macros

#define offset2ptr(addr, offset)   (void *)(((char *) addr) + offset)
 

Functions

int asn1_get_choice_selector (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_set_choice_selector (ASN1_VALUE **pval, int value, const ASN1_ITEM *it)
 
int asn1_do_lock (ASN1_VALUE **pval, int op, const ASN1_ITEM *it)
 
void asn1_enc_init (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
void asn1_enc_free (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_enc_save (ASN1_VALUE **pval, const unsigned char *in, int inlen, const ASN1_ITEM *it)
 
int asn1_enc_restore (int *len, unsigned char **out, ASN1_VALUE **pval, const ASN1_ITEM *it)
 
ASN1_VALUE ** asn1_get_field_ptr (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
 
const ASN1_TEMPLATEasn1_do_adb (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
 

Macro Definition Documentation

#define offset2ptr (   addr,
  offset 
)    (void *)(((char *) addr) + offset)

Definition at line 70 of file tasn_utl.c.

Function Documentation

const ASN1_TEMPLATE* asn1_do_adb ( ASN1_VALUE **  pval,
const ASN1_TEMPLATE tt,
int  nullerr 
)

Definition at line 220 of file tasn_utl.c.

int asn1_do_lock ( ASN1_VALUE **  pval,
int  op,
const ASN1_ITEM it 
)

Definition at line 101 of file tasn_utl.c.

void asn1_enc_free ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)

Definition at line 151 of file tasn_utl.c.

void asn1_enc_init ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)

Definition at line 139 of file tasn_utl.c.

int asn1_enc_restore ( int *  len,
unsigned char **  out,
ASN1_VALUE **  pval,
const ASN1_ITEM it 
)

Definition at line 185 of file tasn_utl.c.

int asn1_enc_save ( ASN1_VALUE **  pval,
const unsigned char *  in,
int  inlen,
const ASN1_ITEM it 
)

Definition at line 165 of file tasn_utl.c.

int asn1_get_choice_selector ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)

Definition at line 76 of file tasn_utl.c.

ASN1_VALUE** asn1_get_field_ptr ( ASN1_VALUE **  pval,
const ASN1_TEMPLATE tt 
)

Definition at line 203 of file tasn_utl.c.

int asn1_set_choice_selector ( ASN1_VALUE **  pval,
int  value,
const ASN1_ITEM it 
)

Definition at line 86 of file tasn_utl.c.