Lines Matching refs:buf

50 asn1_error_code asn1_make_etag(asn1buf *buf, asn1_class asn1class,
54 * requires *buf is allocated, in_len is the length of an ASN.1 encoding
55 * which has just been inserted in *buf
56 * modifies *buf, *retlen
58 * length = in_len into *buf.
63 asn1_error_code asn1_make_tag(asn1buf *buf, asn1_class asn1class,
68 * requires *buf is allocated, in_len is the length of an ASN.1 encoding
69 * which has just been inserted in *buf
70 * modifies *buf, *retlen
73 * id# = tag and length = in_len into *buf.
80 asn1_error_code asn1_make_sequence(asn1buf *buf, const unsigned int seq_len,
83 * requires *buf is allocated, seq_len is the length of a series of
84 * sequence components which have just been inserted in *buf
85 * modifies *buf, *retlen
87 * in *buf. Returns the length of this encoding in *retlen.
91 asn1_error_code asn1_make_set(asn1buf *buf, const unsigned int set_len,
94 * requires *buf is allocated, seq_len is the length of a series of
95 * sequence components which have just been inserted in *buf
96 * modifies *buf, *retlen
97 * effects Inserts the set header for a set of length set_len in *buf.
102 asn1_error_code asn1_make_string(asn1buf *buf, const unsigned int len,
105 * requires *buf is allocated, len is the length of *string
106 * effects Inserts the encoding of *string (a series of octets) in *buf.
116 asn1_error_code asn1_make_length(asn1buf *buf, const unsigned int in_len,
119 * requires *buf is allocated, in_len is the length of an ASN.1 encoding
120 * which has just been inserted in *buf
121 * modifies *buf, *retlen
122 * effects inserts length octet(s) for in_len into *buf
126 asn1_error_code asn1_make_id(asn1buf *buf, asn1_class asn1class,
130 * requires *buf is allocated, asn1class and tagnum are appropriate for
131 * the ASN.1 encoding which has just been inserted in *buf
132 * modifies *buf, *retlen
134 * into *buf