Searched refs:keyhandle (Results 1 – 3 of 3) sorted by relevance
| /linux/security/keys/trusted-keys/ |
| H A D | trusted_tpm1.c | 55 pr_info("sealing key handle %0X\n", o->keyhandle); in dump_options() 424 uint32_t keyhandle, const unsigned char *keyauth, in tpm_seal() argument 448 ret = osap(tb, &sess, keyauth, keytype, keyhandle); in tpm_seal() 499 tpm_buf_append_u32(tb, keyhandle); in tpm_seal() 540 uint32_t keyhandle, const unsigned char *keyauth, in tpm_unseal() argument 590 tpm_buf_append_u32(tb, keyhandle); in tpm_unseal() 638 ret = tpm_seal(&tb, o->keytype, o->keyhandle, o->keyauth, in key_seal() 661 ret = tpm_unseal(&tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, in key_unseal() 741 opt->keyhandle = handle; in getoptions() 847 options->keyhandle = SRKHANDLE; in trusted_options_alloc() [all …]
|
| H A D | trusted_tpm2.c | 72 work = asn1_encode_integer(work, end_work, options->keyhandle); in tpm2_key_encode() 124 options->keyhandle = ctx.parent; in tpm2_key_decode() 247 if (!options->keyhandle) in tpm2_seal_trusted() 271 rc = tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_seal_trusted() 395 if (!options->keyhandle) in tpm2_load_cmd() 436 rc = tpm_buf_append_name(chip, &buf, options->keyhandle, NULL); in tpm2_load_cmd()
|
| /linux/drivers/char/tpm/ |
| H A D | tpm2-sessions.c | 1086 u32 val, param_len, keyhandle; in tpm2_parse_create_primary() local 1088 keyhandle = tpm_buf_read_u32(buf, &offset_r); in tpm2_parse_create_primary() 1090 *handle = keyhandle; in tpm2_parse_create_primary() 1092 tpm2_flush_context(chip, keyhandle); in tpm2_parse_create_primary()
|