Lines Matching refs:password
159 u_int8_t password[32];
2461 /* pwd->password may not be null terminated */
2462 char pass[sizeof(pwd->password)+1];
2464 strlcpy(pass, pwd->password, sizeof(pass));
2465 printf(" password='%s', user='%s'",
2704 printf("master password rev %04x%s\n",
2711 * Validates and copies the password in optarg to the passed buffer.
2712 * If the password in optarg is the same length as the buffer then
2722 warnx("-%c password is too long", opt);
2725 warnx("-%c password is missing", opt);
2728 warnx("-%c password starts with '-' (generic arg?)", opt);
2731 warnx("-%c password conflicts with existing password from -%c",
2806 pwdsize = sizeof(pwd.password);
2817 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
2831 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
2952 printf("HPA password has been set\n");
3136 pwdsize = sizeof(pwd.password);
3174 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
3181 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
3188 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
3195 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
3203 if (ata_getpwd(pwd.password, pwdsize, c) != 0)
3269 /* first set the password if requested */
3271 /* confirm we can erase before setting the password if erasing */
10159 "-d pwd disable security using the given password for the selected\n"
10169 "-s pwd password the device (enable security) using the given\n"
10178 "-p pwd Set the HPA configuration password required for unlock\n"