Lines Matching refs:asn1_hdr
49 struct asn1_hdr { struct
62 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr); argument
63 void asn1_print_hdr(const struct asn1_hdr *hdr, const char *title);
64 void asn1_unexpected(const struct asn1_hdr *hdr, const char *title);
72 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr,
88 static inline bool asn1_is_oid(const struct asn1_hdr *hdr) in asn1_is_oid()
94 static inline bool asn1_is_boolean(const struct asn1_hdr *hdr) in asn1_is_boolean()
100 static inline bool asn1_is_integer(const struct asn1_hdr *hdr) in asn1_is_integer()
106 static inline bool asn1_is_enumerated(const struct asn1_hdr *hdr) in asn1_is_enumerated()
112 static inline bool asn1_is_sequence(const struct asn1_hdr *hdr) in asn1_is_sequence()
118 static inline bool asn1_is_set(const struct asn1_hdr *hdr) in asn1_is_set()
124 static inline bool asn1_is_octetstring(const struct asn1_hdr *hdr) in asn1_is_octetstring()
130 static inline bool asn1_is_bitstring(const struct asn1_hdr *hdr) in asn1_is_bitstring()
136 static inline bool asn1_is_utctime(const struct asn1_hdr *hdr) in asn1_is_utctime()
142 static inline bool asn1_is_generalizedtime(const struct asn1_hdr *hdr) in asn1_is_generalizedtime()
148 static inline bool asn1_is_string_type(const struct asn1_hdr *hdr) in asn1_is_string_type()
166 static inline bool asn1_is_bmpstring(const struct asn1_hdr *hdr) in asn1_is_bmpstring()
172 static inline bool asn1_is_utf8string(const struct asn1_hdr *hdr) in asn1_is_utf8string()
178 static inline bool asn1_is_null(const struct asn1_hdr *hdr) in asn1_is_null()
184 static inline bool asn1_is_cs_tag(const struct asn1_hdr *hdr, unsigned int tag) in asn1_is_cs_tag()