Lines Matching defs:buf

171 int asn1_get_next(const u8 *buf, size_t len, struct asn1_hdr *hdr)  in asn1_get_next()
290 int asn1_parse_oid(const u8 *buf, size_t len, struct asn1_oid *oid) in asn1_parse_oid()
334 int asn1_get_oid(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_oid()
351 void asn1_oid_to_str(const struct asn1_oid *oid, char *buf, size_t len) in asn1_oid_to_str()
391 unsigned long asn1_bit_string_to_long(const u8 *buf, size_t len) in asn1_bit_string_to_long()
433 int asn1_get_integer(const u8 *buf, size_t len, int *integer, const u8 **next) in asn1_get_integer()
466 int asn1_get_sequence(const u8 *buf, size_t len, struct asn1_hdr *hdr, in asn1_get_sequence()
480 int asn1_get_alg_id(const u8 *buf, size_t len, struct asn1_oid *oid, in asn1_get_alg_id()
504 void asn1_put_integer(struct wpabuf *buf, int val) in asn1_put_integer()
519 static void asn1_put_len(struct wpabuf *buf, size_t len) in asn1_put_len()
539 void asn1_put_octet_string(struct wpabuf *buf, const struct wpabuf *val) in asn1_put_octet_string()
547 void asn1_put_oid(struct wpabuf *buf, const struct asn1_oid *oid) in asn1_put_oid()
580 void asn1_put_hdr(struct wpabuf *buf, u8 class, int constructed, u8 tag, in asn1_put_hdr()
588 void asn1_put_sequence(struct wpabuf *buf, const struct wpabuf *payload) in asn1_put_sequence()
596 void asn1_put_set(struct wpabuf *buf, const struct wpabuf *payload) in asn1_put_set()
604 void asn1_put_utf8string(struct wpabuf *buf, const char *val) in asn1_put_utf8string()
615 struct wpabuf *buf; in asn1_build_alg_id() local
637 struct wpabuf * asn1_encaps(struct wpabuf *buf, u8 class, u8 tag) in asn1_encaps()