Home
last modified time | relevance | path

Searched refs:nkeys (Results 1 – 25 of 36) sorted by relevance

12

/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/kssl/kssladm/
H A Dksslutil.c51 int ncerts, nkeys; in PKCS12_get_rsa_key_certs() local
57 nkeys = 0; in PKCS12_get_rsa_key_certs()
68 &ncerts, &keys, &nkeys); in PKCS12_get_rsa_key_certs()
84 for (i = 0; i < nkeys; i++) in PKCS12_get_rsa_key_certs()
110 int ncerts, nkeys; in PEM_get_rsa_key_certs() local
117 nkeys = 0; in PEM_get_rsa_key_certs()
128 &ncerts, &keys, &nkeys); in PEM_get_rsa_key_certs()
144 for (i = 0; i < nkeys; i++) in PEM_get_rsa_key_certs()
H A Dkssladm_create.c317 uint32_t nkeys = 0; in get_sensitive_key_data() local
427 nkeys = 1; in get_sensitive_key_data()
429 &nkeys, sizeof (nkeys)); in get_sensitive_key_data()
582 uint32_t ncerts, nkeys; in load_from_pkcs11() local
698 nkeys = 1; in load_from_pkcs11()
700 &nkeys, sizeof (nkeys)); in load_from_pkcs11()
736 } else if (rv != KMF_OK || nkeys == 0) in load_from_pkcs11()
745 if (nkeys != 0) in load_from_pkcs11()
/titanic_41/usr/src/cmd/cmd-crypto/pktool/
H A Dimport.c66 int nkeys = 0; in pk_import_pk12_files() local
73 &certs, &ncerts, &keys, &nkeys); in pk_import_pk12_files()
77 "key(s) in %s\n"), ncerts, nkeys, outfile); in pk_import_pk12_files()
131 if (rv == KMF_OK && nkeys > 0) { in pk_import_pk12_files()
134 NEW_ATTRLIST(attrlist, (4 + (4 * nkeys))); in pk_import_pk12_files()
154 for (i = 0; rv == KMF_OK && i < nkeys; i++) { in pk_import_pk12_files()
198 for (i = 0; i < nkeys; i++) in pk_import_pk12_files()
219 int nkeys = 0; in pk_import_pk12_nss() local
230 &certs, &ncerts, &keys, &nkeys); in pk_import_pk12_nss()
234 "key(s) in %s\n"), ncerts, nkeys, filename); in pk_import_pk12_nss()
[all …]
/titanic_41/usr/src/lib/libc/port/threads/
H A Dtsd.c273 uint_t nkeys; in thr_setspecific_slow() local
296 nkeys = ((stsd = self->ul_stsd) != NULL)? stsd->tsd_nalloc : 8; in thr_setspecific_slow()
297 for (; key >= nkeys; nkeys <<= 1) in thr_setspecific_slow()
303 if ((ntsd = lmalloc(nkeys * sizeof (void *))) == NULL) in thr_setspecific_slow()
314 ntsd->tsd_nalloc = nkeys; in thr_setspecific_slow()
/titanic_41/usr/src/cmd/krb5/kadmin/cli/
H A Dkeytab.c268 int code, nkeys, i; in add_principal() local
276 nkeys = 0; in add_principal()
330 &keys, &nkeys); in add_principal()
340 code = kadm5_randkey_principal_old(handle, princ, &keys, &nkeys); in add_principal()
382 for (i = 0; i < nkeys; i++) { in add_principal()
410 if (nkeys) { in add_principal()
411 for (i = 0; i < nkeys; i++) in add_principal()
/titanic_41/usr/src/lib/libelfsign/common/
H A Delfcertlib.c343 uint32_t nkeys; in elfcertlib_loadprivatekey() local
351 nkeys = 2; in elfcertlib_loadprivatekey()
362 &nkeys, sizeof (uint32_t)); in elfcertlib_loadprivatekey()
375 if (nkeys != 1) { in elfcertlib_loadprivatekey()
377 cryptodebug("found %d keys at %s", nkeys, pathname); in elfcertlib_loadprivatekey()
403 uint32_t nkeys; in elfcertlib_loadtokenkey() local
428 nkeys = 1; in elfcertlib_loadtokenkey()
443 &nkeys, sizeof (uint32_t)); in elfcertlib_loadtokenkey()
468 if (nkeys != 1) { in elfcertlib_loadtokenkey()
/titanic_41/usr/src/cmd/ypcmd/
H A Dypmatch.c76 static int nkeys; variable
190 nkeys = argc -1;
232 while (n < nkeys) { in match_list()
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbt_debug.c315 u_long ifree, lfree, nkeys; local
322 nkeys = ifree = lfree = 0;
335 nkeys += NEXTINDEX(h);
356 levels, levels == 1 ? "" : "s", nkeys);
/titanic_41/usr/src/lib/krb5/kadm5/
H A Dmisc_free.c81 int i, nkeys = (int) *n_key_data; in kadm5_free_key_data() local
88 for (i = 0; i < nkeys; i++) in kadm5_free_key_data()
/titanic_41/usr/src/cmd/oamuser/user/
H A Dfuncs.h52 extern int nkeys;
H A Dusermod.c552 if (nkeys > 0)
578 nargv = malloc((30 + nkeys * 2) * sizeof (char *));
630 if (nkeys > 0)
H A Dfuncs.c80 int nkeys; variable
139 nkeys++; in change_key()
H A Duseradd.c551 nargv = malloc((30 + nkeys * 2) * sizeof (char *));
593 if (nkeys > 1)
H A Duserdefs.c429 nkeys ++; in import_def()
/titanic_41/usr/src/lib/krb5/kadm5/srv/
H A Dsvr_principal.c1124 unsigned int i, knext, nkeys; in add_to_history() local
1131 nkeys = adb->old_key_len; in add_to_history()
1134 if (nkeys + 1 < nhist) { in add_to_history()
1137 malloc((nkeys + 1) * sizeof (osa_pw_hist_ent)); in add_to_history()
1141 (nkeys + 1) * sizeof (osa_pw_hist_ent)); in add_to_history()
1146 memset(&adb->old_keys[nkeys], 0, sizeof(osa_pw_hist_ent)); in add_to_history()
1147 nkeys = ++adb->old_key_len; in add_to_history()
1152 for (i = nkeys - 1; i > knext; i--) { in add_to_history()
1156 } else if (nkeys + 1 > nhist) { in add_to_history()
1183 j = (i + nkeys + knext - (nhist - 1)) % nkeys; in add_to_history()
[all …]
/titanic_41/usr/src/cmd/ssh/include/
H A Dsshconnect.h41 int nkeys; member
/titanic_41/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_utils.c218 int nkeys = key_size/sizeof (uint32_t); in oce_gen_hkey() local
219 for (i = 0; i < nkeys; i++) { in oce_gen_hkey()
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dssh.c682 sensitive_data.nkeys = 0;
687 sensitive_data.nkeys = 3;
688 sensitive_data.keys = xmalloc(sensitive_data.nkeys *
753 if (sensitive_data.nkeys != 0) {
754 for (i = 0; i < sensitive_data.nkeys; i++) {
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash.c265 "NKEYS ", hashp->hdr.nkeys);
335 hashp->hdr.nkeys = 0;
521 "keys %ld maxp %d\n", hashp->hdr.nkeys, hashp->hdr.max_bucket);
1059 P_32_COPY(srcp->nkeys, destp->nkeys);
1088 M_32_SWAP(hdrp->nkeys);
H A Dhash.h92 int32_t nkeys; /* Number of keys in hash table */ member
/titanic_41/usr/src/uts/common/rpc/
H A Dkey_prot.x237 int nkeys; member
/titanic_41/usr/src/uts/common/disp/
H A Dthread.c1441 uint_t nkeys; in tsd_create() local
1465 if ((nkeys = (tsd_nkeys << 1)) == 0) in tsd_create()
1466 nkeys = 1; in tsd_create()
1470 (size_t)(nkeys * sizeof (void (*)(void *)))); in tsd_create()
1471 tsd_nkeys = nkeys; in tsd_create()
/titanic_41/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c1524 int nkeys; in chrand_principal_2_svc() local
1560 &nkeys); in chrand_principal_2_svc()
1565 &k, &nkeys); in chrand_principal_2_svc()
1580 ret.n_keys = nkeys; in chrand_principal_2_svc()
1616 int nkeys; in chrand_principal3_2_svc() local
1655 &k, &nkeys); in chrand_principal3_2_svc()
1663 &k, &nkeys); in chrand_principal3_2_svc()
1676 ret.n_keys = nkeys; in chrand_principal3_2_svc()
/titanic_41/usr/src/lib/libnsl/rpc/
H A Dkey_prot.c248 if (!xdr_int(xdrs, &objp->nkeys)) in xdr_deskeyarg3()
/titanic_41/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddtrace.c1880 int nkeys; in dtrace_dynvar_step() local
1898 nkeys = dynvar.dtdv_tuple.dtt_nkeys; in dtrace_dynvar_step()
1899 dvarsize = (uintptr_t)&dynvar.dtdv_tuple.dtt_key[nkeys] - in dtrace_dynvar_step()
2237 int i, nkeys = tuple->dtt_nkeys; in dtrace_dynstat_walk() local
2251 for (i = 0; i < nkeys; i++) { in dtrace_dynstat_walk()
2264 for (i = 0; i < nkeys; i++) { in dtrace_dynstat_walk()

12