#include <openssl/bytestring.h>
#include <assert.h>
#include <string.h>
#include "internal.h"
#include "../internal.h"
Go to the source code of this file.
|
int | CBS_asn1_ber_to_der (CBS *in, CBS *out, uint8_t **out_storage) |
|
static int | cbs_convert_ber (CBS *in, CBB *out, unsigned string_tag, char looking_for_eoc, unsigned depth) |
|
static int | cbs_find_ber (const CBS *orig_in, int *ber_found, unsigned depth) |
|
int | CBS_get_asn1_implicit_string (CBS *in, CBS *out, uint8_t **out_storage, unsigned outer_tag, unsigned inner_tag) |
|
static char | is_eoc (size_t header_len, CBS *contents) |
|
static int | is_string_type (unsigned tag) |
|
◆ CBS_asn1_ber_to_der()
◆ cbs_convert_ber()
static int cbs_convert_ber |
( |
CBS * |
in, |
|
|
CBB * |
out, |
|
|
unsigned |
string_tag, |
|
|
char |
looking_for_eoc, |
|
|
unsigned |
depth |
|
) |
| |
|
static |
◆ cbs_find_ber()
static int cbs_find_ber |
( |
const CBS * |
orig_in, |
|
|
int * |
ber_found, |
|
|
unsigned |
depth |
|
) |
| |
|
static |
Definition at line 58 of file ber.c.
◆ CBS_get_asn1_implicit_string()
int CBS_get_asn1_implicit_string |
( |
CBS * |
in, |
|
|
CBS * |
out, |
|
|
uint8_t ** |
out_storage, |
|
|
unsigned |
outer_tag, |
|
|
unsigned |
inner_tag |
|
) |
| |
◆ is_eoc()
static char is_eoc |
( |
size_t |
header_len, |
|
|
CBS * |
contents |
|
) |
| |
|
static |
Definition at line 98 of file ber.c.
◆ is_string_type()
static int is_string_type |
( |
unsigned |
tag | ) |
|
|
static |
Definition at line 31 of file ber.c.
◆ kMaxDepth
const unsigned kMaxDepth = 2048 |
|
static |
Definition at line 27 of file ber.c.