Home
last modified time | relevance | path

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

/linux-5.19.10/security/keys/trusted-keys/
Dtrusted_tpm2.c75 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode()
119 options->keyhandle = ctx.parent; in tpm2_key_decode()
248 if (!options->keyhandle) in tpm2_seal_trusted()
261 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
381 if (!options->keyhandle) in tpm2_load_cmd()
416 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_load_cmd()
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 …]
/linux-5.19.10/include/keys/
Dtrusted-type.h38 uint32_t keyhandle; member
Dtrusted_tpm.h58 pr_info("sealing key handle %0X\n", o->keyhandle); in dump_options()
/linux-5.19.10/Documentation/security/keys/
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".