Home
last modified time | relevance | path

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

/Linux-v5.4/crypto/asymmetric_keys/
Dasym_tpm.c35 uint32_t keyhandle, unsigned char *keyauth, in tpm_loadkey2() argument
75 store32(tb, keyhandle); in tpm_loadkey2()
119 uint32_t keyhandle, unsigned char *keyauth, in tpm_unbind() argument
162 store32(tb, keyhandle); in tpm_unbind()
205 uint32_t keyhandle, unsigned char *keyauth, in tpm_sign() argument
248 store32(tb, keyhandle); in tpm_sign()
523 uint32_t keyhandle; in tpm_key_decrypt() local
544 tk->blob, tk->blob_len, &keyhandle); in tpm_key_decrypt()
553 r = tpm_unbind(tb, keyhandle, keyauth, in tpm_key_decrypt()
558 if (tpm_flushspecific(tb, keyhandle) < 0) in tpm_key_decrypt()
[all …]
/Linux-v5.4/security/keys/
Dtrusted.c468 uint32_t keyhandle, const unsigned char *keyauth, in tpm_seal() argument
492 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal()
542 store32(tb, keyhandle); in tpm_seal()
583 uint32_t keyhandle, const unsigned char *keyauth, in tpm_unseal() argument
635 store32(tb, keyhandle); in tpm_unseal()
683 ret = tpm_seal(tb, o->keytype, o->keyhandle, o->keyauth, in key_seal()
706 ret = tpm_unseal(tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal()
787 opt->keyhandle = handle; in getoptions()
938 options->keyhandle = SRKHANDLE; in trusted_options_alloc()
1008 if (!options->keyhandle) { in trusted_instantiate()
[all …]
/Linux-v5.4/include/keys/
Dtrusted-type.h31 uint32_t keyhandle; member
Dtrusted.h57 pr_info("trusted_key: sealing key handle %0X\n", o->keyhandle); in dump_options()
/Linux-v5.4/Documentation/security/keys/
Dtrusted-encrypted.rst56 keyhandle= ascii hex value of sealing key
113 append 'keyhandle=0x81000001' to statements between quotes, such as
114 "new 32 keyhandle=0x81000001".
/Linux-v5.4/drivers/char/tpm/
Dtpm2-cmd.c443 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_seal_trusted()
557 tpm_buf_append_u32(&buf, options->keyhandle); in tpm2_load_cmd()