Home
last modified time | relevance | path

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

/illumos-gate/usr/src/cmd/bnu/
H A Dpk0.c50 pkcntl(c, pk) in pkcntl() argument
52 struct pack *pk;
70 pk->p_xsize = xpacksize = pksizes[val];
71 pk->p_lpsize = val;
72 pk->p_bits = 1;
73 if (pk->p_state & LIVE) {
74 pk->p_msg |= M_INITC;
77 pk->p_state |= INITb;
78 if ((pk->p_state & INITa)==0) {
81 pk->p_rmsg &= ~M_INITA;
[all …]
H A Dpk1.c83 struct pack *pk; local
89 if ((pk = (struct pack *) calloc(1, sizeof (struct pack))) == NULL)
91 pk->p_ifn = ifn;
92 pk->p_ofn = ofn;
110 pk->p_xsize = pk->p_rsize = xpacksize = packsize;
111 pk->p_rwindow = pk->p_swindow = windows;
116 for (i = 0; i < pk->p_rwindow; i++) {
117 if ((bp = (char **) malloc((unsigned) pk->p_xsize)) == NULL)
119 *bp = (char *) pk->p_ipool;
120 pk->p_ipool = bp;
[all …]
/illumos-gate/usr/src/uts/common/fs/smbclnt/netsmb/
H A Dsmb_pass.c99 int smb_pkey_check(smbioc_pk_t *pk, cred_t *cr);
205 smb_pkey_del(smbioc_pk_t *pk, cred_t *cr) in smb_pkey_del() argument
212 uid = pk->pk_uid; in smb_pkey_del()
221 tmp->srvdom = pk->pk_dom; in smb_pkey_del()
222 tmp->username = pk->pk_usr; in smb_pkey_del()
276 smb_pkey_add(smbioc_pk_t *pk, cred_t *cr) in smb_pkey_add() argument
284 uid = pk->pk_uid; in smb_pkey_add()
294 cpid->srvdom = strdup(pk->pk_dom); in smb_pkey_add()
295 cpid->username = strdup(pk->pk_usr); in smb_pkey_add()
296 bcopy(pk->pk_lmhash, cpid->lmhash, SMBIOC_HASH_SZ); in smb_pkey_add()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_template.c101 char *pk, size_t pklen) in dh_getpublickey() argument
127 pk, pklen, &key_cached)); in dh_getpublickey()
136 return (getpublickey_g(remote, keylen, algtype, pk, pklen)); in dh_getpublickey()
146 char pk[HEX_KEY_BYTES+1]; in __encrypt() local
160 if (!dh_getpublickey(remotename, KEYLEN, 0, pk, sizeof (pk))) in __encrypt()
163 if (key_encryptsession_pk_g(remotename, pk, in __encrypt()
178 char pk[HEX_KEY_BYTES+1]; in __decrypt() local
200 0, pk, sizeof (pk), use_cache)) in __decrypt()
208 if (key_decryptsession_pk_g(remotename, pk, in __decrypt()
H A Dgeneric_key.c108 MINT *pk = mp_itom(0); /* Initial public key */ in __generic_gen_dhkeys() local
155 mp_pow(root, sk, modulus, pk); in __generic_gen_dhkeys()
163 xkey = mp_mtox(pk); in __generic_gen_dhkeys()
172 mp_mfree(pk); in __generic_gen_dhkeys()
246 MINT *pk = mp_xtom(pkey); in __generic_common_dhkeys() local
253 mp_pow(pk, sk, modulus, ck); in __generic_common_dhkeys()
259 mp_mfree(pk); in __generic_common_dhkeys()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dkeychain.c63 smbioc_pk_t pk; in smbfs_keychain_cmn() local
66 memset(&pk, 0, sizeof (pk)); in smbfs_keychain_cmn()
67 pk.pk_uid = uid; in smbfs_keychain_cmn()
81 memcpy(pk.pk_lmhash, lmhash, SMBIOC_HASH_SZ); in smbfs_keychain_cmn()
82 memcpy(pk.pk_nthash, nthash, SMBIOC_HASH_SZ); in smbfs_keychain_cmn()
94 sz = sizeof (pk.pk_dom); in smbfs_keychain_cmn()
95 if (strlcpy(pk.pk_dom, dom, sz) >= sz) { in smbfs_keychain_cmn()
103 sz = sizeof (pk.pk_usr); in smbfs_keychain_cmn()
104 if (strlcpy(pk.pk_usr, usr, sz) >= sz) { in smbfs_keychain_cmn()
131 if (nsmb_ioctl(fd, cmd, &pk) < 0) { in smbfs_keychain_cmn()
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/
H A Dfakensl.c59 key_encryptsession_pk_g(const char *remotename, const char *pk, int keylen, in key_encryptsession_pk_g() argument
66 npk.n_bytes = (char *)pk; in key_encryptsession_pk_g()
78 key_decryptsession_pk_g(const char *remotename, const char *pk, int keylen, in key_decryptsession_pk_g() argument
85 npk.n_bytes = (char *)pk; in key_decryptsession_pk_g()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv_cache.c863 struct dhkey *pk; in cache_insert_ch() local
872 (pk = keybuf3_2_dhkey(public)) == 0 || in cache_insert_ch()
878 if ((cd = find_cache_item(&newch, uid, pk)) == 0) { in cache_insert_ch()
879 free(pk); in cache_insert_ch()
889 memcpy(&(cd->public), pk, DHKEYSIZE(pk)); in cache_insert_ch()
891 skck = MOVE_ADDR(&(cd->public), DHKEYSIZE(pk)); in cache_insert_ch()
897 free(pk); in cache_insert_ch()
995 struct dhkey *pk = 0; in cache_retrieve_ch() local
998 (public != 0 && (pk = keybuf3_2_dhkey(public)) == 0)) { in cache_retrieve_ch()
1007 if (pk != 0) { in cache_retrieve_ch()
[all …]
/illumos-gate/usr/src/lib/libnsl/key/
H A Dgen_dhkeys.c120 MINT *pk = mp_itom(0); local
146 mp_pow(root, sk, modulus, pk);
149 xkey = mp_mtox(pk);
153 mp_mfree(pk);
/illumos-gate/usr/src/cmd/spell/
H A Dhuff.c109 decode(long y, long *pk) in decode() argument
114 *pk = y >> (long)(L+QW-w); in decode()
121 *pk = v + (y>>(long)(L-w)); in decode()
/illumos-gate/usr/src/cmd/audio/utilities/
H A Dg721.c94 state_ptr->pk[cnta] = 0; in g721_init_state()
234 pks1 = pk0 ^ state_ptr->pk[0]; in _g721_update()
247 if (pk0 ^ state_ptr->pk[1]) { in _g721_update()
324 state_ptr->pk[1] = state_ptr->pk[0]; in _g721_update()
325 state_ptr->pk[0] = pk0; in _g721_update()
H A Dg723.c99 state_ptr->pk[cnta] = 0; in g723_init_state()
238 pks1 = pk0 ^ state_ptr->pk[0]; in _g723_update()
250 if (pk0 ^ state_ptr->pk[1]) in _g723_update()
325 state_ptr->pk[1] = state_ptr->pk[0]; in _g723_update()
326 state_ptr->pk[0] = pk0; in _g723_update()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Dtable.c907 struct khash *k, **pk; in kern_find() local
909 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { in kern_find()
917 *ppk = pk; in kern_find()
930 struct khash *k, **pk; in kern_alternate() local
932 for (pk = &KHASH(dst, mask); (k = *pk) != NULL; pk = &k->k_next) { in kern_alternate()
940 *ppk = pk; in kern_alternate()
947 struct khash *k, **pk; in kern_add() local
949 k = kern_find(dst, mask, gate, ifp, &pk); in kern_add()
962 *pk = k; in kern_add()
2090 struct khash *k, *pk, *knext; in fix_kern() local
[all …]
/illumos-gate/usr/src/cmd/sendmail/util/
H A Detrn.pl254 (my $pk, my $file, my $line);
255 ($pk, $file, $line) = caller;
/illumos-gate/usr/src/cmd/audio/include/
H A Daudio_encode.h107 short pk[2]; member
/illumos-gate/usr/src/uts/common/io/
H A Ddevinfo.c2658 struct di_pkey *pk; in di_register_pip() local
2664 pk = &(key->k_u.pkey); in di_register_pip()
2666 pk->pk_pip = pip; in di_register_pip()
2669 pk->pk_path_addr = i_ddi_strdup(path_addr, KM_SLEEP); in di_register_pip()
2670 pk->pk_client = mdi_pi_get_client(pip); in di_register_pip()
2671 pk->pk_phci = mdi_pi_get_phci(pip); in di_register_pip()
2695 struct di_pkey *pk; in di_pip_find() local
2706 pk = &(key.k_u.pkey); in di_pip_find()
2708 pk->pk_pip = pip; in di_pip_find()
2709 pk->pk_path_addr = mdi_pi_get_addr(pip); in di_pip_find()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/clients/of/sol_ofs/
H A Dsol_ib_cma.c2487 uint16_t pk; in ibcma_get_devlist() local
2500 for (pk = 0; pk < num_pkeys; pk++) { in ibcma_get_devlist()
2502 if (tmp->p_pkey_tbl[pk] == 0) in ibcma_get_devlist()
2509 tmp->p_pkey_tbl[pk]; in ibcma_get_devlist()
2524 devp->dev_pkey_ix = pk; in ibcma_get_devlist()
2525 devp->dev_pkey = tmp->p_pkey_tbl[pk]; in ibcma_get_devlist()
/illumos-gate/usr/src/cmd/vi/port/
H A Dex_cmdsub.c1712 short pk; local
1718 pk = peekc; peekc = 0;
1730 peekc = pk;
/illumos-gate/usr/src/lib/libkmf/plugins/kmf_nss/common/
H A Dnss_spi.c2253 CK_OBJECT_HANDLE pk; in NSS_StoreKey() local
2256 pk = PK11_ImportPublicKey(nss_slot, publicKey, PR_TRUE); in NSS_StoreKey()
2257 if (pk == CK_INVALID_HANDLE) { in NSS_StoreKey()
2262 SECKEYPrivateKey *pk; in NSS_StoreKey() local
2265 pk = PK11_LoadPrivKey(nss_slot, privKey, NULL, PR_TRUE, in NSS_StoreKey()
2267 if (pk == CK_INVALID_HANDLE) { in NSS_StoreKey()
2272 SECKEY_DestroyPrivateKey(pk); in NSS_StoreKey()
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/
H A Dibcm_path.c2443 ib_pkey_t pk = dinfo->dest[0].d_pkey; in ibcm_saa_service_rec() local
2446 dinfo->p_key = pk; in ibcm_saa_service_rec()
2450 "pk= 0x%X, pk[%d]= 0x%X", pk, i, in ibcm_saa_service_rec()
2452 if (pk != dinfo->dest[i].d_pkey) { in ibcm_saa_service_rec()
2456 dinfo->p_key = pk; in ibcm_saa_service_rec()
/illumos-gate/usr/src/cmd/units/
H A Dunittab162 pk peck
/illumos-gate/usr/src/data/zoneinfo/
H A Dasia2972 # http://www.pak.gov.pk/public/news/app/app06_dec.htm
3008 # http://www.dailytimes.com.pk/default.asp?page=2008\05\15\story_15-5-2008_pg1_4
3026 # http://www.thenews.com.pk/daily_detail.asp?id=171280
3034 # http://www.app.com.pk/en_/index.php?option=com_content&task=view&id=73043&Itemid=1
3048 # http://www.thenews.com.pk/updates.asp?id=87168
3056 # http://www.app.com.pk/en_/index.php?option=com_content&task=view&id=86715&Itemid=2
3061 # http://www.thenews.com.pk/top_story_detail.asp?Id=24742
3094 # http://www.app.com.pk/en_/index.php?option=com_content&task=view&id=99374&Itemid=2
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dcaps249 pkey_key, "pfkey" "pk" Prog funct key #1 to type string #2
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcaps254 pkey_key pfkey pk str Prog funct key #1 to type string #2
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcaps256 pkey_key pfkey pk str Prog funct key #1 to type string #2