Classes | Macros | Typedefs | Functions
third_party/boringssl-with-bazel/src/crypto/asn1/internal.h File Reference
#include <time.h>
#include <openssl/asn1.h>
#include <openssl/asn1t.h>
Include dependency graph for third_party/boringssl-with-bazel/src/crypto/asn1/internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ASN1_ENCODING_st
 
struct  asn1_object_st
 
struct  ASN1_STRING_TABLE
 

Macros

#define ASN1_OBJECT_FLAG_DYNAMIC   0x01 /* internal use */
 
#define ASN1_OBJECT_FLAG_DYNAMIC_DATA   0x08 /* internal use */
 
#define ASN1_OBJECT_FLAG_DYNAMIC_STRINGS   0x04 /* internal use */
 

Typedefs

typedef struct ASN1_ENCODING_st ASN1_ENCODING
 

Functions

int asn1_bit_string_length (const ASN1_BIT_STRING *str, uint8_t *out_padding_bits)
 
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_generalizedtime_to_tm (struct tm *tm, const ASN1_GENERALIZEDTIME *d)
 
int asn1_get_choice_selector (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
ASN1_VALUE ** asn1_get_field_ptr (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
 
OPENSSL_EXPORT void asn1_get_string_table_for_testing (const ASN1_STRING_TABLE **out_ptr, size_t *out_len)
 
int asn1_is_printable (uint32_t value)
 
void asn1_item_combine_free (ASN1_VALUE **pval, const ASN1_ITEM *it, int combine)
 
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)
 
void ASN1_item_ex_free (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
int ASN1_item_ex_i2d (ASN1_VALUE **pval, unsigned char **out, const ASN1_ITEM *it, int tag, int aclass)
 
int ASN1_item_ex_new (ASN1_VALUE **pval, const ASN1_ITEM *it)
 
ASN1_OBJECTASN1_OBJECT_new (void)
 
void ASN1_primitive_free (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)
 
void ASN1_template_free (ASN1_VALUE **pval, const ASN1_TEMPLATE *tt)
 
const void * asn1_type_value_as_pointer (const ASN1_TYPE *a)
 
int asn1_utctime_to_tm (struct tm *tm, const ASN1_UTCTIME *d)
 
struct tmOPENSSL_gmtime (const time_t *time, struct tm *result)
 
int OPENSSL_gmtime_adj (struct tm *tm, int offset_day, long offset_sec)
 
int OPENSSL_gmtime_diff (int *out_days, int *out_secs, const struct tm *from, const struct tm *to)
 
int UTF8_getc (const unsigned char *str, int len, uint32_t *val)
 
int UTF8_putc (unsigned char *str, int len, uint32_t value)
 

Macro Definition Documentation

◆ ASN1_OBJECT_FLAG_DYNAMIC

#define ASN1_OBJECT_FLAG_DYNAMIC   0x01 /* internal use */

◆ ASN1_OBJECT_FLAG_DYNAMIC_DATA

#define ASN1_OBJECT_FLAG_DYNAMIC_DATA   0x08 /* internal use */

◆ ASN1_OBJECT_FLAG_DYNAMIC_STRINGS

#define ASN1_OBJECT_FLAG_DYNAMIC_STRINGS   0x04 /* internal use */

Typedef Documentation

◆ ASN1_ENCODING

Function Documentation

◆ asn1_bit_string_length()

int asn1_bit_string_length ( const ASN1_BIT_STRING str,
uint8_t out_padding_bits 
)

Definition at line 74 of file a_bitstr.c.

◆ 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_generalizedtime_to_tm()

int asn1_generalizedtime_to_tm ( struct tm tm,
const ASN1_GENERALIZEDTIME d 
)

Definition at line 67 of file a_gentm.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_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_string_table_for_testing()

OPENSSL_EXPORT void asn1_get_string_table_for_testing ( const ASN1_STRING_TABLE **  out_ptr,
size_t *  out_len 
)

Definition at line 262 of file a_strnid.c.

◆ asn1_is_printable()

int asn1_is_printable ( uint32_t  value)

Definition at line 286 of file a_mbstr.c.

◆ asn1_item_combine_free()

void asn1_item_combine_free ( ASN1_VALUE **  pval,
const ASN1_ITEM it,
int  combine 
)

Definition at line 78 of file tasn_fre.c.

◆ 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 
)

Definition at line 464 of file tasn_dec.c.

◆ ASN1_item_ex_free()

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

Definition at line 73 of file tasn_fre.c.

◆ ASN1_item_ex_i2d()

int ASN1_item_ex_i2d ( ASN1_VALUE **  pval,
unsigned char **  out,
const ASN1_ITEM it,
int  tag,
int  aclass 
)

Definition at line 118 of file tasn_enc.c.

◆ ASN1_item_ex_new()

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

Definition at line 88 of file tasn_new.c.

◆ ASN1_OBJECT_new()

ASN1_OBJECT* ASN1_OBJECT_new ( void  )

Definition at line 250 of file a_object.c.

◆ ASN1_primitive_free()

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

Definition at line 184 of file tasn_fre.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.

◆ ASN1_template_free()

void ASN1_template_free ( ASN1_VALUE **  pval,
const ASN1_TEMPLATE tt 
)

Definition at line 167 of file tasn_fre.c.

◆ asn1_type_value_as_pointer()

const void* asn1_type_value_as_pointer ( const ASN1_TYPE a)

Definition at line 76 of file a_type.c.

◆ asn1_utctime_to_tm()

int asn1_utctime_to_tm ( struct tm tm,
const ASN1_UTCTIME d 
)

Definition at line 68 of file a_utctm.c.

◆ OPENSSL_gmtime()

struct tm* OPENSSL_gmtime ( const time_t *  time,
struct tm result 
)

Definition at line 69 of file time_support.c.

◆ OPENSSL_gmtime_adj()

int OPENSSL_gmtime_adj ( struct tm tm,
int  offset_day,
long  offset_sec 
)

Definition at line 144 of file time_support.c.

◆ OPENSSL_gmtime_diff()

int OPENSSL_gmtime_diff ( int out_days,
int out_secs,
const struct tm from,
const struct tm to 
)

Definition at line 174 of file time_support.c.

◆ UTF8_getc()

int UTF8_getc ( const unsigned char *  str,
int  len,
uint32_t val 
)

Definition at line 75 of file a_utf8.c.

◆ UTF8_putc()

int UTF8_putc ( unsigned char *  str,
int  len,
uint32_t  value 
)

Definition at line 172 of file a_utf8.c.



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