/freebsd/crypto/krb5/src/include/ |
H A D | k5-buf.h | 51 struct k5buf { struct 62 void k5_buf_init_fixed(struct k5buf *buf, void *data, size_t space); 65 void k5_buf_init_dynamic(struct k5buf *buf); 69 void k5_buf_init_dynamic_zap(struct k5buf *buf); 72 void k5_buf_add(struct k5buf *buf, const char *data); 75 void k5_buf_add_len(struct k5buf *buf, const void *data, size_t len); 79 void k5_buf_add_fmt(struct k5buf *buf, const char *fmt, ...) 87 void k5_buf_add_vfmt(struct k5buf *buf, const char *fmt, va_list ap) 95 char *k5_buf_cstring(struct k5buf *buf); 99 void *k5_buf_get_space(struct k5buf *buf, size_t len); [all …]
|
H A D | k5-der.h | 74 k5_der_add_taglen(struct k5buf *buf, uint8_t idbyte, size_t len) in k5_der_add_taglen() 99 k5_der_add_value(struct k5buf *buf, uint8_t idbyte, const void *contents, in k5_der_add_value()
|
/freebsd/crypto/krb5/src/util/support/ |
H A D | k5buf.c | 50 endptr(struct k5buf *buf) in endptr() 56 set_error(struct k5buf *buf) in set_error() 69 ensure_space(struct k5buf *buf, size_t len) in ensure_space() 114 k5_buf_init_fixed(struct k5buf *buf, void *data, size_t space) in k5_buf_init_fixed() 124 k5_buf_init_dynamic(struct k5buf *buf) in k5_buf_init_dynamic() 137 k5_buf_init_dynamic_zap(struct k5buf *buf) in k5_buf_init_dynamic_zap() 145 k5_buf_add(struct k5buf *buf, const char *data) in k5_buf_add() 151 k5_buf_add_len(struct k5buf *buf, const void *data, size_t len) in k5_buf_add_len() 161 k5_buf_add_vfmt(struct k5buf *buf, const char *fmt, va_list ap) in k5_buf_add_vfmt() 223 k5_buf_add_fmt(struct k5buf *buf, const char *fmt, ...) in k5_buf_add_fmt() [all …]
|
H A D | t_k5buf.c | 43 check_buf(struct k5buf *buf, const char *name) in check_buf() 59 struct k5buf buf; in test_basic() 81 struct k5buf buf; in test_realloc() 137 struct k5buf buf; in test_overflow() 158 struct k5buf buf; in test_error() 178 struct k5buf buf; in test_truncate() 193 struct k5buf buf; in test_binary() 210 struct k5buf buf; in test_fmt()
|
H A D | Makefile.in | 85 k5buf.o \ 115 $(OUTPRE)k5buf.$(OBJEXT) \ 145 $(srcdir)/k5buf.c \ 223 T_K5BUF_OBJS= t_k5buf.o k5buf.o zap.o $(PRINTF_ST_OBJ) 243 T_JSON_OBJS= t_json.o json.o base64.o k5buf.o zap.o $(PRINTF_ST_OBJ) 260 T_UTF16_OBJS= t_utf16.o utf8_conv.o utf8.o k5buf.o zap.o $(PRINTF_ST_OBJ)
|
H A D | utf8_conv.c | 94 struct k5buf buf; in k5_utf8_to_utf16le() 154 struct k5buf buf; in k5_utf16le_to_utf8()
|
H A D | deps | 21 k5buf.so k5buf.po $(OUTPRE)k5buf.$(OBJEXT): $(BUILDTOP)/include/autoconf.h \ 23 $(top_srcdir)/include/k5-thread.h k5buf.c
|
H A D | json.c | 582 static int encode_value(struct k5buf *buf, k5_json_value val); 585 encode_string(struct k5buf *buf, const char *str) in encode_string() 609 struct k5buf *buf; 631 encode_value(struct k5buf *buf, k5_json_value val) in encode_value() 689 struct k5buf buf; in k5_json_encode()
|
/freebsd/crypto/krb5/src/lib/krb5/ccache/ |
H A D | ccmarshal.c | 335 put16(struct k5buf *buf, int version, uint16_t num) in put16() 349 put32(struct k5buf *buf, int version, uint32_t num) in put32() 361 put_len_bytes(struct k5buf *buf, int version, const void *bytes, in put_len_bytes() 369 put_data(struct k5buf *buf, int version, krb5_data *data) in put_data() 375 k5_marshal_princ(struct k5buf *buf, int version, krb5_principal princ) in k5_marshal_princ() 391 marshal_keyblock(struct k5buf *buf, int version, krb5_keyblock *kb) in marshal_keyblock() 401 marshal_addrs(struct k5buf *buf, int version, krb5_address **addrs) in marshal_addrs() 414 marshal_authdata(struct k5buf *buf, int version, krb5_authdata **authdata) in marshal_authdata() 430 k5_marshal_cred(struct k5buf *buf, int version, krb5_creds *creds) in k5_marshal_cred() 488 k5_marshal_mcred(struct k5buf *buf, krb5_creds *mcred) in k5_marshal_mcred() [all …]
|
H A D | cc_file.c | 159 read32(krb5_context context, FILE *fp, int version, struct k5buf *buf, in read32() 191 load_bytes(krb5_context context, FILE *fp, size_t len, struct k5buf *buf) in load_bytes() 203 struct k5buf *buf) in load_data() 220 struct k5buf *buf) in load_principal() 248 struct k5buf *buf) in load_cred() 301 struct k5buf buf; in read_principal() 443 marshal_header(krb5_context context, struct k5buf *buf, krb5_principal princ) in marshal_header() 476 struct k5buf buf = EMPTY_K5BUF; in fcc_initialize() 767 struct k5buf buf; in fcc_next_cred() 994 struct k5buf buf = EMPTY_K5BUF; in fcc_store() [all …]
|
H A D | cc-int.h | 161 k5_marshal_cred(struct k5buf *buf, int version, krb5_creds *creds); 164 k5_marshal_mcred(struct k5buf *buf, krb5_creds *mcred); 167 k5_marshal_princ(struct k5buf *buf, int version, krb5_principal princ);
|
/freebsd/crypto/krb5/src/lib/krb5/os/ |
H A D | trace.c | 45 static void subfmt(krb5_context context, struct k5buf *buf, 61 buf_add_printable_len(struct k5buf *buf, const char *p, size_t len) in buf_add_printable_len() 82 buf_add_printable(struct k5buf *buf, const char *p) in buf_add_printable() 176 struct k5buf buf; in trace_format() 371 subfmt(krb5_context context, struct k5buf *buf, const char *fmt, ...) in subfmt()
|
H A D | localauth_rule.c | 114 struct k5buf buf; in do_replacement() 213 struct k5buf selstring; in aname_get_selstring()
|
/freebsd/crypto/krb5/src/kdc/ |
H A D | ndr.c | 95 struct k5buf b; in enc_wchar_pointer() 232 write_ptr(struct k5buf *buf, uint32_t *pointer) in write_ptr() 245 struct k5buf b = EMPTY_K5BUF; in ndr_enc_delegation_info()
|
/freebsd/crypto/krb5/src/lib/gssapi/generic/ |
H A D | gssapiP_generic.h | 91 void g_make_token_header (struct k5buf *buf, const gss_OID_desc *mech, 201 struct k5buf *input_k5buf, in k5buf_to_gss()
|
H A D | util_token.c | 52 g_make_token_header(struct k5buf *buf, const gss_OID_desc *mech, in g_make_token_header()
|
/freebsd/crypto/krb5/src/plugins/kdb/lmdb/ |
H A D | marshal.c | 39 put_tl_data(struct k5buf *buf, const krb5_tl_data *tl) in put_tl_data() 52 struct k5buf buf; in klmdb_encode_princ() 104 struct k5buf buf; in klmdb_encode_policy()
|
/freebsd/crypto/krb5/src/tests/fuzzing/ |
H A D | fuzz_marshal_cred.c | 52 struct k5buf buf; in LLVMFuzzerTestOneInput()
|
H A D | fuzz_marshal_princ.c | 52 struct k5buf buf; in LLVMFuzzerTestOneInput()
|
/freebsd/crypto/krb5/src/lib/gssapi/mechglue/ |
H A D | g_encapsulate_token.c | 41 struct k5buf buf; in gss_encapsulate_token()
|
H A D | g_export_cred.c | 68 struct k5buf buf; in gss_export_cred()
|
/freebsd/krb5/util/support/ |
H A D | Makefile | 31 k5buf.c \
|
/freebsd/crypto/krb5/src/lib/gssapi/spnego/ |
H A D | negoex_util.c | 143 add_guid(struct k5buf *buf, const uint8_t guid[GUID_LENGTH]) in add_guid() 156 struct k5buf buf; in guid_to_string() 180 struct k5buf buf; in trace_received_message() 587 struct k5buf buf; in negoex_add_nego_message()
|
/freebsd/crypto/krb5/src/lib/krb5/krb/ |
H A D | chpw.c | 383 add_spaces(struct k5buf *buf) in add_spaces() 395 struct k5buf buf; in decode_ad_policy_info()
|
/freebsd/crypto/krb5/src/kadmin/dbutil/ |
H A D | tdumputil.c | 87 struct k5buf buf; in qquote()
|