asn1.c File Reference
#include "includes.h"
#include "common.h"
#include "asn1.h"
Go to the source code of this file.
Functions |
unsigned long | asn1_bit_string_to_long (const u8 *buf, size_t len) |
int | asn1_get_next (const u8 *buf, size_t len, struct asn1_hdr *hdr) |
int | asn1_get_oid (const u8 *buf, size_t len, struct asn1_oid *oid, const u8 **next) |
void | asn1_oid_to_str (struct asn1_oid *oid, char *buf, size_t len) |
int | asn1_parse_oid (const u8 *buf, size_t len, struct asn1_oid *oid) |
static u8 | rotate_bits (u8 octet) |
Function Documentation
unsigned long asn1_bit_string_to_long |
( |
const u8 * |
buf, |
|
|
size_t |
len | |
|
) |
| | |
int asn1_get_next |
( |
const u8 * |
buf, |
|
|
size_t |
len, |
|
|
struct asn1_hdr * |
hdr | |
|
) |
| | |
int asn1_get_oid |
( |
const u8 * |
buf, |
|
|
size_t |
len, |
|
|
struct asn1_oid * |
oid, |
|
|
const u8 ** |
next | |
|
) |
| | |
void asn1_oid_to_str |
( |
struct asn1_oid * |
oid, |
|
|
char * |
buf, |
|
|
size_t |
len | |
|
) |
| | |
int asn1_parse_oid |
( |
const u8 * |
buf, |
|
|
size_t |
len, |
|
|
struct asn1_oid * |
oid | |
|
) |
| | |
static u8 rotate_bits |
( |
u8 |
octet |
) |
[static] |