Home
last modified time | relevance | path

Searched refs:keyhandle (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/security/keys/trusted-keys/
H A Dtrusted_tpm2.c80 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
132 options->keyhandle = ctx.parent; in tpm2_key_decode()
261 if (!options->keyhandle) in tpm2_seal_trusted()
274 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
394 if (!options->keyhandle) in tpm2_load_cmd()
429 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_load_cmd()
H A Dtrusted_tpm1.c458 uint32_t keyhandle, const unsigned char *keyauth, in tpm_seal() argument
482 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal()
535 tpm_buf_append_u32(tb, keyhandle); in tpm_seal()
576 uint32_t keyhandle, const unsigned char *keyauth, in tpm_unseal() argument
626 tpm_buf_append_u32(tb, keyhandle); in tpm_unseal()
674 ret = tpm_seal(&tb, o->keytype, o->keyhandle, o->keyauth, in key_seal()
697 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
777 opt->keyhandle = handle; in getoptions()
883 options->keyhandle = SRKHANDLE; in trusted_options_alloc()
907 if (!options->keyhandle && !tpm2) { in trusted_tpm_seal()
[all …]
/openbmc/linux/include/keys/
H A Dtrusted-type.h38 uint32_t keyhandle; member
H A Dtrusted_tpm.h58 pr_info("sealing key handle %0X\n", o->keyhandle); in dump_options()
/openbmc/linux/Documentation/security/keys/
H A Dtrusted-encrypted.rst182 keyhandle= ascii hex value of sealing key
261 append 'keyhandle=0x81000001' to statements between quotes, such as
262 "new 32 keyhandle=0x81000001".