pk_encrypt
res.status = pk_encrypt(uid, arg->remotename, &(arg->remotekey),
res.status = pk_encrypt(uid, arg->remotename, NULL,
extern keystatus pk_encrypt( uid_t, char *, netobj *, des_block * );