Searched refs:asn1_context (Results 1 – 4 of 4) sorted by relevance
/bootable/recovery/install/ |
D | asn1_decoder.cpp | 19 int asn1_context::peek_byte() const { in peek_byte() 26 int asn1_context::get_byte() { in get_byte() 37 bool asn1_context::skip_bytes(size_t num_skip) { in skip_bytes() 46 bool asn1_context::decode_length(size_t* out_len) { in decode_length() 75 asn1_context* asn1_context::asn1_constructed_get() { in asn1_constructed_get() 84 asn1_context* app_ctx = new asn1_context(p_, length); in asn1_constructed_get() 89 bool asn1_context::asn1_constructed_skip_all() { in asn1_constructed_skip_all() 102 int asn1_context::asn1_constructed_type() const { in asn1_constructed_type() 106 asn1_context* asn1_context::asn1_sequence_get() { in asn1_sequence_get() 114 return new asn1_context(p_, length); in asn1_sequence_get() [all …]
|
D | verifier.cpp | 72 asn1_context ctx(pkcs7_der, pkcs7_der_len); in read_pkcs7() 74 std::unique_ptr<asn1_context> pkcs7_seq(ctx.asn1_sequence_get()); in read_pkcs7() 79 std::unique_ptr<asn1_context> signed_data_app(pkcs7_seq->asn1_constructed_get()); in read_pkcs7() 84 std::unique_ptr<asn1_context> signed_data_seq(signed_data_app->asn1_sequence_get()); in read_pkcs7() 91 std::unique_ptr<asn1_context> sig_set(signed_data_seq->asn1_set_get()); in read_pkcs7() 96 std::unique_ptr<asn1_context> sig_seq(sig_set->asn1_sequence_get()); in read_pkcs7()
|
/bootable/recovery/tests/unit/ |
D | asn1_decoder_test.cpp | 27 asn1_context ctx(empty, sizeof(empty)); in TEST() 44 asn1_context ctx(truncated, sizeof(truncated)); in TEST() 50 asn1_context ctx(truncated, sizeof(truncated)); in TEST() 56 asn1_context ctx(data, sizeof(data)); in TEST() 57 std::unique_ptr<asn1_context> ptr(ctx.asn1_constructed_get()); in TEST() 67 asn1_context ctx(data, sizeof(data)); in TEST() 68 std::unique_ptr<asn1_context> ptr(ctx.asn1_constructed_get()); in TEST() 80 asn1_context ctx(truncated, sizeof(truncated)); in TEST() 86 asn1_context ctx(data, sizeof(data)); in TEST() 97 asn1_context ctx(truncated, sizeof(truncated)); in TEST() [all …]
|
/bootable/recovery/install/include/private/ |
D | asn1_decoder.h | 23 class asn1_context { 25 asn1_context(const uint8_t* buffer, size_t length) : p_(buffer), length_(length), app_type_(0) {} in asn1_context() function 27 asn1_context* asn1_constructed_get(); 29 asn1_context* asn1_sequence_get(); 30 asn1_context* asn1_set_get();
|