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

/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_k_decode.h32 #include "asn1buf.h"
34 /* asn1_error_code asn1_decode_scalar_type(asn1buf *buf, krb5_scalar *val); */
45 /* asn1_error_code asn1_decode_structure_type(asn1buf *buf,
58 /* asn1_error_code asn1_decode_array_type(asn1buf *buf, krb5_scalar ***val); */
71 (asn1buf *buf, int *val);
73 (asn1buf *buf, krb5_int32 *val);
75 (asn1buf *buf, krb5_kvno *val);
77 (asn1buf *buf, krb5_enctype *val);
79 (asn1buf *buf, krb5_msgtype *val);
81 (asn1buf *bu
[all...]
H A Dasn1_decode.h34 #include "asn1buf.h"
39 These procedures take an asn1buf whose current position points
56 /* asn1_error_code asn1_decode_type(asn1buf *buf, ctype *val); */
64 (asn1buf *buf, long *val);
66 (asn1buf *buf, unsigned long *val);
68 (asn1buf *buf, unsigned long *val);
70 (asn1buf *buf);
73 (asn1buf *buf, unsigned int *retlen, asn1_octet **val);
75 (asn1buf *buf, unsigned int *retlen, asn1_octet **val);
77 (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,
71 (asn1buf *buf, const krb5_pk_authenticator *val, unsigned int *retlen);
74 (asn1buf *buf, const krb5_pk_authenticator_draft9 *val, unsigned int *retlen);
77 (asn1buf *buf, const krb5_algorithm_identifier *val, unsigned int *retlen);
80 (asn1buf *buf, const krb5_subject_pk_info *val, unsigned int *retlen);
83 (asn1buf *buf, const krb5_algorithm_identifier **val, unsigned int *retlen);
86 (asn1buf *bu
[all...]
H A Dasn1buf.h12 } asn1buf; typedef in typeref:struct:code_buffer_rep
18 (const asn1buf *buf);
28 (const asn1buf *buf);
38 (asn1buf *buf, const unsigned int amount);
51 (asn1buf *buf, unsigned int inc);
58 (const asn1buf *buf);
103 (asn1buf **buf);
108 (asn1buf *buf, const krb5_data *code);
116 (asn1buf *subbuf, const asn1buf *bu
[all...]
H A Dasn1_make.h34 #include "asn1buf.h"
52 (asn1buf *buf,
66 (asn1buf *buf, const asn1_class asn1class,
83 (asn1buf *buf, const unsigned int seq_len, unsigned int *len);
92 (asn1buf *buf, const unsigned int set_len,
102 (asn1buf *buf,
116 (asn1buf *buf, const unsigned int in_len,
125 (asn1buf *buf,
H A Dasn1_get.h36 #include "asn1buf.h"
46 asn1_error_code asn1_get_tag_2 (asn1buf *buf, taginfo *tinfo);
50 (asn1buf *buf,
57 (asn1buf *buf,
73 (asn1buf *buf, unsigned int *retlen, int *indef);
H A Dasn1buf.c31 an asn1buf around a krb5_data structure.
36 Programs should use just pointers to asn1buf's (e.g. asn1buf *mybuf).
37 These pointers must always point to a valid, allocated asn1buf
40 The contents of the asn1buf represent an octet string. This string
42 If next == base or mybuf == NULL, then the asn1buf represents an empty
47 Pointers to asn1buf's must always point to a valid, allocated
48 asn1buf structure or be NULL.
58 #include "asn1buf.h"
66 asn1_error_code asn1buf_create(asn1buf **bu
[all...]
H A Dasn1_encode.h33 #include "asn1buf.h"
55 (asn1buf *buf, asn1_intmax val, unsigned int *retlen);
57 (asn1buf *buf, asn1_intmax val, unsigned int *retlen);
66 (asn1buf *buf, long val, unsigned int *retlen);
69 (asn1buf *buf, asn1_uintmax val,
79 (asn1buf *buf,
91 (asn1buf *buf,
102 (asn1buf *buf, int *retlen);
111 (asn1buf *buf,
122 (asn1buf *bu
[all...]
H A Dasn1_decode.c60 asn1_error_code asn1_decode_integer(asn1buf *buf, long int *val)
85 asn1_error_code asn1_decode_unsigned_integer(asn1buf *buf, long unsigned int *val)
119 asn1_error_code asn1_decode_maybe_unsigned(asn1buf *buf, unsigned long *val)
153 asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val)
163 asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val)
173 asn1_error_code asn1_decode_charstring(asn1buf *buf, unsigned int *retlen, char **val)
184 asn1_error_code asn1_decode_generalstring(asn1buf *buf, unsigned int *retlen, char **val)
195 asn1_error_code asn1_decode_null(asn1buf *buf)
203 asn1_error_code asn1_decode_printablestring(asn1buf *buf, int *retlen, char **val)
213 asn1_error_code asn1_decode_ia5string(asn1buf *bu
[all...]
H A Dasn1_k_decode.c197 asn1buf subbuf; \
212 asn1buf subbuf; \
234 asn1buf subbuf; \
296 asn1buf seqbuf; \
351 asn1_error_code asn1_decode_kerberos_time(asn1buf *buf, krb5_timestamp *val)
365 asn1_error_code fname(asn1buf * buf, ktype * val)\
375 asn1_error_code fname(asn1buf * buf, ktype * val)\
395 asn1_error_code asn1_decode_seqnum(asn1buf *buf, krb5_ui_4 *val)
406 asn1_error_code asn1_decode_msgtype(asn1buf *buf, krb5_msgtype *val)
420 asn1_error_code asn1_decode_realm(asn1buf *bu
[all...]
H A Dasn1_make.c31 asn1_error_code asn1_make_etag(asn1buf *buf, asn1_class asn1class,
39 asn1_error_code asn1_make_tag(asn1buf *buf, asn1_class asn1class,
60 asn1_error_code asn1_make_length(asn1buf *buf, const unsigned int in_len, unsigned int *retlen)
86 asn1_error_code asn1_make_id(asn1buf *buf, asn1_class asn1class,
121 asn1_error_code asn1_make_sequence(asn1buf *buf, const unsigned int seq_len, unsigned int *retlen)
137 asn1_error_code asn1_make_set(asn1buf *buf, const unsigned int set_len, unsigned int *retlen)
153 asn1_error_code asn1_make_string(asn1buf *buf, const unsigned int length, const char *string, int *retlen)
H A Dasn1_encode.c33 asn1_error_code asn1_encode_boolean(asn1buf *buf, asn1_intmax val,
55 static asn1_error_code asn1_encode_integer_internal(asn1buf *buf,
88 asn1_error_code asn1_encode_integer(asn1buf * buf, asn1_intmax val,
108 asn1_encode_enumerated(asn1buf * buf, long val,
127 asn1_error_code asn1_encode_unsigned_integer(asn1buf *buf, asn1_uintmax val,
160 encode_bytestring_with_tag(asn1buf *buf, unsigned int len,
178 asn1_error_code asn1_encode_oid(asn1buf *buf, unsigned int len,
186 asn1_error_code asn1_encode_octetstring(asn1buf *buf, unsigned int len,
195 asn1_error_code asn1_encode_null(asn1buf *buf, int *retlen)
208 asn1_error_code asn1_encode_printablestring(asn1buf *bu
[all...]
H A Dldap_key_seq.c62 asn1_encode_key(asn1buf *buf,
141 asn1buf *buf = NULL;
230 decode_tagged_integer (asn1buf *buf, asn1_tagnum expectedtag, long *val)
234 asn1buf tmp, subbuf;
256 decode_tagged_unsigned_integer (asn1buf *buf, int expectedtag, unsigned long *val)
260 asn1buf tmp, subbuf;
282 decode_tagged_octetstring (asn1buf *buf, asn1_tagnum expectedtag,
287 asn1buf tmp, subbuf;
311 static asn1_error_code asn1_decode_key(asn1buf *buf, krb5_key_data *key)
316 asn1buf subbu
[all...]
H A Dasn1_get.c30 asn1_get_tag_2(asn1buf *buf, taginfo *t)
102 asn1_error_code asn1_get_sequence(asn1buf *buf, unsigned int *retlen, int *indef)
H A Dasn1_k_encode.c120 asn1_encode_kerberos_time_at(asn1buf *buf, const krb5_timestamp *val,
163 asn1_encode_krb5_flags_at(asn1buf *buf, const krb5_flags *val,
329 asn1_encode_kdc_req_hack(asn1buf *, const struct kdc_req_hack *,
333 asn1_encode_kdc_req_body(asn1buf *buf, const krb5_kdc_req *val,
531 asn1_encode_sam_challenge_2(asn1buf *buf, const krb5_sam_challenge_2 *val,
1362 asn1_error_code asn1_encode_krb5_substructure(asn1buf *buf,
1460 asn1_encode_kerberos_time(asn1buf *buf, const krb5_timestamp val,
1467 asn1_error_code asn1_encode_pk_authenticator(asn1buf *buf, const krb5_pk_authenticator *val, unsigned int *retlen)
1479 asn1_error_code asn1_encode_pk_authenticator_draft9(asn1buf *buf, const krb5_pk_authenticator_draft9 *val, unsigned int *retlen)
1494 asn1_error_code asn1_encode_algorithm_identifier(asn1buf *bu
[all...]
H A Dkrb5_encode.c32 #include "asn1buf.h"
45 asn1buf *buf=NULL;\
H A Dkrb5_decode.c39 asn1buf buf;\
112 asn1buf subbuf;\
/opensolaris-onvv-gate/usr/src/lib/gss_mechs/mech_krb5/
H A DMakefile.com110 asn1buf.o krb5_decode.o krb5_encode.o \
/opensolaris-onvv-gate/exception_lists/
H A Dcopyright96 usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/asn1buf.h

Completed in 70 milliseconds