• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/usr.sbin/keyserv/

Lines Matching refs:uid

44  * Store secret keys per uid. Do public key encryption and decryption
357 key_set_1_svc_prog(uid, key)
358 uid_t uid;
364 (void) fprintf(stderr, "set(%u, %.*s) = ", uid,
367 status = pk_setkey(uid, key);
376 key_encrypt_pk_2_svc_prog(uid, arg)
377 uid_t uid;
383 (void) fprintf(stderr, "encrypt(%u, %s, %08x%08x) = ", uid,
388 res.status = pk_encrypt(uid, arg->remotename, &(arg->remotekey),
404 key_decrypt_pk_2_svc_prog(uid, arg)
405 uid_t uid;
411 (void) fprintf(stderr, "decrypt(%u, %s, %08x%08x) = ", uid,
416 res.status = pk_decrypt(uid, arg->remotename, &(arg->remotekey),
432 key_net_put_2_svc_prog(uid, arg)
433 uid_t uid;
445 status = pk_netput(uid, arg);
456 key_net_get_2_svc_prog(uid, arg)
457 uid_t uid;
463 (void) fprintf(stderr, "net_get(%u) = ", uid);
465 keynetname.status = pk_netget(uid, &keynetname.key_netstres_u.knet);
485 key_get_conv_2_svc_prog(uid, arg)
486 uid_t uid;
492 (void) fprintf(stderr, "get_conv(%u, %.*s) = ", uid,
496 res.status = pk_get_conv_key(uid, arg, &res);
513 key_encrypt_1_svc_prog(uid, arg)
514 uid_t uid;
520 (void) fprintf(stderr, "encrypt(%u, %s, %08x%08x) = ", uid,
525 res.status = pk_encrypt(uid, arg->remotename, NULL,
541 key_decrypt_1_svc_prog(uid, arg)
542 uid_t uid;
548 (void) fprintf(stderr, "decrypt(%u, %s, %08x%08x) = ", uid,
553 res.status = pk_decrypt(uid, arg->remotename, NULL,
594 key_getcred_1_svc_prog(uid, name)
595 uid_t uid;
604 if (!netname2user(*name, (uid_t *) &cred->uid, (gid_t *) &cred->gid,
613 (void) fprintf(stderr, "uid=%d, gid=%d, grouplen=%d\n",
614 cred->uid, cred->gid, cred->gids.gids_len);
647 uid_t uid = -1;
747 uid = ((struct authsys_parms *)rqstp->rq_clntcred)->aup_uid;
755 result = (*local) (uid, &argument);
775 uid_t uid;
785 if (__rpc_get_local_uid(trans, &uid) < 0) {
792 fprintf(stderr, "local_uid %u\n", uid);
793 if (uid == 0)
798 == uid) {
803 "local_uid %u mismatches auth %u\n", uid,