/titanic_41/usr/src/head/ |
H A D | lber.h | 93 typedef struct berelement BerElement; typedef 96 #define NULLBER ((BerElement *)NULL) 146 ber_tag_t LDAP_CALL ber_get_tag(BerElement *ber); 147 ber_tag_t LDAP_CALL ber_skip_tag(BerElement *ber, 149 ber_tag_t LDAP_CALL ber_peek_tag(BerElement *ber, 151 ber_tag_t LDAP_CALL ber_get_int(BerElement *ber, ber_int_t *num); 152 ber_tag_t LDAP_CALL ber_get_stringb(BerElement *ber, char *buf, 154 ber_tag_t LDAP_CALL ber_get_stringa(BerElement *ber, 156 ber_tag_t LDAP_CALL ber_get_stringal(BerElement *ber, 158 ber_tag_t ber_get_bitstringa(BerElement *ber, [all …]
|
/titanic_41/usr/src/lib/libkmf/ber_der/inc/ |
H A D | ber_der.h | 82 typedef struct berelement BerElement; typedef 92 BerElement *kmfder_init(const struct berval *bv); 93 BerElement *kmfber_init(const struct berval *bv); 96 int kmfber_put_len(BerElement *, ber_int_t, int); 101 ber_tag_t kmfber_first_element(BerElement *, ber_len_t *, char **); 102 ber_tag_t kmfber_next_element(BerElement *, ber_len_t *, char *); 103 ber_tag_t kmfber_scanf(BerElement *, const char *, ...); 112 extern int kmfber_printf(BerElement *, const char *, ...); 113 extern int kmfber_flatten(BerElement *, struct berval **); 114 extern int kmfber_realloc(BerElement *, ber_len_t); [all …]
|
/titanic_41/usr/src/lib/libkmf/ber_der/common/ |
H A D | io.c | 50 kmfber_read(BerElement *ber, char *buf, ber_len_t len) in kmfber_read() 70 kmfber_realloc(BerElement *ber, ber_len_t len) in kmfber_realloc() 137 kmfber_write(BerElement *ber, char *buf, ber_len_t len, int nosos) in kmfber_write() 160 kmfber_free(BerElement *ber, int freebuf) in kmfber_free() 171 BerElement * 174 BerElement *ber; in kmfber_alloc_t() 176 if ((ber = (BerElement*)calloc(1, in kmfber_alloc_t() 192 BerElement * 198 BerElement * 204 BerElement * [all …]
|
H A D | encode.c | 70 ber_put_tag(BerElement *ber, ber_tag_t tag, int nosos) in ber_put_tag() 111 kmfber_put_len(BerElement *ber, ber_int_t len, int nosos) in kmfber_put_len() 159 ber_put_int_or_enum(BerElement *ber, ber_int_t num, ber_tag_t tag) in ber_put_int_or_enum() 210 kmfber_put_enum(BerElement *ber, ber_int_t num, ber_tag_t tag) in kmfber_put_enum() 219 ber_put_int(BerElement *ber, ber_int_t num, ber_tag_t tag) in ber_put_int() 228 ber_put_oid(BerElement *ber, struct berval *oid, ber_tag_t tag) in ber_put_oid() 251 ber_put_big_int(BerElement *ber, ber_tag_t tag, char *data, in ber_put_big_int() 288 kmfber_put_ostring(BerElement *ber, char *str, ber_len_t len, in kmfber_put_ostring() 338 kmfber_put_string(BerElement *ber, char *str, ber_tag_t tag) in kmfber_put_string() 344 kmfber_put_bitstring(BerElement *ber, char *str, in kmfber_put_bitstring() [all …]
|
H A D | decode.c | 65 kmfber_get_tag(BerElement *ber) in kmfber_get_tag() 104 kmfber_skip_tag(BerElement *ber, ber_len_t *len) in kmfber_skip_tag() 164 kmfber_peek_tag(BerElement *ber, ber_len_t *len) in kmfber_peek_tag() 166 BerElement bercopy; in kmfber_peek_tag() 174 ber_getnint(BerElement *ber, ber_int_t *num, ber_slen_t len) in ber_getnint() 209 kmfber_get_int(BerElement *ber, ber_int_t *num) in kmfber_get_int() 228 kmfber_get_stringb(BerElement *ber, char *buf, ber_len_t *len) in kmfber_get_stringb() 275 kmfber_get_stringa(BerElement *ber, char **buf) in kmfber_get_stringa() 297 ber_get_oid(BerElement *ber, struct berval *oid) in ber_get_oid() 319 ber_get_bigint(BerElement *ber, struct berval **bv) in ber_get_bigint() [all …]
|
H A D | clasn1.c | 25 encode_algoid(BerElement *asn1, KMF_X509_ALGORITHM_IDENTIFIER *algoid, in encode_algoid() 202 get_sequence_data(BerElement *asn1, BerValue *seqdata) in get_sequence_data() 247 get_algoid(BerElement *asn1, KMF_X509_ALGORITHM_IDENTIFIER *algoid) in get_algoid() 254 BerElement *oidasn1 = NULL; in get_algoid() 338 encode_spki(BerElement *asn1, KMF_X509_SPKI *spki) in encode_spki() 363 BerElement *asn1; in DerEncodeSPKI() 390 get_spki(BerElement *asn1, KMF_X509_SPKI *spki) in get_spki() 425 BerElement *asn1; in DerEncodeDSASignature() 515 BerElement *asn1 = NULL; in DerDecodeDSASignature() 606 BerElement *asn1; in DerDecodeSPKI() [all …]
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | encode.c | 66 ber_put_tag( BerElement *ber, ber_tag_t tag, int nosos ) in ber_put_tag() 106 ber_put_len( BerElement *ber, ber_len_t len, int nosos ) in ber_put_len() 155 ber_put_int_or_enum( BerElement *ber, ber_int_t num, ber_tag_t tag ) in ber_put_int_or_enum() 208 ber_put_enum( BerElement *ber, ber_int_t num, ber_tag_t tag ) in ber_put_enum() 218 ber_put_int( BerElement *ber, ber_int_t num, ber_tag_t tag ) in ber_put_int() 228 ber_put_ostring( BerElement *ber, char *str, ber_len_t len, in ber_put_ostring() 279 ber_put_string( BerElement *ber, char *str, ber_tag_t tag ) in ber_put_string() 286 ber_put_bitstring( BerElement *ber, char *str, in ber_put_bitstring() 315 ber_put_null( BerElement *ber, ber_tag_t tag ) in ber_put_null() 333 ber_put_boolean( BerElement *ber, int boolval, ber_tag_t tag ) in ber_put_boolean() [all …]
|
H A D | decode.c | 53 ber_get_tag( BerElement *ber ) in ber_get_tag() 93 ber_skip_tag( BerElement *ber, ber_len_t *len ) in ber_skip_tag() 152 ber_peek_tag( BerElement *ber, ber_len_t *len ) in ber_peek_tag() 154 BerElement bercopy; in ber_peek_tag() 162 ber_getnint( BerElement *ber, ber_int_t *num, ber_slen_t len ) in ber_getnint() 198 ber_get_int( BerElement *ber, ber_int_t *num ) in ber_get_int() 218 ber_get_stringb( BerElement *ber, char *buf, ber_len_t *len ) in ber_get_stringb() 265 ber_get_stringa( BerElement *ber, char **buf ) in ber_get_stringa() 300 ber_get_stringal( BerElement *ber, struct berval **bv ) in ber_get_stringal() 345 ber_get_bitstringa( BerElement *ber, char **buf, ber_len_t *blen ) in ber_get_bitstringa() [all …]
|
H A D | io.c | 210 ber_read( BerElement *ber, char *buf, ber_len_t len ) in ber_read() 230 nslberi_ber_realloc( BerElement *ber, ber_len_t len ) in nslberi_ber_realloc() 297 ber_write( BerElement *ber, char *buf, ber_len_t len, int nosos ) in ber_write() 321 ber_free( BerElement *ber, int freebuf ) in ber_free() 337 ber_flush( Sockbuf *sb, BerElement *ber, int freeit ) in ber_flush() 416 BerElement * 420 BerElement *ber; in ber_alloc_t() 422 if ( (ber = (BerElement*)NSLBERI_CALLOC( 1, in ber_alloc_t() 447 BerElement * 454 BerElement * [all …]
|
H A D | lber-int.h | 153 #define NULLBER ((BerElement *)NULL) 157 void ber_dump( BerElement *ber, int inout ); 173 BerElement sb_ber; 255 int nslberi_ber_realloc( BerElement *ber, ber_len_t len );
|
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | ldap-int.h | 162 BerElement *lm_ber; /* the ber encoded message contents */ 185 BerElement *lconn_ber; /* non-NULL if in midst of msg. */ 220 BerElement *lr_ber; /* ber encoded request contents */ 670 int nsldapi_parse_result( LDAP *ld, int msgtype, BerElement *rber, 703 int nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, 720 char *dn, BerElement *ber ); 721 int nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp ); 722 void nsldapi_set_ber_options( LDAP *ld, BerElement *ber ); 723 int nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, 725 int nsldapi_send_server_request( LDAP *ld, BerElement *ber, int msgid, [all …]
|
H A D | search.c | 53 static char *put_complex_filter( BerElement *ber, char *str, 58 static int put_simple_filter( BerElement *ber, char *str ); 59 static int put_substring_filter( BerElement *ber, char *type, 61 static int put_filter_list( BerElement *ber, char *str ); 165 BerElement *ber; in nsldapi_search() 281 BerElement **berp in nsldapi_build_search_req() 284 BerElement *ber; in nsldapi_build_search_req() 408 BerElement *ber, in put_complex_filter() 444 ldap_put_filter( BerElement *ber, char *str ) in ldap_put_filter() 585 put_filter_list( BerElement *ber, char *str ) in put_filter_list() [all …]
|
H A D | getattr.c | 47 bytes_remaining( BerElement *ber ) in bytes_remaining() 60 ldap_first_attribute( LDAP *ld, LDAPMessage *entry, BerElement **ber ) in ldap_first_attribute() 115 ldap_next_attribute( LDAP *ld, LDAPMessage *entry, BerElement *ber ) in ldap_next_attribute()
|
H A D | referral.c | 123 nsldapi_parse_reference( LDAP *ld, BerElement *rber, char ***referralsp, in nsldapi_parse_reference() 127 BerElement ber; in nsldapi_parse_reference() 175 BerElement tmp; in ldap_get_reference_urls()
|
H A D | llib-lldap | 163 BerElement **ber ); 166 BerElement *ber ); 271 void ldap_ber_free(BerElement *ber, int freebuf); 342 BerElement *ber_alloc_t(int options); 343 int ber_flatten(BerElement *ber, struct berval **bvPtr); 344 void ber_free(BerElement *ber, int freebuf); 345 BerElement *ber_alloc(void); 346 BerElement *ber_init(const struct berval *bv); 354 ber_tag_t ber_first_element(BerElement *ber, unsigned int *len, char **last); 355 ber_tag_t ber_next_element(BerElement *ber, ber_tag_t *len, char *last); [all …]
|
H A D | spagectrl.c | 26 BerElement *ber; in ldap_create_page_control() 54 BerElement *theBer; in ldap_parse_page_control()
|
H A D | proxyauthctrl.c | 53 BerElement *ber; in ldap_create_proxyauth_control() 117 BerElement *ber; in ldap_create_proxiedauth_control()
|
H A D | request.c | 50 static int re_encode_request( LDAP *ld, BerElement *origber, 51 int msgid, LDAPURLDesc *ludp, BerElement **berp ); 60 nsldapi_alloc_ber_with_options( LDAP *ld, BerElement **berp ) in nsldapi_alloc_ber_with_options() 81 nsldapi_set_ber_options( LDAP *ld, BerElement *ber ) in nsldapi_set_ber_options() 97 char *dn, BerElement *ber ) in nsldapi_send_initial_request() 149 BerElement *ber, /* message to send */ in nsldapi_send_server_request() 323 nsldapi_ber_flush( LDAP *ld, Sockbuf *sb, BerElement *ber, int freeit, in nsldapi_ber_flush() 953 BerElement *ber; in chase_one_referral() 1107 re_encode_request( LDAP *ld, BerElement *origber, int msgid, LDAPURLDesc *ludp, in re_encode_request() 1108 BerElement **berp ) in re_encode_request() [all …]
|
H A D | psearch.c | 32 BerElement *ber; in ldap_create_persistentsearch_control() 83 BerElement *ber; in ldap_parse_entrychange_control()
|
H A D | vlistctrl.c | 80 BerElement *ber; in ldap_create_virtuallist_control() 187 BerElement *ber; in ldap_parse_virtuallist_control()
|
H A D | saslbind.c | 56 BerElement *ber; in ldap_sasl_bind() 222 BerElement ber; in ldap_parse_sasl_bind_result()
|
H A D | control.c | 36 BerElement *ber ) in nsldapi_put_controls() 128 nsldapi_get_controls( BerElement *ber, LDAPControl ***controlsp ) in nsldapi_get_controls() 445 nsldapi_build_control( char *oid, BerElement *ber, int freeber, char iscritical, in nsldapi_build_control()
|
H A D | sortctrl.c | 47 BerElement *ber; in ldap_create_sort_control() 146 BerElement *ber; in ldap_parse_sort_control()
|
/titanic_41/usr/src/lib/libldap5/include/ldap/ |
H A D | solaris-int.h | 143 LDAP_API(void) LDAP_CALL ber_special_free(void* buf, BerElement *ber); 144 LDAP_API(void*) LDAP_CALL ber_special_alloc(size_t size, BerElement **ppBer); 146 size_t buffer_size, ber_len_t *len, BerElement *ber, 149 size_t buffer_size, ber_len_t *len, BerElement *ber, 151 LDAP_API(void) LDAP_CALL ber_init_w_nullchar( BerElement *ber, int options ); 152 LDAP_API(int) LDAP_CALL ber_set_option( BerElement *ber, int option, 154 LDAP_API(int) LDAP_CALL ber_get_option( BerElement *ber, int option, 162 LDAP_API(int) LDAP_CALL ber_flush( Sockbuf *sb, BerElement *ber, int freeit ); 164 BerElement *ber );
|
/titanic_41/usr/src/cmd/ldap/common/ |
H A D | dtest.c | 44 BerElement ber; in main()
|