Home
last modified time | relevance | path

Searched refs:oldpw_sz (Results 1 – 3 of 3) sorted by relevance

/openbmc/u-boot/cmd/
H A Dtpm-v2.c281 const ssize_t oldpw_sz = oldpw ? strlen(oldpw) : 0; in do_tpm_change_auth() local
292 if (newpw_sz > TPM2_DIGEST_LEN || oldpw_sz > TPM2_DIGEST_LEN) in do_tpm_change_auth()
307 oldpw, oldpw_sz)); in do_tpm_change_auth()
/openbmc/u-boot/lib/
H A Dtpm-v2.c1270 const ssize_t oldpw_sz) in tpm2_change_auth() argument
1275 tpm_u32(offset + oldpw_sz + 2 + newpw_sz), /* Length */ in tpm2_change_auth()
1282 tpm_u32(9 + oldpw_sz), /* Authorization size */ in tpm2_change_auth()
1287 tpm_u16(oldpw_sz) /* Size of <hmac/password> */ in tpm2_change_auth()
1303 offset, oldpw, oldpw_sz, in tpm2_change_auth()
1304 offset + oldpw_sz, newpw_sz, in tpm2_change_auth()
1305 offset + oldpw_sz + 2, newpw, newpw_sz); in tpm2_change_auth()
1306 offset += oldpw_sz + 2 + newpw_sz; in tpm2_change_auth()
/openbmc/u-boot/include/
H A Dtpm-v2.h844 const ssize_t oldpw_sz);