Searched refs:context (Results 76 - 100 of 1481) sorted by relevance

1234567891011>>

/freebsd-11-stable/crypto/heimdal/lib/kadm5/
H A Dacl.c78 fetch_acl (kadm5_server_context *context, argument
89 f = fopen(context->config.acl_file, "r");
103 ret = krb5_parse_name(context->context, p, &this_princ);
106 if(!krb5_principal_compare(context->context,
107 context->caller, this_princ)) {
108 krb5_free_principal(context->context, this_princ);
111 krb5_free_principal(context
149 _kadm5_acl_init(kadm5_server_context *context) argument
202 _kadm5_acl_check_permission(kadm5_server_context *context, unsigned op, krb5_const_principal princ) argument
[all...]
H A Dbump_pw_expire.c43 _kadm5_bump_pw_expire(kadm5_server_context *context, argument
49 life = krb5_config_get_time_default(context->context,
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/minidump/
H A DRegisterContextMinidump_x86_64.cpp19 static llvm::MutableArrayRef<uint8_t> getDestRegister(uint8_t *context, argument
21 auto bytes = reg.mutable_data(context);
41 static void writeRegister(const void *reg_src, uint8_t *context, argument
43 llvm::MutableArrayRef<uint8_t> reg_dest = getDestRegister(context, reg);
60 const MinidumpContext_x86_64 *context; local
61 consumeObject(source_data, context);
65 static_cast<uint32_t>(context->context_flags));
75 writeRegister(&context->cs, result_base, reg_info[lldb_cs_x86_64]);
76 writeRegister(&context->ss, result_base, reg_info[lldb_ss_x86_64]);
77 writeRegister(&context
[all...]
/freebsd-11-stable/crypto/heimdal/kdc/
H A Dhprop.c54 open_socket(krb5_context context, const char *hostname, const char *port) argument
90 v5_prop(krb5_context context, HDB *db, hdb_entry_ex *entry, void *appdata) argument
97 ret = hdb_seal_keys_mkey(context, &entry->entry, mkey5);
99 krb5_warn(context, ret, "hdb_seal_keys_mkey");
104 ret = hdb_unseal_keys_mkey(context, &entry->entry, mkey5);
106 krb5_warn(context, ret, "hdb_unseal_keys_mkey");
111 ret = hdb_entry2value(context, &entry->entry, &data);
113 krb5_warn(context, ret, "hdb_entry2value");
118 ret = krb5_write_message(context, &pd->sock, &data);
120 ret = krb5_write_priv_message(context, p
155 get_creds(krb5_context context, krb5_ccache *cache) argument
225 iterate(krb5_context context, const char *database_name, HDB *db, int type, struct prop_data *pd) argument
251 dump_database(krb5_context context, int type, const char *database_name, HDB *db) argument
274 propagate_database(krb5_context context, int type, const char *database_name, HDB *db, krb5_ccache ccache, int optidx, int argc, char **argv) argument
388 krb5_context context; local
[all...]
H A Dkdc-replay.c57 krb5_context context; local
75 ret = krb5_init_context(&context);
79 ret = krb5_kdc_get_config(context, &config);
81 krb5_err(context, 1, ret, "krb5_kdc_default_config");
83 kdc_openlog(context, "kdc-replay", config);
85 ret = krb5_kdc_set_dbinfo(context, config);
87 krb5_err(context, 1, ret, "krb5_kdc_set_dbinfo");
92 krb5_errx(context, 1, "pkinit enabled but no identity");
95 krb5_errx(context, 1, "pkinit enabled but no X509 anchors");
97 krb5_kdc_pk_initialize(context, confi
[all...]
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dmd5_i.h18 void MD5Init(struct MD5Context *context);
19 void MD5Update(struct MD5Context *context, unsigned char const *buf,
21 void MD5Final(unsigned char digest[16], struct MD5Context *context);
H A Dsha1_i.h18 void SHA1Init(struct SHA1Context *context);
19 void SHA1Update(struct SHA1Context *context, const void *data, u32 len);
20 void SHA1Final(unsigned char digest[20], struct SHA1Context *context);
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dcompare_name.c45 krb5_context context; local
47 GSSAPI_KRB5_INIT(&context);
49 *name_equal = krb5_principal_compare (context,
H A Drelease_name.c41 krb5_context context; local
46 GSSAPI_KRB5_INIT (&context);
50 krb5_free_principal(context, name);
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dtest_plugin.c38 resolve_init(krb5_context context, void **ctx) argument
88 krb5_context context; local
95 ret = krb5_init_context(&context);
99 ret = krb5_plugin_register(context, PLUGIN_TYPE_DATA,
102 krb5_err(context, 1, ret, "krb5_plugin_register");
105 ret = krb5_krbhst_init_flags(context,
111 krb5_err(context, 1, ret, "krb5_krbhst_init_flags");
114 while(krb5_krbhst_next_as_string(context, handle, host, sizeof(host)) == 0){
117 krb5_errx(context, 1, "wrong address: %s", host);
120 krb5_errx(context,
[all...]
H A Dtest_alname.c38 test_alname(krb5_context context, krb5_const_realm realm, argument
47 ret = krb5_make_principal(context, &p, realm, user, inst, NULL);
49 krb5_err(context, 1, ret, "krb5_build_principal");
51 ret = krb5_unparse_name(context, p, &princ);
53 krb5_err(context, 1, ret, "krb5_unparse_name");
55 ret = krb5_aname_to_localname(context, p, sizeof(localname), localname);
56 krb5_free_principal(context, p);
61 krb5_err(context, 1, ret, "krb5_aname_to_localname: %s -> %s",
100 krb5_context context; local
127 ret = krb5_init_context(&context);
[all...]
H A Dsendauth.c64 krb5_sendauth(krb5_context context, argument
91 if (krb5_net_write (context, p_fd, &net_len, 4) != 4
92 || krb5_net_write (context, p_fd, version, len) != len) {
94 krb5_set_error_message (context, ret, "write: %s", strerror(ret));
100 if (krb5_net_write (context, p_fd, &net_len, 4) != 4
101 || krb5_net_write (context, p_fd, appl_version, len) != len) {
103 krb5_set_error_message (context, ret, "write: %s", strerror(ret));
107 sret = krb5_net_read (context, p_fd, &repl, sizeof(repl));
110 krb5_set_error_message (context, ret, "read: %s", strerror(ret));
113 krb5_clear_error_message (context);
[all...]
H A Dget_default_principal.c60 _krb5_get_default_principal_local (krb5_context context, argument
75 ret = krb5_make_principal(context, princ, NULL, user, "root", NULL);
77 ret = krb5_make_principal(context, princ, NULL, "root", NULL);
88 krb5_set_error_message(context, ENOTTY,
93 ret = krb5_make_principal(context, princ, NULL, user, NULL);
104 _krb5_get_default_principal_local(krb5_context context, argument
114 return krb5_parse_name_flags(context, username,
127 return krb5_make_principal(context, princ, NULL, username, NULL);
136 krb5_set_error_string(context,
141 return krb5_make_principal(context, prin
148 krb5_get_default_principal(krb5_context context, krb5_principal *princ) argument
[all...]
H A Dauth_context.c37 krb5_auth_con_init(krb5_context context, argument
44 krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
50 krb5_set_error_message(context, ENOMEM, N_("malloc: out of memory", ""));
68 krb5_auth_con_free(krb5_context context, argument
72 krb5_free_authenticator(context, &auth_context->authenticator);
81 krb5_free_keyblock(context, auth_context->keyblock);
82 krb5_free_keyblock(context, auth_context->remote_subkey);
83 krb5_free_keyblock(context, auth_context->local_subkey);
90 krb5_auth_con_setflags(krb5_context context, argument
100 krb5_auth_con_getflags(krb5_context context, argument
109 krb5_auth_con_addflags(krb5_context context, krb5_auth_context auth_context, int32_t addflags, int32_t *flags) argument
121 krb5_auth_con_removeflags(krb5_context context, krb5_auth_context auth_context, int32_t removeflags, int32_t *flags) argument
133 krb5_auth_con_setaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address *local_addr, krb5_address *remote_addr) argument
158 krb5_auth_con_genaddrs(krb5_context context, krb5_auth_context auth_context, krb5_socket_t fd, int flags) argument
220 krb5_auth_con_setaddrs_from_fd(krb5_context context, krb5_auth_context auth_context, void *p_fd) argument
234 krb5_auth_con_getaddrs(krb5_context context, krb5_auth_context auth_context, krb5_address **local_addr, krb5_address **remote_addr) argument
267 copy_key(krb5_context context, krb5_keyblock *in, krb5_keyblock **out) argument
278 krb5_auth_con_getkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock **keyblock) argument
286 krb5_auth_con_getlocalsubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock **keyblock) argument
295 krb5_auth_con_getremotesubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock **keyblock) argument
303 krb5_auth_con_setkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock) argument
313 krb5_auth_con_setlocalsubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock) argument
323 krb5_auth_con_generatelocalsubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *key) argument
343 krb5_auth_con_setremotesubkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock) argument
353 krb5_auth_con_setcksumtype(krb5_context context, krb5_auth_context auth_context, krb5_cksumtype cksumtype) argument
362 krb5_auth_con_getcksumtype(krb5_context context, krb5_auth_context auth_context, krb5_cksumtype *cksumtype) argument
371 krb5_auth_con_setkeytype(krb5_context context, krb5_auth_context auth_context, krb5_keytype keytype) argument
380 krb5_auth_con_getkeytype(krb5_context context, krb5_auth_context auth_context, krb5_keytype *keytype) argument
413 krb5_auth_con_getlocalseqnumber(krb5_context context, krb5_auth_context auth_context, int32_t *seqnumber) argument
422 krb5_auth_con_setlocalseqnumber(krb5_context context, krb5_auth_context auth_context, int32_t seqnumber) argument
431 krb5_auth_con_getremoteseqnumber(krb5_context context, krb5_auth_context auth_context, int32_t *seqnumber) argument
440 krb5_auth_con_setremoteseqnumber(krb5_context context, krb5_auth_context auth_context, int32_t seqnumber) argument
450 krb5_auth_con_getauthenticator(krb5_context context, krb5_auth_context auth_context, krb5_authenticator *authenticator) argument
467 krb5_free_authenticator(krb5_context context, krb5_authenticator *authenticator) argument
477 krb5_auth_con_setuserkey(krb5_context context, krb5_auth_context auth_context, krb5_keyblock *keyblock) argument
487 krb5_auth_con_getrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache *rcache) argument
496 krb5_auth_con_setrcache(krb5_context context, krb5_auth_context auth_context, krb5_rcache rcache) argument
[all...]
H A Dtest_crypto_wrapping.c38 test_wrapping(krb5_context context, argument
52 ret = krb5_generate_random_keyblock(context, etype, &key);
54 krb5_err(context, 1, ret, "krb5_generate_random_keyblock");
56 ret = krb5_enctype_to_string(context, etype, &etype_name);
58 krb5_err(context, 1, ret, "krb5_enctype_to_string");
62 krb5_errx(context, 1, "out of memory");
65 ret = krb5_crypto_init(context, &key, 0, &crypto);
67 krb5_err(context, 1, ret, "krb5_crypto_init");
72 ret = krb5_encrypt(context, crypto, 0, buf, size, &data);
74 krb5_err(context,
121 krb5_context context; local
[all...]
H A Dtest_get_addrs.c40 print_addresses (krb5_context context, const krb5_addresses *addrs) argument
75 krb5_context context; local
93 ret = krb5_init_context(&context);
97 ret = krb5_get_all_client_addrs (context, &addrs);
99 krb5_err (context, 1, ret, "krb5_get_all_client_addrs");
101 print_addresses (context, &addrs);
102 krb5_free_addresses (context, &addrs);
104 ret = krb5_get_all_server_addrs (context, &addrs);
106 krb5_err (context, 1, ret, "krb5_get_all_server_addrs");
108 print_addresses (context,
[all...]
/freebsd-11-stable/sys/dev/random/
H A Dhash.c55 randomdev_hash_init(struct randomdev_hash *context) argument
58 SHA256_Init(&context->sha);
63 randomdev_hash_iterate(struct randomdev_hash *context, const void *data, size_t size) argument
66 SHA256_Update(&context->sha, data, size);
73 randomdev_hash_finish(struct randomdev_hash *context, void *buf) argument
76 SHA256_Final(buf, &context->sha);
84 randomdev_encrypt_init(struct randomdev_key *context, const void *data) argument
87 rijndael_cipherInit(&context->cipher, MODE_ECB, NULL);
88 rijndael_makeKey(&context->key, DIR_ENCRYPT, RANDOM_KEYSIZE*8, data);
91 /* Encrypt the supplied data using the key schedule preset in the context
96 randomdev_encrypt(struct randomdev_key *context, const void *d_in, void *d_out, u_int length) argument
[all...]
/freebsd-11-stable/crypto/heimdal/kuser/
H A Dkimpersonate.c61 encode_ticket (krb5_context context, argument
106 krb5_err(context, 1, ret, "EncTicketPart");
108 ret = krb5_crypto_init(context, skey, etype, &crypto);
110 krb5_err(context, 1, ret, "krb5_crypto_init");
111 ret = krb5_encrypt_EncryptedData (context,
119 krb5_err(context, 1, ret, "krb5_encrypt_EncryptedData");
122 krb5_crypto_destroy(context, crypto);
134 krb5_err (context, 1, ret, "encode_Ticket");
145 create_krb5_tickets (krb5_context context, krb5_keytab kt) argument
155 ret = krb5_string_to_enctype (context, enc_typ
227 setup_env(krb5_context context, krb5_keytab *kt) argument
309 krb5_context context; local
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hdb/
H A Dprint.c61 append_string(krb5_context context, krb5_storage *sp, const char *fmt, ...) argument
70 krb5_set_error_message(context, ENOMEM, "malloc: out of memory");
79 append_hex(krb5_context context, krb5_storage *sp, krb5_data *data) argument
92 return append_string(context, sp, "\"%.*s\"",
95 append_string(context, sp, "%s", p);
109 append_event(krb5_context context, krb5_storage *sp, Event *ev) argument
114 return append_string(context, sp, "- ");
116 ret = krb5_unparse_name(context, ev->principal, &pr);
120 ret = append_string(context, sp, "%s:%s ",
127 entry2string_int (krb5_context context, krb5_storag argument
242 hdb_entry2string(krb5_context context, hdb_entry *ent, char **str) argument
270 hdb_print_entry(krb5_context context, HDB *db, hdb_entry_ex *entry, void *data) argument
[all...]
H A Dtest_dbinfo.c51 krb5_context context; local
67 ret = krb5_init_context(&context);
71 ret = hdb_get_dbinfo(context, &info);
73 krb5_err(context, 1, ret, "hdb_get_dbinfo");
78 s = hdb_dbinfo_get_label(context, d);
80 s = hdb_dbinfo_get_realm(context, d);
82 s = hdb_dbinfo_get_dbname(context, d);
84 s = hdb_dbinfo_get_mkey_file(context, d);
86 s = hdb_dbinfo_get_acl_file(context, d);
90 hdb_free_dbinfo(context,
[all...]
/freebsd-11-stable/crypto/heimdal/appl/kf/
H A Dkfd.c37 krb5_context context; variable
66 server_setup(krb5_context *context, int argc, char **argv) argument
71 local_argc = krb5_program_setup(context, argc, argv, args, num_args, usage);
95 port = krb5_getportbyname (*context, KF_PORT_NAME, "tcp", KF_PORT_NUM);
139 status = krb5_auth_con_init (context, &auth_context);
141 krb5_err(context, 1, status, "krb5_auth_con_init");
143 status = krb5_auth_con_setaddrs_from_fd (context,
147 krb5_err(context, 1, status, "krb5_auth_con_setaddr");
150 krb5_err(context, 1, errno, "gethostname");
152 status = krb5_sname_to_principal (context,
[all...]
/freebsd-11-stable/contrib/gcc/
H A Ddiagnostic.c94 diagnostic_initialize (diagnostic_context *context)
98 context->printer = XNEW (pretty_printer);
99 pp_construct (context->printer, NULL, 0);
101 context->printer->buffer->stream = stderr;
103 context->printer->wrapping.rule = DIAGNOSTICS_SHOW_PREFIX_ONCE;
105 memset (context->diagnostic_count, 0, sizeof context->diagnostic_count);
106 context->issue_warnings_are_errors_message = true;
107 context->warning_as_error_requested = false;
108 memset (context
92 diagnostic_initialize(diagnostic_context *context) argument
170 diagnostic_count_diagnostic(diagnostic_context *context, diagnostic_info *diagnostic) argument
237 diagnostic_action_after_output(diagnostic_context *context, diagnostic_info *diagnostic) argument
283 diagnostic_report_current_function(diagnostic_context *context) argument
290 diagnostic_report_current_module(diagnostic_context *context) argument
321 default_diagnostic_starter(diagnostic_context *context, diagnostic_info *diagnostic) argument
329 default_diagnostic_finalizer(diagnostic_context *context, diagnostic_info *diagnostic ATTRIBUTE_UNUSED) argument
339 diagnostic_classify_diagnostic(diagnostic_context *context, int option_index, diagnostic_t new_kind) argument
362 diagnostic_report_diagnostic(diagnostic_context *context, diagnostic_info *diagnostic) argument
615 error_recursion(diagnostic_context *context) argument
[all...]
/freebsd-11-stable/contrib/apr-util/include/
H A Dapr_md4.h66 /** MD4 context. */
81 * MD4 Initialize. Begins an MD4 operation, writing a new context.
82 * @param context The MD4 context to initialize.
84 APU_DECLARE(apr_status_t) apr_md4_init(apr_md4_ctx_t *context); variable
90 * @param context The MD4 content to set the translation for.
91 * @param xlate The translation handle to use for this MD4 context
93 APU_DECLARE(apr_status_t) apr_md4_set_xlate(apr_md4_ctx_t *context,
96 #define apr_md4_set_xlate(context, xlate) APR_ENOTIMPL
101 * processing another message block, and updating the context
[all...]
/freebsd-11-stable/sys/dev/drm/
H A Ddrm_lock.c40 * On uncontended access where the new context was the last context, the
46 * lock, and may have side-effects of kernel-managed context switching.
60 if (lock->context == DRM_KERNEL_CONTEXT) {
61 DRM_ERROR("Process %d using kernel context %d\n",
62 DRM_CURRENTPID, lock->context);
67 lock->context, DRM_CURRENTPID, dev->lock.hw_lock->lock,
71 lock->context < 0)
76 if (drm_lock_take(&dev->lock, lock->context)) {
94 DRM_DEBUG("%d %s\n", lock->context,
136 drm_lock_take(struct drm_lock_data *lock_data, unsigned int context) argument
167 drm_lock_transfer(struct drm_lock_data *lock_data, unsigned int context) argument
181 drm_lock_free(struct drm_lock_data *lock_data, unsigned int context) argument
[all...]
/freebsd-11-stable/crypto/heimdal/lib/hx509/
H A Derror.c60 * Resets the error strings the hx509 context.
62 * @param context A hx509 context.
68 hx509_clear_error_string(hx509_context context) argument
70 if (context) {
71 free_error_string(context->error);
72 context->error = NULL;
77 * Add an error message to the hx509 context.
79 * @param context A hx509 context
91 hx509_set_error_stringv(hx509_context context, int flags, int code, const char *fmt, va_list ap) argument
136 hx509_set_error_string(hx509_context context, int flags, int code, const char *fmt, ...) argument
158 hx509_get_error_string(hx509_context context, int error_code) argument
212 hx509_err(hx509_context context, int exit_code, int error_code, const char *fmt, ...) argument
[all...]

Completed in 124 milliseconds

1234567891011>>