Searched refs:keyhandle (Results 1 – 6 of 6) sorted by relevance
/linux/security/keys/trusted-keys/ |
H A D | trusted_tpm1.c | 469 uint32_t keyhandle, const unsigned char *keyauth, in tpm_seal() argument 493 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal() 546 tpm_buf_append_u32(tb, keyhandle); in tpm_seal() 587 uint32_t keyhandle, const unsigned char *keyauth, in tpm_unseal() argument 637 tpm_buf_append_u32(tb, keyhandle); in tpm_unseal() 685 ret = tpm_seal(&tb, o->keytype, o->keyhandle, o->keyauth, in key_seal() 708 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal() 788 opt->keyhandle = handle; in getoptions() 894 options->keyhandle = SRKHANDLE; in trusted_options_alloc() 918 if (!options->keyhandle && !tpm2) { in trusted_tpm_seal() [all …]
|
H A D | trusted_tpm2.c | 80 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode() 132 options->keyhandle = ctx.parent; in tpm2_key_decode() 262 if (!options->keyhandle) in tpm2_seal_trusted() 286 tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted() 406 if (!options->keyhandle) in tpm2_load_cmd() 447 tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_load_cmd()
|
/linux/include/keys/ |
H A D | trusted-type.h | 38 uint32_t keyhandle; member
|
H A D | trusted_tpm.h | 56 pr_info("sealing key handle %0X\n", o->keyhandle); in dump_options()
|
/linux/drivers/char/tpm/ |
H A D | tpm2-sessions.c | 1073 u32 val, param_len, keyhandle; in tpm2_parse_create_primary() local 1075 keyhandle = tpm_buf_read_u32(buf, &offset_r); in tpm2_parse_create_primary() 1077 *handle = keyhandle; in tpm2_parse_create_primary() 1079 tpm2_flush_context(chip, keyhandle); in tpm2_parse_create_primary()
|
/linux/Documentation/security/keys/ |
H A D | trusted-encrypted.rst | 213 keyhandle= ascii hex value of sealing key 305 append 'keyhandle=0x81000001' to statements between quotes, such as 306 "new 32 keyhandle=0x81000001".
|