| /src/crypto/external/bsd/netpgp/dist/bindings/python/ |
| netpgp.py | 12 userid = _netpgppython.netpgp_getvar(n, "userid") variable 13 _netpgppython.netpgp_sign_file(n, userid, "a", "a.gpg", 0, 0, 0)
|
| /src/external/bsd/top/dist/ |
| username.c | 138 userid(char *xusername) function
|
| /src/crypto/external/bsd/netpgp/dist/src/lib/ |
| validate.h | 67 uint8_t *userid; member in struct:__anon1056
|
| ssh2pgp.c | 212 uint8_t *userid; local 313 (void) memset(&userid, 0x0, sizeof(userid)); 323 (void) pgp_asprintf((char **)(void *)&userid, 329 pgp_add_userid(key, userid); 331 free(userid);
|
| netpgp.c | 89 conffile(netpgp_t *netpgp, char *homedir, char *userid, size_t length) 106 (void) memcpy(userid, &buf[(int)matchv[1].rm_so], 122 /* small function to pretty print an 8-character raw userid */ 124 userid_to_id(const uint8_t *userid, char *id) 130 id[i * 2] = hexes[(unsigned)(userid[i] & 0xf0) >> 4]; 131 id[(i * 2) + 1] = hexes[userid[i] & 0xf]; 515 /* resolve the userid */ 517 resolve_userid(netpgp_t *netpgp, const pgp_keyring_t *keyring, const char *userid) 522 if (userid == NULL) { 523 userid = netpgp_getvar(netpgp, "userid") 801 char *userid; local [all...] |
| packet.h | 577 * no place on a UserID). 851 uint8_t *userid; member in union:__anon1042 963 uint8_t **userid; member in struct:__anon1045 976 uint32_t uid; /* index in userid array in key */
|
| /src/crypto/external/bsd/netpgp/dist/src/libpaa/ |
| libpaa.h | 61 const char *userid; /* identity to be used for signature */ member in struct:paa_response_t 71 char userid[32]; /* verified identity */ member in struct:paa_identity_t
|
| /src/usr.bin/rdist/ |
| main.c | 77 uid_t userid; /* user's user ID */ variable 94 pw = getpwuid(userid = getuid()); 200 seteuid(userid);
|
| /src/crypto/external/bsd/openssh/dist/ |
| ssh-sk-client.c | 312 const char *application, const char *userid, uint8_t flags, 338 (r = sshbuf_put_cstring(req, userid)) != 0 || 417 u_char *userid = NULL; local 444 (r = sshbuf_get_string(resp, &userid, &userid_len)) != 0) { 460 srk->user_id = userid; 462 userid = NULL; 488 freezero(userid, userid_len);
|
| ssh-sk-helper.c | 171 char *provider, *application, *pin, *device, *userid; local 184 (r = sshbuf_get_cstring(req, &userid, NULL)) != 0 || 199 null_empty(&userid); 202 if ((r = sshsk_enroll((int)type, provider, device, application, userid,
|
| scp.c | 402 uid_t userid; variable 603 if ((pwd = getpwuid(userid = getuid())) == NULL) 604 fatal("unknown user %u", (u_int) userid);
|
| /src/games/larn/ |
| main.c | 44 int userid; /* the players login user id number */ variable 239 userid = geteuid(); /* obtain the user's effective id number */ 241 userid = getplid(logname); /* obtain the players id number */ 243 if (userid < 0) { 843 if (userid != wisid) {
|
| /src/usr.sbin/lpr/lpr/ |
| lpr.c | 100 static int userid; /* user id */ variable 270 userid = getuid(); 271 if (userid != DU || person == 0) { 272 if ((pw = getpwuid(userid)) == NULL) 279 if (RG != NULL && userid != DU) { 295 * Check to make sure queuing is enabled if userid is not root. 298 if (userid && stat(buf, &stb) == 0 && (stb.st_mode & S_IXGRP)) 550 if (fchown(f, userid, -1) < 0) {
|
| /src/external/bsd/am-utils/dist/hlfsd/ |
| stubs.c | 308 uid_t userid = (uid_t) INVALIDID; local 318 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) 326 } else if (!(res.rlr_u.rlr_data_u = path_val = homedir(userid, groupid))) { 337 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) { 344 userid = xuserid; 346 if (!(res.rlr_u.rlr_data_u = mailbox(userid, username))) 354 if (userid != last_uid) { 356 (long) userid, (long) groupid, (char *) res.rlr_u.rlr_data_u); 357 last_uid = userid;
|
| /src/external/bsd/pam-u2f/dist/pamu2fcfg/ |
| pamu2fcfg.c | 56 unsigned char userid[32]; local 133 if (!random_bytes(userid, sizeof(userid))) { 141 for (size_t i = 0; i < sizeof(userid); i++) 142 fprintf(stderr, "%02x", userid[i]); 146 if ((r = fido_cred_set_user(cred, userid, sizeof(userid), user, user,
|
| /src/bin/rcp/ |
| rcp.c | 77 uid_t userid; variable 150 if ((pwd = getpwuid(userid = getuid())) == NULL) 151 errx(1, "unknown user %d", (int)userid);
|
| /src/crypto/external/bsd/netpgp/dist/src/libverify/ |
| verify.h | 197 pgpv_string_t userid; member in union:pgpv_pkt_t::__anon1075 215 pgpv_string_t userid; member in struct:pgpv_signed_userid_t
|
| libverify.c | 1150 pkt.u.userid.size = pkt.s.size; 1151 pkt.u.userid.data = pkt.s.data; 1222 recog_userid(pgpv_t *pgp, pgpv_signed_userid_t *userid) 1227 memset(userid, 0x0, sizeof(*userid)); 1233 userid->userid.size = pkt->s.size; 1234 userid->userid.data = pkt->s.data; 1241 ARRAY_APPEND(userid->sigs, signature) 1381 pgpv_signed_userid_t *userid; local 1953 pgpv_signed_userid_t userid; local [all...] |
| /src/crypto/external/bsd/openssl.old/dist/test/ |
| sslapitest.c | 5257 static int create_new_vfile(char *userid, char *password, const char *filename) 5269 gNid = SRP_create_verifier(userid, password, &row[DB_srpsalt], 5286 row[DB_srpid] = OPENSSL_strdup(userid); 5315 static int create_new_vbase(char *userid, char *password) 5326 if (!TEST_true(SRP_create_verifier_BN(userid, password, &salt, &verifier, 5336 user_pwd->id = OPENSSL_strdup(userid); 5370 char *userid = "test", *password = "password", *tstsrpfile; local 5380 if (!TEST_true(create_new_vbase(userid, password))) 5384 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 5403 || !TEST_int_gt(SSL_CTX_set_srp_username(cctx, userid), 0) [all...] |
| /src/crypto/external/bsd/netpgp/dist/src/netpgpverify/ |
| libverify.c | 221 pgpv_string_t userid; member in union:pgpv_pkt_t::__anon1081 239 pgpv_string_t userid; member in struct:pgpv_signed_userid_t 1544 pkt.u.userid.size = pkt.s.size; 1545 pkt.u.userid.data = pkt.s.data; 1546 pkt.u.userid.allocated = 0; 1617 recog_userid(pgpv_t *pgp, pgpv_signed_userid_t *userid) 1622 memset(userid, 0x0, sizeof(*userid)); 1628 userid->userid.size = pkt->s.size 1794 pgpv_signed_userid_t *userid; local 1822 pgpv_signed_userid_t *userid; local 2456 pgpv_signed_userid_t userid; local 2628 pgpv_signed_userid_t userid; local [all...] |
| /src/crypto/external/bsd/openssl/dist/test/ |
| sslapitest.c | 7154 static int create_new_vfile(char *userid, char *password, const char *filename) 7166 gNid = SRP_create_verifier_ex(userid, password, &row[DB_srpsalt], 7183 row[DB_srpid] = OPENSSL_strdup(userid); 7212 static int create_new_vbase(char *userid, char *password) 7223 if (!TEST_true(SRP_create_verifier_BN_ex(userid, password, &salt, &verifier, 7233 user_pwd->id = OPENSSL_strdup(userid); 7267 char *userid = "test", *password = "password", *tstsrpfile; local 7277 if (!TEST_true(create_new_vbase(userid, password))) 7281 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 7300 || !TEST_int_gt(SSL_CTX_set_srp_username(cctx, userid), 0) [all...] |
| /src/crypto/external/apache2/openssl/dist/test/ |
| sslapitest.c | 7749 static int create_new_vfile(char *userid, char *password, const char *filename) 7761 gNid = SRP_create_verifier_ex(userid, password, &row[DB_srpsalt], 7778 row[DB_srpid] = OPENSSL_strdup(userid); 7807 static int create_new_vbase(char *userid, char *password) 7818 if (!TEST_true(SRP_create_verifier_BN_ex(userid, password, &salt, &verifier, 7828 user_pwd->id = OPENSSL_strdup(userid); 7862 char *userid = "test", *password = "password", *tstsrpfile; local 7872 if (!TEST_true(create_new_vbase(userid, password))) 7876 if (!TEST_true(create_new_vfile(userid, password, tmpfilename))) 7895 || !TEST_int_gt(SSL_CTX_set_srp_username(cctx, userid), 0) [all...] |