Lines Matching refs:secret
1381 char secret[MAXWORDLEN];
1425 if (scan_authfile(f, user, our_name, secret, &addrs, &opts, filename, 0) < 0) {
1432 int login_secret = strcmp(secret, "@login") == 0;
1445 if (secret[0] != 0 && !login_secret) {
1447 if (cryptpap || strcmp(passwd, secret) != 0) {
1448 char *cbuf = crypt(passwd, secret);
1449 if (!cbuf || strcmp(cbuf, secret) != 0)
1485 BZERO(secret, sizeof(secret));
1504 char secret[MAXWORDLEN]; local
1524 i = scan_authfile(f, "", our_name, secret, &addrs, &opts, filename, 0);
1525 ret = i >= 0 && secret[0] == 0;
1526 BZERO(secret, sizeof(secret));
1554 char secret[MAXWORDLEN]; local
1572 secret, NULL, NULL, filename, 0);
1577 strlcpy(passwd, secret, MAXSECRETLEN);
1578 BZERO(secret, sizeof(secret));
1720 get_secret(unit, client, server, secret, secret_len, am_server) in get_secret() argument
1724 char *secret;
1772 BCOPY(secbuf, secret, len);
1786 get_srp_secret(unit, client, server, secret, am_server) in get_srp_secret() argument
1790 char *secret;
1799 strlcpy(secret, passwd, MAXWORDLEN);
1811 secret[0] = '\0';
1812 ret = scan_authfile(fp, client, server, secret, &addrs, &opts,
2120 scan_authfile(f, client, server, secret, addrs, opts, filename, flags) in scan_authfile() argument
2124 char *secret;
2204 if (secret != NULL) {
2250 if (secret != NULL)
2251 strlcpy(secret, lsecret, MAXWORDLEN);