/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/ |
H A D | fakensl.c | 61 key_encryptsession_pk_g(const char *remotename, const char *pk, int keylen, argument 68 npk.n_bytes = (char *)pk; 80 key_decryptsession_pk_g(const char *remotename, const char *pk, int keylen, argument 87 npk.n_bytes = (char *)pk;
|
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/ |
H A D | dh_template.c | 99 char *pk, size_t pklen) 125 pk, pklen, &key_cached)); 134 return (getpublickey_g(remote, keylen, algtype, pk, pklen)); 144 char pk[HEX_KEY_BYTES+1]; local 158 if (!dh_getpublickey(remotename, KEYLEN, 0, pk, sizeof (pk))) 161 if (key_encryptsession_pk_g(remotename, pk, 176 char pk[HEX_KEY_BYTES+1]; local 198 0, pk, sizeof (pk), use_cach 98 dh_getpublickey(const char *remote, keylen_t keylen, algtype_t algtype, char *pk, size_t pklen) argument [all...] |
H A D | generic_key.c | 110 MINT *pk = mp_itom(0); /* Initial public key */ local 157 mp_pow(root, sk, modulus, pk); 165 xkey = mp_mtox(pk); 174 mp_mfree(pk); 234 * ck = pk ^ sk % modulus 248 MINT *pk = mp_xtom(pkey); local 254 /* ck = pk ^ sk % modulus */ 255 mp_pow(pk, sk, modulus, ck); 261 mp_mfree(pk);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | keychain.c | 63 smbioc_pk_t pk; local 66 memset(&pk, 0, sizeof (pk)); 67 pk.pk_uid = uid; 81 memcpy(pk.pk_lmhash, lmhash, SMBIOC_HASH_SZ); 82 memcpy(pk.pk_nthash, nthash, SMBIOC_HASH_SZ); 94 sz = sizeof (pk.pk_dom); 95 if (strlcpy(pk.pk_dom, dom, sz) >= sz) { 103 sz = sizeof (pk.pk_usr); 104 if (strlcpy(pk [all...] |
/illumos-gate/usr/src/cmd/audio/include/ |
H A D | audio_encode.h | 109 short pk[2]; member in struct:audio_g72x_state
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | pk0.c | 35 #include "pk.h" 50 * pk -> line control unit 53 pkcntl(c, pk) 55 struct pack *pk; 73 pk->p_xsize = xpacksize = pksizes[val]; 74 pk->p_lpsize = val; 75 pk->p_bits = 1; 76 if (pk->p_state & LIVE) { 77 pk->p_msg |= M_INITC; 80 pk 129 struct pack *pk; local 255 struct pack *pk; local 321 struct pack *pk; local 504 struct pack *pk; local [all...] |
H A D | pk1.c | 35 #include "pk.h" 86 struct pack *pk; local 92 if ((pk = (struct pack *) calloc(1, sizeof (struct pack))) == NULL) 94 pk->p_ifn = ifn; 95 pk->p_ofn = ofn; 113 pk->p_xsize = pk->p_rsize = xpacksize = packsize; 114 pk->p_rwindow = pk->p_swindow = windows; 119 for (i = 0; i < pk 171 struct pack *pk; local [all...] |
/illumos-gate/usr/src/cmd/spell/ |
H A D | huff.c | 112 decode(long y, long *pk) argument 117 *pk = y >> (long)(L+QW-w); 124 *pk = v + (y>>(long)(L-w));
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/ |
H A D | smb_pass.c | 99 int smb_pkey_check(smbioc_pk_t *pk, cred_t *cr); 205 smb_pkey_del(smbioc_pk_t *pk, cred_t *cr) argument 212 uid = pk->pk_uid; 221 tmp->srvdom = pk->pk_dom; 222 tmp->username = pk->pk_usr; 276 smb_pkey_add(smbioc_pk_t *pk, cred_t *cr) argument 284 uid = pk->pk_uid; 294 cpid->srvdom = strdup(pk->pk_dom); 295 cpid->username = strdup(pk->pk_usr); 296 bcopy(pk 330 smb_pkey_check(smbioc_pk_t *pk, cred_t *cr) argument 369 smbioc_pk_t *pk; local [all...] |
/illumos-gate/usr/src/lib/libnsl/key/ |
H A D | gen_dhkeys.c | 122 MINT *pk = mp_itom(0); local 148 mp_pow(root, sk, modulus, pk); 151 xkey = mp_mtox(pk); 155 mp_mfree(pk);
|
/illumos-gate/usr/src/cmd/keyserv/ |
H A D | keyserv_cache.c | 865 struct dhkey *pk; local 874 (pk = keybuf3_2_dhkey(public)) == 0 || 880 if ((cd = find_cache_item(&newch, uid, pk)) == 0) { 881 free(pk); 891 memcpy(&(cd->public), pk, DHKEYSIZE(pk)); 893 skck = MOVE_ADDR(&(cd->public), DHKEYSIZE(pk)); 899 free(pk); 997 struct dhkey *pk = 0; local 1000 (public != 0 && (pk 1046 struct dhkey *pk = 0; local [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | ex_cmdsub.c | 1707 short pk; local 1713 pk = peekc; peekc = 0; 1725 peekc = pk;
|
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/ |
H A D | nss_spi.c | 2252 CK_OBJECT_HANDLE pk; local 2255 pk = PK11_ImportPublicKey(nss_slot, publicKey, PR_TRUE); 2256 if (pk == CK_INVALID_HANDLE) { 2261 SECKEYPrivateKey *pk; local 2264 pk = PK11_LoadPrivKey(nss_slot, privKey, NULL, PR_TRUE, 2266 if (pk == CK_INVALID_HANDLE) { 2271 SECKEY_DestroyPrivateKey(pk);
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | table.c | 907 struct khash *k, **pk; local 909 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { 917 *ppk = pk; 930 struct khash *k, **pk; local 932 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { 940 *ppk = pk; 947 struct khash *k, **pk; local 2091 struct khash *k, *pk, *knext; local [all...] |
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/ |
H A D | sol_ib_cma.c | 2487 uint16_t pk; local 2500 for (pk = 0; pk < num_pkeys; pk++) { 2502 if (tmp->p_pkey_tbl[pk] == 0) 2509 tmp->p_pkey_tbl[pk]; 2524 devp->dev_pkey_ix = pk; 2525 devp->dev_pkey = tmp->p_pkey_tbl[pk];
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_path.c | 2442 ib_pkey_t pk = dinfo->dest[0].d_pkey; local 2445 dinfo->p_key = pk; 2449 "pk= 0x%X, pk[%d]= 0x%X", pk, i, 2451 if (pk != dinfo->dest[i].d_pkey) { 2455 dinfo->p_key = pk;
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | devinfo.c | 2656 struct di_pkey *pk; local 2662 pk = &(key->k_u.pkey); 2664 pk->pk_pip = pip; 2667 pk->pk_path_addr = i_ddi_strdup(path_addr, KM_SLEEP); 2668 pk->pk_client = mdi_pi_get_client(pip); 2669 pk->pk_phci = mdi_pi_get_phci(pip); 2693 struct di_pkey *pk; local 2704 pk = &(key.k_u.pkey); 2706 pk->pk_pip = pip; 2707 pk [all...] |