Searched refs:keyhandle (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/include/keys/
H A Dtrusted-type.h33 uint32_t keyhandle; member in struct:trusted_key_options
/linux-4.4.14/security/keys/
H A Dtrusted.h44 pr_info("trusted_key: sealing key handle %0X\n", o->keyhandle); dump_options()
H A Dtrusted.c459 uint32_t keyhandle, const unsigned char *keyauth, tpm_seal()
483 ret = osap(tb, &sess, keyauth, keytype, keyhandle); tpm_seal()
533 store32(tb, keyhandle); tpm_seal()
574 uint32_t keyhandle, const unsigned char *keyauth, tpm_unseal()
626 store32(tb, keyhandle); tpm_unseal()
674 ret = tpm_seal(tb, o->keytype, o->keyhandle, o->keyauth, key_seal()
697 ret = tpm_unseal(tb, o->keyhandle, o->keyauth, p->blob, p->blob_len, key_unseal()
720 {Opt_keyhandle, "keyhandle=%s"},
760 opt->keyhandle = handle; getoptions()
877 options->keyhandle = SRKHANDLE; trusted_options_alloc()
947 if (!options->keyhandle) { trusted_instantiate()
1048 if (!new_o->keyhandle) { trusted_update()
458 tpm_seal(struct tpm_buf *tb, uint16_t keytype, uint32_t keyhandle, const unsigned char *keyauth, const unsigned char *data, uint32_t datalen, unsigned char *blob, uint32_t *bloblen, const unsigned char *blobauth, const unsigned char *pcrinfo, uint32_t pcrinfosize) tpm_seal() argument
573 tpm_unseal(struct tpm_buf *tb, uint32_t keyhandle, const unsigned char *keyauth, const unsigned char *blob, int bloblen, const unsigned char *blobauth, unsigned char *data, unsigned int *datalen) tpm_unseal() argument
/linux-4.4.14/drivers/char/tpm/
H A Dtpm2-cmd.c438 tpm_buf_append_u32(&buf, options->keyhandle); tpm2_seal_trusted()
521 tpm_buf_append_u32(&buf, options->keyhandle); tpm2_load()

Completed in 88 milliseconds