Macros | Functions
tasn_utl.c File Reference
#include <openssl/asn1.h>
#include <assert.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"
#include "internal.h"
Include dependency graph for tasn_utl.c:

Go to the source code of this file.

Macros

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

Functions

const ASN1_TEMPLATEasn1_do_adb (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt, int nullerr)
 
void asn1_enc_free (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
void asn1_enc_init (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_enc_restore (int *len, unsigned char **out, 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_get_choice_selector (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
static ASN1_ENCODINGasn1_get_enc_ptr (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
ASN1_VALUE ** asn1_get_field_ptr (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
 
static CRYPTO_refcount_tasn1_get_references (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_refcount_dec_and_test_zero (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
void asn1_refcount_set_one (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int asn1_set_choice_selector (ASN1_VALUE **pval, int value, const ASN1_ITEM *it)
 

Macro Definition Documentation

◆ offset2ptr

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

Definition at line 75 of file tasn_utl.c.

Function Documentation

◆ asn1_do_adb()

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

Definition at line 222 of file tasn_utl.c.

◆ asn1_enc_free()

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

Definition at line 145 of file tasn_utl.c.

◆ asn1_enc_init()

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

Definition at line 133 of file tasn_utl.c.

◆ asn1_enc_restore()

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

Definition at line 191 of file tasn_utl.c.

◆ asn1_enc_save()

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

Definition at line 160 of file tasn_utl.c.

◆ asn1_get_choice_selector()

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

Definition at line 78 of file tasn_utl.c.

◆ asn1_get_enc_ptr()

static ASN1_ENCODING* asn1_get_enc_ptr ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)
static

Definition at line 120 of file tasn_utl.c.

◆ asn1_get_field_ptr()

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

Definition at line 209 of file tasn_utl.c.

◆ asn1_get_references()

static CRYPTO_refcount_t* asn1_get_references ( ASN1_VALUE **  pval,
const ASN1_ITEM it 
)
static

Definition at line 93 of file tasn_utl.c.

◆ asn1_refcount_dec_and_test_zero()

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

Definition at line 112 of file tasn_utl.c.

◆ asn1_refcount_set_one()

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

Definition at line 105 of file tasn_utl.c.

◆ asn1_set_choice_selector()

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

Definition at line 84 of file tasn_utl.c.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:33