Home
last modified time | relevance | path

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

/Linux-v5.15/crypto/asymmetric_keys/
Dasym_tpm.c31 uint32_t keyhandle, unsigned char *keyauth, in tpm_loadkey2() argument
68 tpm_buf_append_u32(tb, keyhandle); in tpm_loadkey2()
109 uint32_t keyhandle, unsigned char *keyauth, in tpm_unbind() argument
149 tpm_buf_append_u32(tb, keyhandle); in tpm_unbind()
192 uint32_t keyhandle, unsigned char *keyauth, in tpm_sign() argument
232 tpm_buf_append_u32(tb, keyhandle); in tpm_sign()
508 uint32_t keyhandle; in tpm_key_decrypt() local
529 tk->blob, tk->blob_len, &keyhandle); in tpm_key_decrypt()
538 r = tpm_unbind(&tb, keyhandle, keyauth, in tpm_key_decrypt()
543 if (tpm_flushspecific(&tb, keyhandle) < 0) in tpm_key_decrypt()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/Documentation/security/keys/
Dtrusted-encrypted.rst152 keyhandle= ascii hex value of sealing key
216 append 'keyhandle=0x81000001' to statements between quotes, such as
217 "new 32 keyhandle=0x81000001".