Lines Matching refs:pw
59 const char *pw = (argc < 3) ? NULL : argv[2]; in do_tpm2_clear() local
60 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm2_clear()
75 return report_return_code(tpm2_clear(handle, pw, pw_sz)); in do_tpm2_clear()
187 const char *pw = (argc < 2) ? NULL : argv[1]; in do_tpm_dam_reset() local
188 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_reset()
196 return report_return_code(tpm2_dam_reset(pw, pw_sz)); in do_tpm_dam_reset()
202 const char *pw = (argc < 5) ? NULL : argv[4]; in do_tpm_dam_parameters() local
203 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_parameters()
232 return report_return_code(tpm2_dam_parameters(pw, pw_sz, max_tries, in do_tpm_dam_parameters()
272 const char *pw = (argc < 4) ? NULL : argv[3]; in do_tpm_pcr_setauthpolicy() local
273 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthpolicy()
281 return report_return_code(tpm2_pcr_setauthpolicy(pw, pw_sz, index, in do_tpm_pcr_setauthpolicy()
291 const char *pw = (argc < 4) ? NULL : argv[3]; in do_tpm_pcr_setauthvalue() local
292 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthvalue()
300 return report_return_code(tpm2_pcr_setauthvalue(pw, pw_sz, index, in do_tpm_pcr_setauthvalue()