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

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)
 
void asn1_refcount_set_one (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_refcount_dec_and_test_zero (ASN1_VALUE **pval, 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

◆ offset2ptr

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

Function Documentation

◆ asn1_do_adb()

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

◆ asn1_enc_free()

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

◆ asn1_enc_init()

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

◆ asn1_enc_restore()

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

◆ asn1_enc_save()

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

◆ asn1_get_choice_selector()

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

◆ asn1_get_field_ptr()

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

◆ asn1_refcount_dec_and_test_zero()

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

◆ asn1_refcount_set_one()

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

◆ asn1_set_choice_selector()

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