Home
last modified time | relevance | path

Searched refs:asn1_octet (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/asn.1/
H A Dasn1_make.c63 retval = asn1buf_insert_octet(buf, (asn1_octet)(in_len&0x7F)); in asn1_make_length()
70 retval = asn1buf_insert_octet(buf, (asn1_octet)(in_copy&0xFF)); in asn1_make_length()
75 retval = asn1buf_insert_octet(buf, (asn1_octet) (0x80 | (asn1_octet)(length&0x7F))); in asn1_make_length()
91 retval = asn1buf_insert_octet(buf, (asn1_octet) (asn1class | construction | in asn1_make_id()
92 (asn1_octet)tagnum)); in asn1_make_id()
99 retval = asn1buf_insert_octet(buf, (asn1_octet)(tagcopy&0x7F)); in asn1_make_id()
105 retval = asn1buf_insert_octet(buf, (asn1_octet) (0x80 | (asn1_octet)(tagcopy&0x7F))); in asn1_make_id()
110 retval = asn1buf_insert_octet(buf, (asn1_octet) (asn1class | construction | 0x1F)); in asn1_make_id()
H A Dasn1buf.h164 (asn1buf *buf, const unsigned int len, const asn1_octet *s);
180 (asn1buf *buf, asn1_octet *o);
188 : ((*(o) = (asn1_octet)(*(((buf)->next)++))),0))
191 (asn1buf *buf, const unsigned int len, asn1_octet **s);
H A Dasn1buf.c197 asn1_error_code asn1buf_remove_octet(asn1buf *buf, asn1_octet *o) in asn1buf_remove_octet()
200 *o = (asn1_octet)(*((buf->next)++)); in asn1buf_remove_octet()
204 asn1_error_code asn1buf_remove_octetstring(asn1buf *buf, const unsigned int len, asn1_octet **s) in asn1buf_remove_octetstring()
214 *s = (asn1_octet*)malloc(len*sizeof(asn1_octet)); in asn1buf_remove_octetstring()
218 (*s)[i] = (asn1_octet)(buf->next)[i]; in asn1buf_remove_octetstring()
377 buf->base = malloc((asn1buf_size(buf)+inc) * sizeof(asn1_octet)); in asn1buf_expand()
380 (asn1buf_size(buf)+inc) * sizeof(asn1_octet)); in asn1buf_expand()
H A Dasn1_decode.c63 asn1_octet o; in asn1_decode_integer()
88 asn1_octet o; in asn1_decode_unsigned_integer()
122 asn1_octet o; in asn1_decode_maybe_unsigned()
153 asn1_error_code asn1_decode_oid(asn1buf *buf, unsigned int *retlen, asn1_octet **val) in asn1_decode_oid()
163 asn1_error_code asn1_decode_octetstring(asn1buf *buf, unsigned int *retlen, asn1_octet **val) in asn1_decode_octetstring()
H A Dasn1_decode.h71 (asn1buf *buf, unsigned int *retlen, asn1_octet **val);
73 (asn1buf *buf, unsigned int *retlen, asn1_octet **val);
H A Dasn1_get.c46 asn1_octet o; in asn1_get_tag_2()
74 asn1_octet o; in asn1_get_tag_2()
H A Dkrbasn1.h30 typedef krb5_octet asn1_octet; typedef
H A Dasn1_encode.c39 asn1_octet bval; in asn1_encode_boolean()
67 retval = asn1buf_insert_octet(buf,(asn1_octet) digit); in asn1_encode_integer_internal()
139 retval = asn1buf_insert_octet(buf,(asn1_octet) digit); in asn1_encode_unsigned_integer()
179 const asn1_octet *val, in asn1_encode_oid()
H A Dasn1_encode.h92 unsigned int len, const asn1_octet *val,
H A Dldap_key_seq.c281 unsigned int *len, asn1_octet **val) in decode_tagged_octetstring()
H A Dasn1_k_decode.c500 asn1_octet unused, o; in asn1_decode_krb5_flags()
1379 asn1_octet unused; in asn1_decode_subject_pk_info()