Home
last modified time | relevance | path

Searched refs:pw_sz (Results 1 – 4 of 4) sorted by relevance

/u-boot/lib/
A Dtpm-v2.c48 const ssize_t pw_sz) in tpm2_clear() argument
52 tpm_u32(27 + pw_sz), /* Length */ in tpm2_clear()
75 offset, pw, pw_sz); in tpm2_clear()
76 offset += pw_sz; in tpm2_clear()
224 offset, pw, pw_sz); in tpm2_dam_reset()
225 offset += pw_sz; in tpm2_dam_reset()
270 offset, pw, pw_sz, in tpm2_dam_parameters()
274 offset += pw_sz + 12; in tpm2_dam_parameters()
368 offset, pw, pw_sz, in tpm2_pcr_setauthpolicy()
417 offset, pw, pw_sz, in tpm2_pcr_setauthvalue()
[all …]
/u-boot/cmd/
A Dtpm-v2.c71 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm2_clear() local
82 if (pw_sz > TPM2_DIGEST_LEN) in do_tpm2_clear()
92 return report_return_code(tpm2_clear(dev, handle, pw, pw_sz)); in do_tpm2_clear()
212 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_reset() local
223 if (pw_sz > TPM2_DIGEST_LEN) in do_tpm_dam_reset()
226 return report_return_code(tpm2_dam_reset(dev, pw, pw_sz)); in do_tpm_dam_reset()
233 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_dam_parameters() local
251 if (pw_sz > TPM2_DIGEST_LEN) in do_tpm_dam_parameters()
315 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthpolicy() local
340 const ssize_t pw_sz = pw ? strlen(pw) : 0; in do_tpm_pcr_setauthvalue() local
[all …]
/u-boot/drivers/tpm/
A Dtpm2_tis_sandbox.c55 int pw_sz[TPM2_HIERARCHY_NB]; member
75 u16 nonce_sz, pw_sz; in sandbox_tpm2_check_session() local
157 pw_sz = get_unaligned_be16(*auth); in sandbox_tpm2_check_session()
158 *auth += sizeof(pw_sz); in sandbox_tpm2_check_session()
166 if (!pw_sz && !tpm->pw_sz[*hierarchy]) in sandbox_tpm2_check_session()
170 if (pw_sz > TPM2_DIGEST_LEN) { in sandbox_tpm2_check_session()
177 *auth += pw_sz; in sandbox_tpm2_check_session()
180 if (pw_sz != tpm->pw_sz[*hierarchy] || in sandbox_tpm2_check_session()
344 tpm->pw_sz[hierarchy] = 0; in sandbox_tpm2_xfer()
349 tpm->pw_sz[i] = 0; in sandbox_tpm2_xfer()
[all …]
/u-boot/include/
A Dtpm-v2.h389 const ssize_t pw_sz);
443 u32 tpm2_dam_reset(struct udevice *dev, const char *pw, const ssize_t pw_sz);
458 const ssize_t pw_sz, unsigned int max_tries,
490 const ssize_t pw_sz, u32 index, const char *key);
505 const ssize_t pw_sz, u32 index, const char *key,

Completed in 9 milliseconds