OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:asn1_context_t
(Results
1 - 4
of
4
) sorted by null
/bootable/recovery/
asn1_decoder.h
23
typedef struct asn1_context
asn1_context_t
;
typedef in typeref:struct:asn1_context
25
asn1_context_t
* asn1_context_new(uint8_t* buffer, size_t length);
26
void asn1_context_free(
asn1_context_t
* ctx);
27
asn1_context_t
* asn1_constructed_get(
asn1_context_t
* ctx);
28
bool asn1_constructed_skip_all(
asn1_context_t
* ctx);
29
int asn1_constructed_type(
asn1_context_t
* ctx);
30
asn1_context_t
* asn1_sequence_get(
asn1_context_t
* ctx);
31
asn1_context_t
* asn1_set_get(asn1_context_t* ctx)
[
all
...]
asn1_decoder.cpp
28
}
asn1_context_t
;
typedef in typeref:struct:asn1_context
41
asn1_context_t
* asn1_context_new(uint8_t* buffer, size_t length) {
42
asn1_context_t
* ctx = (
asn1_context_t
*) calloc(1, sizeof(
asn1_context_t
));
51
void asn1_context_free(
asn1_context_t
* ctx) {
55
static inline int peek_byte(
asn1_context_t
* ctx) {
62
static inline int get_byte(
asn1_context_t
* ctx) {
72
static inline bool skip_bytes(
asn1_context_t
* ctx, size_t num_skip) {
81
static bool decode_length(
asn1_context_t
* ctx, size_t* out_len)
[
all
...]
verifier.cpp
65
asn1_context_t
* ctx = asn1_context_new(pkcs7_der, pkcs7_der_len);
70
asn1_context_t
* pkcs7_seq = asn1_sequence_get(ctx);
72
asn1_context_t
*signed_data_app = asn1_constructed_get(pkcs7_seq);
74
asn1_context_t
* signed_data_seq = asn1_sequence_get(signed_data_app);
80
asn1_context_t
*sig_set = asn1_set_get(signed_data_seq);
82
asn1_context_t
* sig_seq = asn1_sequence_get(sig_set);
/bootable/recovery/tests/unit/
asn1_decoder_test.cpp
33
asn1_context_t
* ctx = asn1_context_new(empty, sizeof(empty));
52
asn1_context_t
* ctx = asn1_context_new(truncated, sizeof(truncated));
60
asn1_context_t
* ctx = asn1_context_new(truncated, sizeof(truncated));
67
asn1_context_t
* ctx = asn1_context_new(data, sizeof(data));
68
asn1_context_t
* ptr = asn1_constructed_get(ctx);
69
ASSERT_NE((
asn1_context_t
*)NULL, ptr);
80
asn1_context_t
* ctx = asn1_context_new(data, sizeof(data));
81
asn1_context_t
* ptr = asn1_constructed_get(ctx);
82
ASSERT_NE((
asn1_context_t
*)NULL, ptr);
95
asn1_context_t
* ctx = asn1_context_new(truncated, sizeof(truncated))
[
all
...]
Completed in 459 milliseconds