Home
last modified time | relevance | path

Searched refs:outkey (Results 1 – 18 of 18) sorted by relevance

/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/dk/
H A Dchecksum.c52 krb5_keyblock **outkey) in derive_cksum_key() argument
62 *outkey = cached_key; in derive_cksum_key()
64 *outkey = krb5_create_derived_keyblock(key->length); in derive_cksum_key()
65 if (*outkey == NULL) in derive_cksum_key()
78 *outkey, &d1); in derive_cksum_key()
80 krb5_free_keyblock(context, *outkey); in derive_cksum_key()
81 *outkey = NULL; in derive_cksum_key()
92 (*outkey)->kef_mt != context->kef_cksum_mt) { in derive_cksum_key()
93 (*outkey)->kef_mt = context->kef_cksum_mt; in derive_cksum_key()
94 if ((*outkey)->key_tmpl != NULL) { in derive_cksum_key()
[all …]
H A Dderive.c257 krb5_derive_key(context, enc, inkey, outkey, in_constant) in krb5_derive_key() argument
261 krb5_keyblock *outkey;
277 (outkey->length != keylength))
334 outkey->enctype = inkey->enctype;
335 ret = (*(enc->make_key))(context, &inblock, outkey);
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Dcombine_keys.c81 (krb5_context context, krb5_keyblock *key1, krb5_keyblock *key2, krb5_keyblock *outkey) in krb5int_c_combine_keys() argument
247 if (outkey->length == 0 || outkey->contents == NULL) { in krb5int_c_combine_keys()
248 outkey->contents = (krb5_octet *) malloc(keylength); in krb5int_c_combine_keys()
249 if (!outkey->contents) { in krb5int_c_combine_keys()
253 outkey->length = keylength; in krb5int_c_combine_keys()
254 outkey->enctype = key1->enctype; in krb5int_c_combine_keys()
259 if ((ret = krb5_derive_key(context, enc, &tkey, outkey, &input))) { in krb5int_c_combine_keys()
261 free(outkey->contents); in krb5int_c_combine_keys()
262 outkey->contents = NULL; in krb5int_c_combine_keys()
271 for (i = 0; i < outkey->length; i++) in krb5int_c_combine_keys()
[all …]
/titanic_44/usr/src/lib/libnsl/yp/
H A Dyp_enum.c231 char **outkey, /* return: key array associated with val */ in __yp_next_cflookup() argument
260 _ypserv_timeout, outkey, outkeylen, val, vallen); in __yp_next_cflookup()
288 char **outkey, /* return: key array associated with val */ in yp_next() argument
294 return (__yp_next_cflookup(domain, map, inkey, inkeylen, outkey, in yp_next()
303 donext(domain, map, inkey, inkeylen, pdomb, timeout, outkey, outkeylen, in donext() argument
311 char **outkey; /* return: key array associated with val */
355 if ((*outkey = malloc((size_t)
360 free(*outkey);
373 (void) memcpy(*outkey, resp.keydat.dptr,
375 (*outkey)[resp.keydat.dsize] = '\n';
[all …]
/titanic_44/usr/src/cmd/cmd-crypto/pktool/
H A Dgenkey.c256 char *outkey, boolean_t print_hex) in genkey_file() argument
270 if (EMPTYSTRING(outkey)) { in genkey_file()
276 if (verify_file(outkey)) { in genkey_file()
279 "key file (%s).\n"), outkey); in genkey_file()
313 if (outkey != NULL) { in genkey_file()
315 KMF_KEY_FILENAME_ATTR, outkey, in genkey_file()
316 strlen(outkey)); in genkey_file()
372 char *outkey = NULL; in pk_genkey() local
422 if (outkey) in pk_genkey()
424 outkey = optarg_av; in pk_genkey()
[all …]
H A Dgenkeypair.c134 char *outkey, in genkeypair_file() argument
147 if (EMPTYSTRING(outkey)) { in genkeypair_file()
154 fullkeypath = strdup(outkey); in genkeypair_file()
331 char *outkey = NULL; in pk_genkeypair() local
392 if (outkey) in pk_genkeypair()
394 outkey = optarg_av; in pk_genkeypair()
511 fmt, outkey, NULL, NULL); in pk_genkeypair()
H A Dgencsr.c173 char *outcsr, char *outkey, EKU_LIST *ekulist, in gencsr_file() argument
188 if (EMPTYSTRING(outcsr) || EMPTYSTRING(outkey)) { in gencsr_file()
211 fmt, outkey, &prik, &pubk); in gencsr_file()
381 char *outkey = NULL; in pk_gencsr() local
483 if (outkey) in pk_gencsr()
485 outkey = optarg_av; in pk_gencsr()
587 if (EMPTYSTRING(outkey) && interactive) in pk_gencsr()
588 (void) get_filename("private key", &outkey); in pk_gencsr()
590 if (EMPTYSTRING(outkey)) { in pk_gencsr()
735 outcsr, outkey, ekulist, sigAlg); in pk_gencsr()
H A Dgencert.c251 char *outcert, char *outkey, in gencert_file() argument
271 if (EMPTYSTRING(outcert) || EMPTYSTRING(outkey)) { in gencert_file()
305 fmt, outkey, &prik, &pubk); in gencert_file()
585 char *outkey = NULL; in pk_gencert() local
694 if (outkey) in pk_gencert()
696 outkey = optarg_av; in pk_gencert()
943 &serial, kubits, kucrit, outcert, outkey, in pk_gencert()
/titanic_44/usr/src/cmd/ypcmd/
H A Dypcat.c255 char *outkey; local
266 if (err = yp_first(domain, map, &outkey, &outkeylen, &val, &vallen)) {
280 (void) printf("%.*s ", outkeylen, outkey);
285 key = outkey;
288 if (err = yp_next(domain, map, key, keylen, &outkey, &outkeylen,
H A Dyppush.c472 char *outkey; in make_server_list() local
491 if (err = yp_first(domain_alias, ypservers, &outkey, &outkeylen, in make_server_list()
498 add_server(outkey, outkeylen); in make_server_list()
500 printf(" %s", outkey); in make_server_list()
508 key = outkey; in make_server_list()
512 &outkey, &outkeylen, &val, &vallen)) { in make_server_list()
H A Dypserv_proc.c101 static void ypfilter(DBM *fdb, datum *inkey, datum *outkey, datum *val,
741 ypfilter(DBM *fdb, datum *inkey, datum *outkey, datum *val, uint_t *status, in ypfilter() argument
767 *outkey = k; in ypfilter()
/titanic_44/usr/src/cmd/refer/
H A Dmkey2.c68 outkey(char *ky, int lead, int trail) in outkey() function
141 if (outkey(p = key, prevc, c)) { in chkey()
/titanic_44/usr/src/lib/nsswitch/nis/common/
H A Dnis_common.c326 char *outkey, *outval; local
339 (grrr)be->enum_map, &outkey,
345 be->enum_keylen, &outkey,
383 be->enum_key = outkey;
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Ddk.h55 krb5_keyblock *outkey, krb5_const krb5_data *in_constant);
H A Dk5-int.h971 krb5_keyblock *outkey);
/titanic_44/usr/src/lib/libkmf/plugins/kmf_pkcs11/common/
H A Dpkcs11_spi.c2783 KMF_RAW_KEY_DATA **outkey) in keyObj2RawKey() argument
2830 *outkey = rkey; in keyObj2RawKey()
2833 *outkey = NULL; in keyObj2RawKey()
/titanic_44/usr/src/cmd/tsol/misc/
H A Dtxzonemgr.sh402 keylen=$keylen outkey=$file
/titanic_44/usr/src/lib/libnsl/common/
H A Dllib-lnsl1033 char **outkey, int *outkeylen, char **val, int *vallen);