Searched refs:keyhandle (Results 1 – 2 of 2) sorted by relevance
| /security/keys/trusted-keys/ |
| 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 …]
|
| 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()
|
Completed in 6 milliseconds