Home
last modified time | relevance | path

Searched refs:mkey (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_fetch_mkey.c56 *key = &ldap_context->lrparams->mkey;
86 if (r_params->mkey.contents) {
87 free (r_params->mkey.contents);
88 r_params->mkey.contents=NULL;
91 r_params->mkey.magic = key->magic;
92 r_params->mkey.enctype = key->enctype;
93 r_params->mkey.length = key->length;
94 r_params->mkey.contents = malloc(key->length);
95 if (r_params->mkey.contents == NULL)
98 memcpy(r_params->mkey.contents, key->contents, key->length);
H A Dldap_realm.h70 krb5_keyblock mkey; member
H A Dldap_realm.c1477 if (rparams->mkey.contents) {
1478 memset(rparams->mkey.contents, 0, rparams->mkey.length);
1479 krb5_xfree(rparams->mkey.contents);
/illumos-gate/usr/src/cmd/krb5/kadmin/dbutil/
H A Dkdb5_stash.c107 krb5_keyblock mkey; local
186 0, &mkey);
194 retval = krb5_db_verify_master_key(context, master_princ, &mkey);
198 krb5_free_keyblock_contents(context, &mkey);
204 &mkey, NULL);
208 krb5_free_keyblock_contents(context, &mkey);
212 krb5_free_keyblock_contents(context, &mkey);
H A Dkdb5_create.c170 krb5_keyblock mkey; local
174 (void) memset(&mkey, 0, sizeof (mkey));
276 &pwd, &master_salt, &mkey);
285 retval = krb5_copy_keyblock(util_context, &mkey, &rblock.key);
293 seed.length = mkey.length;
294 seed.data = (char *)mkey.contents;
365 if ((retval = add_principal(util_context, master_princ, MASTER_KEY, &rblock, &mkey)) ||
366 (retval = add_principal(util_context, &tgt_princ, TGT_KEY, &rblock, &mkey))) {
381 &mkey,
410 krb5_free_keyblock_contents(util_context, &mkey);
[all …]
/illumos-gate/usr/src/uts/sun4u/opl/sys/scfd/
H A Dscfdscpif.h68 int scf_mb_init(target_id_t target_id, mkey_t mkey,
71 int scf_mb_fini(target_id_t target_id, mkey_t mkey);
73 int scf_mb_putmsg(target_id_t target_id, mkey_t mkey, uint32_t data_len,
76 int scf_mb_canget(target_id_t target_id, mkey_t mkey, uint32_t *data_lenp);
78 int scf_mb_getmsg(target_id_t target_id, mkey_t mkey, uint32_t data_len,
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c282 krb5_def_verify_master_key(context, mprinc, mkey) in krb5_def_verify_master_key() argument
285 krb5_keyblock *mkey;
307 if ((retval = krb5_dbekd_decrypt_key_data(context, mkey,
314 if (mkey->length != tempkey.length ||
315 memcmp((char *)mkey->contents,
316 (char *)tempkey.contents,mkey->length)) {
H A Dencrypt_key.c73 const krb5_keyblock * mkey, in krb5_dbekd_encrypt_key_data() argument
97 if ((retval = krb5_c_encrypt_length(context, mkey->enctype, dbkey->length, in krb5_dbekd_encrypt_key_data()
119 if ((retval = krb5_c_encrypt(context, mkey, /* XXX */ 0, 0, in krb5_dbekd_encrypt_key_data()
H A Ddecrypt_key.c73 const krb5_keyblock * mkey, in krb5_dbekd_decrypt_key_data() argument
98 if ((retval = krb5_c_decrypt(context, mkey, 0 /* XXX */, 0, in krb5_dbekd_decrypt_key_data()
H A Dkdb5.h162 krb5_keyblock *mkey);
H A Dkdb5.c1397 krb5_principal mprinc, krb5_keyblock * mkey) in krb5_db_verify_master_key() argument
1416 mprinc, mkey); in krb5_db_verify_master_key()
/illumos-gate/usr/src/lib/libnsl/key/
H A Dpublickey.c230 char *mkey; in getkeys_files() local
251 mkey = strtok_r(buf, "\t ", &lasts); in getkeys_files()
252 if (mkey == NULL) { in getkeys_files()
266 if (strcasecmp(mkey, netname) == 0) { in getkeys_files()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/krb5/
H A Dkdb.h312 krb5_keyblock *mkey );
339 const krb5_keyblock * mkey,
346 const krb5_keyblock * mkey,
469 krb5_keyblock *mkey);
/illumos-gate/usr/src/cmd/refer/
H A Dindxbib.sh16 then /usr/lib/refer/mkey $* | /usr/lib/refer/inv _$1
H A DMakefile32 PROG3 = mkey inv hunt
82 mkey:= POBJS= mkey1.o mkey2.o mkey3.o deliv2.o macro
/illumos-gate/usr/src/cmd/refer/papers/
H A Druninv4 /usr/lib/refer/mkey R* | /usr/lib/refer/inv -v -h997 -n Xind
/illumos-gate/usr/src/cmd/krb5/ldap_util/
H A Dkdb5_ldap_realm.c515 rparams->mkey.enctype = global_params.enctype;
517 rparams->mkey.length = strlen(mkey_password) + 1;
518 rparams->mkey.contents = (krb5_octet *)strdup(mkey_password);
519 if (rparams->mkey.contents == NULL) {
656 retval = krb5_c_string_to_key(util_context, rparams->mkey.enctype,
671 ldap_context->lrparams->mkey = master_keyblock;
672 ldap_context->lrparams->mkey.contents = (krb5_octet *) malloc
674 if (ldap_context->lrparams->mkey.contents == NULL) {
678 memcpy (ldap_context->lrparams->mkey.contents, master_keyblock.contents,
2412 &ldap_context->lrparams->mkey,
[all …]
/illumos-gate/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_hw.h4566 uint32_t mkey; member
4602 uint32_t mkey; /* swapped w/ addrh relative to arbel */ member
/illumos-gate/usr/src/pkg/manifests/
H A Dtext-doctools.p5m225 file path=usr/lib/refer/mkey mode=0555