Searched refs:asn1buf (Results 1 - 18 of 18) sorted by relevance

/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.h33 #include "asn1buf.h"
35 /* asn1_error_code asn1_decode_scalar_type(asn1buf *buf, krb5_scalar *val); */
52 * asn1_error_code asn1_decode_structure_type(asn1buf *buf,
71 /* asn1_error_code asn1_decode_array_type(asn1buf *buf, krb5_scalar ***val); */
89 asn1_error_code asn1_decode_int(asn1buf *buf, int *val);
90 asn1_error_code asn1_decode_int32(asn1buf *buf, krb5_int32 *val);
91 asn1_error_code asn1_decode_kvno(asn1buf *buf, krb5_kvno *val);
92 asn1_error_code asn1_decode_enctype(asn1buf *buf, krb5_enctype *val);
93 asn1_error_code asn1_decode_msgtype(asn1buf *buf, krb5_msgtype *val);
94 asn1_error_code asn1_decode_cksumtype(asn1buf *bu
[all...]
H A Dasn1_decode.h33 #include "asn1buf.h"
38 * These procedures take an asn1buf whose current position points
55 /* asn1_error_code asn1_decode_type(asn1buf *buf, ctype *val); */
64 asn1_error_code asn1_decode_boolean(asn1buf *buf, unsigned int *val);
65 asn1_error_code asn1_decode_integer(asn1buf *buf, long *val);
66 asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, unsigned long *val);
67 asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val);
68 asn1_error_code asn1_decode_null(asn1buf *buf);
70 asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen,
72 asn1_error_code asn1_decode_octetstring(asn1buf *bu
[all...]
H A Dasn1_k_encode.h33 #include "asn1buf.h"
37 * asn1_error_code asn1_encode_asn1_type(asn1buf *buf,
47 * asn1_error_code asn1_encode_asn1_type(asn1buf *buf,
57 * asn1_error_code asn1_encode_asn1_type(asn1buf *buf,
70 asn1_error_code asn1_encode_pk_authenticator(asn1buf *buf,
75 asn1_encode_pk_authenticator_draft9(asn1buf *buf,
80 asn1_encode_algorithm_identifier(asn1buf *buf,
84 asn1_error_code asn1_encode_subject_pk_info(asn1buf *buf,
89 asn1buf *buf, const krb5_algorithm_identifier **val, unsigned int *retlen);
91 asn1_error_code asn1_encode_auth_pack(asn1buf *bu
[all...]
H A Dasn1buf.h11 } asn1buf; typedef in typeref:struct:code_buffer_rep
17 unsigned int asn1buf_free(const asn1buf *buf);
28 asn1_error_code asn1buf_ensure_space(asn1buf *buf, const unsigned int amount);
41 asn1_error_code asn1buf_expand(asn1buf *buf, unsigned int inc);
50 int asn1buf_len(const asn1buf *buf);
96 asn1_error_code asn1buf_create(asn1buf **buf);
102 asn1_error_code asn1buf_wrap_data(asn1buf *buf, const krb5_data *code);
111 asn1_error_code asn1buf_imbed(asn1buf *subbuf, const asn1buf *buf,
123 asn1_error_code asn1buf_sync(asn1buf *bu
[all...]
H A Dasn1_make.h33 #include "asn1buf.h"
50 asn1_error_code asn1_make_etag(asn1buf *buf, asn1_class asn1class,
63 asn1_error_code asn1_make_tag(asn1buf *buf, asn1_class asn1class,
80 asn1_error_code asn1_make_sequence(asn1buf *buf, const unsigned int seq_len,
91 asn1_error_code asn1_make_set(asn1buf *buf, const unsigned int set_len,
102 asn1_error_code asn1_make_string(asn1buf *buf, const unsigned int len,
116 asn1_error_code asn1_make_length(asn1buf *buf, const unsigned int in_len,
126 asn1_error_code asn1_make_id(asn1buf *buf, asn1_class asn1class,
H A Dasn1_get.h35 #include "asn1buf.h"
55 asn1_error_code asn1_get_tag_2 (asn1buf *buf, taginfo *tinfo);
58 asn1_error_code asn1_get_tag_indef(asn1buf *buf,
64 asn1_error_code asn1_get_tag(asn1buf *buf,
84 asn1_error_code asn1_get_sequence(asn1buf *buf, unsigned int *retlen,
H A Dasn1buf.c32 * an asn1buf around a krb5_data structure.
38 * Programs should use just pointers to asn1buf's (e.g. asn1buf *mybuf).
39 * These pointers must always point to a valid, allocated asn1buf
42 * The contents of the asn1buf represent an octet string. This string
44 * If next == base or mybuf == NULL, then the asn1buf represents an empty
51 * Pointers to asn1buf's must always point to a valid, allocated
52 * asn1buf structure or be NULL.
63 #include "asn1buf.h"
78 static unsigned int asn1buf_free(const asn1buf *);
[all...]
H A Dasn1_encode.h33 #include "asn1buf.h"
54 asn1_error_code asn1_encode_boolean(asn1buf *buf, asn1_intmax val,
56 asn1_error_code asn1_encode_integer(asn1buf *buf, asn1_intmax val,
67 asn1_error_code asn1_encode_enumerated(asn1buf *buf, long val,
70 asn1_error_code asn1_encode_unsigned_integer(asn1buf *buf, asn1_uintmax val,
81 asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len,
93 asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len,
104 asn1_error_code asn1_encode_null(asn1buf *buf, int *retlen);
114 asn1_error_code asn1_encode_printablestring(asn1buf *buf, unsigned int len,
125 asn1_error_code asn1_encode_ia5string(asn1buf *bu
[all...]
H A Dasn1_decode.c61 asn1_decode_integer(asn1buf *buf, long int *val)
87 asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val)
122 asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val)
157 asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val)
168 asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val)
179 asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val)
191 asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val)
203 asn1_decode_null(asn1buf *buf)
212 asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val)
223 asn1_decode_ia5string(asn1buf *bu
[all...]
H A Dasn1_k_decode.c62 asn1_get_eoc_tag (asn1buf *buf)
227 asn1buf subbuf; \
242 asn1buf subbuf; \
264 asn1buf subbuf; \
320 asn1buf seqbuf; \
356 end_sequence_of_no_tagvars_helper(asn1buf *buf, asn1buf *seqbufp,
398 asn1_decode_kerberos_time(asn1buf *buf, krb5_timestamp *val)
412 asn1_error_code fname(asn1buf * buf, ktype * val) \
422 asn1_error_code fname(asn1buf * bu
[all...]
H A Dasn1_make.c31 asn1_make_etag(asn1buf *buf, asn1_class asn1class, asn1_tagnum tagnum,
38 asn1_make_tag(asn1buf *buf, asn1_class asn1class,
59 asn1_make_length(asn1buf *buf, const unsigned int in_len, unsigned int *retlen)
86 asn1_make_id(asn1buf *buf, asn1_class asn1class,
122 asn1_make_sequence(asn1buf *buf, const unsigned int seq_len,
140 asn1_make_set(asn1buf *buf, const unsigned int set_len, unsigned int *retlen)
157 asn1_make_string(asn1buf *buf, const unsigned int length, const char *string,
H A Dasn1_encode.c34 asn1_encode_boolean(asn1buf *buf, asn1_intmax val, unsigned int *retlen)
56 asn1_encode_integer_internal(asn1buf *buf, asn1_intmax val,
89 asn1_encode_integer(asn1buf * buf, asn1_intmax val, unsigned int *retlen)
108 asn1_encode_enumerated(asn1buf * buf, long val,
128 asn1_encode_unsigned_integer(asn1buf *buf, asn1_uintmax val,
161 encode_bytestring_with_tag(asn1buf *buf, unsigned int len,
180 asn1_encode_oid(asn1buf *buf, unsigned int len, const asn1_octet *val,
188 asn1_encode_octetstring(asn1buf *buf, unsigned int len, const void *val,
196 asn1_error_code asn1_encode_null(asn1buf *buf, int *retlen)
209 asn1_error_code asn1_encode_printablestring(asn1buf *bu
[all...]
H A Dldap_key_seq.c137 decode_tagged_integer (asn1buf *buf, asn1_tagnum expectedtag, long *val)
141 asn1buf tmp, subbuf;
163 decode_tagged_unsigned_integer (asn1buf *buf, int expectedtag, unsigned long *val)
167 asn1buf tmp, subbuf;
189 decode_tagged_octetstring (asn1buf *buf, asn1_tagnum expectedtag,
195 asn1buf tmp, subbuf;
220 asn1_decode_key(asn1buf *buf, krb5_key_data *key)
225 asn1buf subbuf;
239 asn1buf slt;
268 asn1buf kbu
[all...]
H A Dasn1_get.c31 asn1_get_tag_2(asn1buf *buf, taginfo *t)
104 asn1_get_sequence(asn1buf *buf, unsigned int *retlen, int *indef)
H A Dasn1_k_encode.c116 asn1_encode_kerberos_time_at(asn1buf *buf, const krb5_timestamp *val,
161 asn1_encode_krb5_flags_at(asn1buf *buf, const krb5_flags *val,
333 asn1_encode_kdc_req_hack(asn1buf *, const struct kdc_req_hack *,
337 asn1_encode_kdc_req_body(asn1buf *buf, const krb5_kdc_req *val,
538 asn1_encode_sam_challenge_2(asn1buf *buf, const krb5_sam_challenge_2 *val,
1494 asn1_error_code asn1_encode_krb5_substructure(asn1buf *buf,
1608 asn1_encode_kerberos_time(asn1buf *buf, const krb5_timestamp val,
1616 asn1_encode_pk_authenticator(asn1buf *buf, const krb5_pk_authenticator *val,
1630 asn1_encode_pk_authenticator_draft9(asn1buf *buf,
1648 asn1_encode_algorithm_identifier(asn1buf *bu
[all...]
H A Dkrb5_encode.c32 #include "asn1buf.h"
47 asn1buf *buf=NULL; \
H A Dkrb5_decode.c49 asn1buf buf; \
120 asn1_get_eoc_tag (asn1buf *buf)
142 asn1buf subbuf; \
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/
H A DMakefile.com112 asn1buf.o krb5_decode.o krb5_encode.o \

Completed in 44 milliseconds