Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh_common/
H A Ddh_template.c45 static int __encrypt(const char *remotename, des_block deskeys[], int no_keys);
46 static int __decrypt(const char *remotename,
144 static int __encrypt(const char *remotename, des_block deskeys[], int no_keys) in __encrypt() argument
160 if (!dh_getpublickey(remotename, KEYLEN, 0, pk, sizeof (pk))) in __encrypt()
163 if (key_encryptsession_pk_g(remotename, pk, in __encrypt()
174 static int __decrypt(const char *remotename, in __decrypt() argument
187 use_cache ? "using" : "not using", remotename); in __decrypt()
196 __getpublickey_flush_g(remotename, KEYLEN, ALGTYPE); in __decrypt()
199 if (!__getpublickey_cached_g(remotename, KEYLEN, in __decrypt()
208 if (key_decryptsession_pk_g(remotename, pk, in __decrypt()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/dh192/
H A Dfakensl.c41 __getpublickey_cached_g(const char remotename[], int keylen, in __getpublickey_cached_g() argument
44 return (getpublickey(remotename, pkey)); in __getpublickey_cached_g()
50 getpublickey_g(const char remotename[], int keylen, in getpublickey_g() argument
53 return (getpublickey(remotename, pkey)); in getpublickey_g()
59 key_encryptsession_pk_g(const char *remotename, const char *pk, int keylen, in key_encryptsession_pk_g() argument
69 if (key_encryptsession_pk(remotename, &npk, &deskeys[i])) in key_encryptsession_pk_g()
78 key_decryptsession_pk_g(const char *remotename, const char *pk, int keylen, in key_decryptsession_pk_g() argument
88 if (key_decryptsession_pk(remotename, &npk, &deskeys[i])) in key_decryptsession_pk_g()
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dkey_call.c287 key_encryptsession_pk(const char *remotename, netobj *remotekey, in key_encryptsession_pk() argument
293 arg.remotename = (char *)remotename; in key_encryptsession_pk()
309 const char *remotename, in key_encryptsession_pk_g() argument
327 if (key_encryptsession_pk(remotename, &npk, &deskey[i])) in key_encryptsession_pk_g()
332 arg.remotename = (char *)remotename; in key_encryptsession_pk_g()
357 key_decryptsession_pk(const char *remotename, netobj *remotekey, in key_decryptsession_pk() argument
363 arg.remotename = (char *)remotename; in key_decryptsession_pk()
379 const char *remotename, in key_decryptsession_pk_g() argument
397 if (key_decryptsession_pk(remotename, in key_decryptsession_pk_g()
403 arg.remotename = (char *)remotename; in key_decryptsession_pk_g()
[all …]
H A Dkey_prot.c98 if (!xdr_netnamestr(xdrs, &objp->remotename)) in xdr_cryptkeyarg()
106 if (!xdr_netnamestr(xdrs, &objp->remotename)) in xdr_cryptkeyarg2()
116 if (!xdr_netnamestr(xdrs, &objp->remotename)) in xdr_cryptkeyarg3()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dkey_call.c96 key_encryptsession(char *remotename, des_block *deskey, cred_t *cr) in key_encryptsession() argument
102 RPCLOG(8, "key_encryptsession(%s, ", remotename); in key_encryptsession()
106 arg.remotename = remotename; in key_encryptsession()
111 RPCLOG(1, "%s): ", remotename); in key_encryptsession()
119 RPCLOG(1, "%s): ", remotename); in key_encryptsession()
128 key_decryptsession(char *remotename, des_block *deskey) in key_decryptsession() argument
134 RPCLOG(8, "key_decryptsession(%s, ", remotename); in key_decryptsession()
138 arg.remotename = remotename; in key_decryptsession()
142 RPCLOG(1, "key_decryptsession(%s): ", remotename); in key_decryptsession()
149 RPCLOG(1, "key_decryptsession(%s): ", remotename); in key_decryptsession()
H A Dkey_prot.c69 if (!xdr_netnamestr(xdrs, &objp->remotename)) in xdr_cryptkeyarg()
79 if (!xdr_netnamestr(xdrs, &objp->remotename)) in xdr_cryptkeyarg2()
/illumos-gate/usr/src/uts/common/rpc/
H A Dkey_prot.x115 netnamestr remotename; member
123 netnamestr remotename; member
132 netnamestr remotename; member
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c649 arg->remotename, arg->deskey.key.high,
653 res->status = pk_encrypt(uid, arg->remotename, &(arg->remotekey),
677 arg->remotename, arg->deskey.key.high,
681 res->status = pk_decrypt(uid, arg->remotename, &(arg->remotekey),
784 arg->remotename, arg->deskey.key.high,
788 res->status = pk_encrypt(uid, arg->remotename, NULL,
811 arg->remotename, arg->deskey.key.high,
815 res->status = pk_decrypt(uid, arg->remotename, NULL,
915 arg->deskey.deskeyarray_len, arg->remotename)); in __key_encrypt_3_svc()
935 arg->deskey.deskeyarray_len, arg->remotename)); in __key_decrypt_3_svc()
[all …]
H A Dsetkey.c1586 if (!getpublickey_g(arg->remotename, in pk_crypt3()
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Ddh_gssapi.h72 int (*key_encryptsessions)(const char *remotename,
86 int (*key_decryptsessions)(const char *remotename,
/illumos-gate/usr/src/cmd/cmd-inet/etc/ppp/
H A Dmyisp.tmpl46 remotename myisp # name of the ISP; for pap-secrets
H A Dchap-secrets36 # a peer name, and the "remotename <name>" option should then be used.
H A Dpap-secrets35 # authenticator name, so the "remotename <name>" option should be used.
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dheaders.c2157 name = remotename(name, mci->mci_mailer, flags, &status, e);
H A Dsendmail.h348 extern char *remotename __P((char *, MAILER *, int, int *, ENVELOPE *));
H A Dparseaddr.c2630 remotename(name, m, flags, pstat, e) in remotename() function
H A Dmain.c4397 p = remotename(q, m, tryflags, &rcode, CurEnv);
H A Ddeliver.c1393 rpath = remotename(p, m, RF_SENDERADDR|RF_CANONICAL, &rcode, e);