Home
last modified time | relevance | path

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

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c57 if (options->blobauth_len == 0) { in tpm2_key_encode()
282 tpm_buf_append_u16(&buf, 4 + options->blobauth_len + payload->key_len); in tpm2_seal_trusted()
284 tpm_buf_append_u16(&buf, options->blobauth_len); in tpm2_seal_trusted()
285 if (options->blobauth_len) in tpm2_seal_trusted()
286 tpm_buf_append(&buf, options->blobauth, options->blobauth_len); in tpm2_seal_trusted()
492 options->blobauth_len); in tpm2_unseal_cmd()
H A Dtrusted_tpm1.c793 opt->blobauth_len = strlen(args[0].from); in getoptions()
795 if (opt->blobauth_len == 2 * TPM_DIGEST_SIZE) { in getoptions()
801 opt->blobauth_len = TPM_DIGEST_SIZE; in getoptions()
805 if (tpm2 && opt->blobauth_len <= sizeof(opt->blobauth)) { in getoptions()
807 opt->blobauth_len); in getoptions()
/openbmc/linux/include/keys/
H A Dtrusted-type.h40 uint32_t blobauth_len; member