Searched defs:kt (Results 1 - 25 of 29) sorted by relevance

12

/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Detypes.c373 struct krb5_keytypes *kt; local
376 kt = (struct krb5_keytypes *)&krb5_enctypes_list[i];
377 if (kt->kef_cipher_mt == CRYPTO_MECH_INVALID &&
378 kt->mt_e_name != NULL) {
380 crypto_mech2id(kt->mt_e_name);
383 if (kt->kef_hash_mt == CRYPTO_MECH_INVALID &&
384 kt->mt_h_name != NULL) {
386 crypto_mech2id(kt->mt_h_name);
389 kt->mt_e_name,
399 struct krb5_keytypes *kt; local
422 struct krb5_keytypes *kt; local
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_mult.c64 mp_int kt; local
67 MP_DIGITS(&kt) = 0;
71 MP_CHECKOK(mp_init(&kt, FLAG(k)));
72 MP_CHECKOK(mp_mod(k, &group->order, &kt));
74 MP_SIGN(&kt) = MP_ZPOS;
75 MP_USED(&kt) = MP_USED(k);
76 MP_ALLOC(&kt) = MP_ALLOC(k);
77 MP_DIGITS(&kt) = MP_DIGITS(k);
82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group));
85 point_mul(&kt,
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_amd64dep.c68 kt_data_t *kt = mdb.m_target->t_data; local
77 grp = kt->k_regs;
196 kt_data_t *kt = t->t_data; local
207 kt->k_rds = mdb_amd64_kregs;
208 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP);
209 kt->k_regsize = sizeof (mdb_tgt_gregset_t);
210 kt->k_dcmd_regs = kt_regs;
211 kt->k_dcmd_stack = kt_stack;
212 kt->k_dcmd_stackv = kt_stackv;
213 kt
[all...]
H A Dkvm_ia32dep.c68 kt_data_t *kt = mdb.m_target->t_data; local
77 grp = kt->k_regs;
189 kt_data_t *kt = t->t_data; local
202 kt->k_rds = mdb_ia32_kregs;
203 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP);
204 kt->k_regsize = sizeof (mdb_tgt_gregset_t);
205 kt->k_dcmd_regs = kt_regs;
206 kt->k_dcmd_stack = kt_stack;
207 kt->k_dcmd_stackv = kt_stackv;
208 kt
[all...]
H A Dkvm_isadep.c53 kt_data_t *kt = t->t_data; local
55 if (tid != kt->k_tid)
58 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
60 *rp = kt->k_regs->kregs[rdp->rd_num];
80 kt_data_t *kt = t->t_data; local
82 if (tid != kt->k_tid)
85 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
96 kt->k_regs->kregs[rdp->rd_num] = (kreg_t)r;
107 kt_data_t *kt = t->t_data; local
111 if ((ret = kt
[all...]
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c95 tsignal(kthread_t *kt, int sig) argument
97 thread_t tid = (thread_t)(uintptr_t)kt;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c155 krb5_keytab kt; local
174 code = krb5_kt_resolve(context, krb5_gss_keytab, &kt);
178 code = krb5_kt_default(context, &kt);
189 if ((code = krb5_kt_get_entry(context, kt, princ, 0, 0, &entry))) {
196 KTFILENAME(kt),
204 (void) krb5_kt_close(context, kt);
221 cred->keytab = kt;
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dkvm_v9dep.c71 kt_data_t *kt = t->t_data; local
73 if (tid != kt->k_tid)
76 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
78 *rp = kt->k_regs->kregs[rdp->rd_num];
90 kt_data_t *kt = t->t_data; local
92 if (tid != kt->k_tid)
95 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
97 kt->k_regs->kregs[rdp->rd_num] = r;
126 kt_data_t *kt = mdb.m_target->t_data; local
136 grp = kt
242 kt_data_t *kt = t->t_data; local
[all...]
H A Dkvm_v7dep.c116 kt_data_t *kt = t->t_data; local
118 if (tid != kt->k_tid)
121 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
123 *rp = kt->k_regs->kregs[rdp->rd_num];
135 kt_data_t *kt = t->t_data; local
137 if (tid != kt->k_tid)
140 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
142 kt->k_regs->kregs[rdp->rd_num] = r;
326 kt_data_t *kt = mdb.m_target->t_data; local
335 grp = kt
429 kt_data_t *kt = t->t_data; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c39 static void kt_add_entry(krb5_context ctx, krb5_keytab kt,
43 static krb5_error_code kt_remove_entries(krb5_context ctx, krb5_keytab kt,
56 krb5_keytab kt = NULL; local
89 if (kt != NULL)
98 if ((code = krb5_kt_resolve(ctx, ktname, &kt)) != 0) {
173 if (enctype_count > 0 && kt == NULL &&
174 (code = krb5_kt_default(ctx, &kt)) != 0) {
244 if (enctype_count && (code = kt_remove_entries(ctx, kt, victim)))
248 kt_add_entry(ctx, kt, victim, salt, enctypes[i], kvno, newpw);
251 if (kt !
259 kt_remove_entries(krb5_context ctx, krb5_keytab kt, const krb5_principal princ) argument
329 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, const krb5_principal sprinc, krb5_enctype enctype, krb5_kvno kvno, const char *pw) argument
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c253 krb5_keytab kt; local
263 retval = krb5_kt_resolve(context, name, &kt);
266 retval = krb5_kt_start_seq_get(context, kt, &cursor);
276 retval = krb5_kt_next_entry(context, kt, entry, &cursor);
313 krb5_kt_end_seq_get(context, kt, &cursor);
315 krb5_kt_close(context, kt);
328 krb5_keytab kt; local
336 retval = krb5_kt_resolve(context, ktname, &kt);
340 retval = krb5_kt_add_entry(context, kt, lp->entry);
344 krb5_kt_close(context, kt);
[all...]
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dimpl.h54 uint8_t kt; member in struct:sbp2_cfgrom_ent_by_key
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c43 kt_open(krb5_context ctx, krb5_keytab *kt) argument
65 return (krb5_kt_resolve(ctx, ktstr, kt));
69 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, argument
95 code = krb5_kt_add_entry(ctx, kt, &entry);
162 krb5_keytab kt = NULL; local
212 if ((code = kt_open(ctx, &kt)) != 0)
240 code = kt_add_entry(ctx, kt, princ, salt, *tenctype,
260 if (kt != NULL)
261 (void) krb5_kt_close(ctx, kt);
279 krb5_keytab kt local
425 krb5_keytab kt = NULL; local
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c70 static int _kt_extend_table(KeyTab *kt);
79 static KtKeyMatch _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq,
90 KeyTab *kt; /* The object to be returned */ local
94 kt = (KeyTab *) malloc(sizeof(KeyTab));
95 if(!kt) {
104 kt->err = NULL;
105 kt->size = KT_TABLE_INC;
106 kt->nkey = 0;
107 kt->table = NULL;
108 kt
148 _del_KeyTab(KeyTab *kt) argument
170 _kt_extend_table(KeyTab *kt) argument
207 _kt_set_keybinding(KeyTab *kt, KtBinder binder, const char *keyseq, const char *action) argument
260 _kt_set_keyfn(KeyTab *kt, KtBinder binder, const char *keyseq, KtKeyFn *keyfn, void *data) argument
408 _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, int *first, int *last) argument
482 _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, KeySym **matches, int *nmatch) argument
663 _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data) argument
790 _kt_clear_bindings(KeyTab *kt, KtBinder binder) argument
941 _kt_add_bindings(KeyTab *kt, KtBinder binder, const KtKeyBinding *bindings, unsigned n) argument
981 _kt_lookup_action(KeyTab *kt, const char *action, KtKeyFn **fn, void **data) argument
1021 _kt_last_error(KeyTab *kt) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsort.c86 keything_t **kt; local
97 kt = (keything_t**)NSLDAPI_MALLOC( count * (sizeof(keything_t*) + sizeof(keything_t)) );
98 if ( kt == NULL ) {
103 kt[i] = i + (keything_t*)(kt + count);
109 kt[i]->kt_msg = e;
110 kt[i]->kt_cmp = &kc;
111 kt[i]->kt_key = gen( arg, ld, e );
112 if ( kt[i]->kt_key == NULL ) {
113 if ( fre ) while ( i-- > 0 ) fre( arg, kt[
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_misc.c344 kthread_t *kt; local
389 kt = thread_create(NULL, 0, eibnx_port_monitor,
392 ti->ti_kt_did = kt->t_did;
H A Deib_main.c680 kthread_t *kt; local
713 kt = thread_create(NULL, 0, eib_events_handler, ss, 0,
715 ss->ei_events_handler = kt->t_did;
717 kt = thread_create(NULL, 0, eib_refill_rwqes, ss, 0,
719 ss->ei_rwqes_refiller = kt->t_did;
721 kt = thread_create(NULL, 0, eib_vnic_creator, ss, 0,
723 ss->ei_vnic_creator = kt->t_did;
725 kt = thread_create(NULL, 0, eib_manage_keepalives, ss, 0,
727 ss->ei_keepalives_manager = kt->t_did;
H A Deib_rsrc.c473 kthread_t *kt; local
625 kt = thread_create(NULL, 0, eib_monitor_tx_wqes, ss, 0,
627 ss->ei_txwqe_monitor = kt->t_did;
760 kthread_t *kt; local
840 kt = thread_create(NULL, 0, eib_monitor_lso_bufs, ss, 0,
842 ss->ei_lsobufs_monitor = kt->t_did;
H A Denx_ibt.c155 kthread_t *kt; local
179 kt = thread_create(NULL, 0, eibnx_create_eoib_node, NULL, 0,
181 ss->nx_nodeq_kt_did = kt->t_did;
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c332 sbp2_cfgrom_ent_by_key(sbp2_cfgrom_ent_t *dir, int8_t kt, int8_t kv, int num) argument
336 ebk.kt = kt;
352 if ((ent->ce_kt == ebk->kt) && (ent->ce_kv == ebk->kv)) {
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c574 krb5_keytab kt; local
598 if ((ret = krb5_kt_resolve(context, "KDB:", &kt))) {
640 params->realm, s2, kt, &from,
670 krb5_kt_close(context, kt);
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c284 smb_krb5_kt_open(krb5_context ctx, char *fname, krb5_keytab *kt) argument
291 *kt = NULL;
301 if ((code = krb5_kt_resolve(ctx, ktname, kt)) != 0) {
322 krb5_keytab kt = NULL; local
328 if (smb_krb5_kt_open(ctx, fname, &kt) != 0)
333 (void) krb5_kt_close(ctx, kt);
342 (void) krb5_kt_close(ctx, kt);
348 if (smb_krb5_kt_addkey(ctx, kt, princs[j], enctypes[i],
352 (void) krb5_kt_close(ctx, kt);
360 (void) krb5_kt_close(ctx, kt);
368 krb5_keytab kt; local
407 smb_krb5_kt_addkey(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, krb5_enctype enctype, krb5_kvno kvno, const krb5_data *salt, const char *pw) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtaskq.c440 const kthread_t *kt = wsp->walk_layer; local
443 if (kt == NULL) {
464 if (kt->t_taskq == NULL)
467 if (tq != NULL && kt->t_taskq != tq)
470 return (wsp->walk_callback(wsp->walk_addr, kt, wsp->walk_cbdata));
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c303 krb5_keytab kt; local
311 if ((code = krb5_kt_default(kcontext, &kt))) {
317 if ((code = krb5_kt_resolve(kcontext, name, &kt))) {
325 if ((code = krb5_kt_get_name(kcontext, kt, buf, BUFSIZ))) {
333 if ((code = krb5_kt_start_seq_get(kcontext, kt, &cursor))) {
357 while ((code = krb5_kt_next_entry(kcontext, kt, &entry, &cursor)) == 0) {
388 if ((code = krb5_kt_end_seq_get(kcontext, kt, &cursor))) {
/illumos-gate/usr/src/lib/krb5/kadm5/clnt/
H A Dclient_init.c874 krb5_keytab kt = NULL; local
877 pass, &kt)))) {
880 &creds, creds.client, kt,
884 if (pass) krb5_kt_close(handle->context, kt);

Completed in 167 milliseconds

12