Home
last modified time | relevance | path

Searched refs:TPM_RESULT (Results 1 – 23 of 23) sorted by relevance

/xen-4.10.0-shim-comet/stubdom/vtpmmgr/
A Dtpm.h49 TPM_RESULT TPM_OIAP(
53 TPM_RESULT TPM_OSAP (
60 TPM_RESULT TPM_TakeOwnership(
89 TPM_RESULT TPM_Seal(
101 TPM_RESULT TPM_Unseal (
112 TPM_RESULT TPM_LoadKey (
128 TPM_RESULT TPM_ReadPubek (
132 TPM_RESULT TPM_GetCapability(
146 TPM_RESULT TPM_MakeIdentity(
168 TPM_RESULT TPM_Quote(
[all …]
A Dvtpmmgr.h99 TPM_RESULT vtpmmgr_init(int argc, char** argv);
102 TPM_RESULT vtpmmgr_handle_cmd(struct tpm_opaque *opq, tpmcmd_t* tpmcmd);
104 inline TPM_RESULT vtpmmgr_rand(unsigned char* bytes, size_t num_bytes) { in vtpmmgr_rand()
111 TPM_RESULT vtpmmgr2_create(void);
112 TPM_RESULT vtpmmgr2_init(int argc, char** argv);
A Dtpm.c56 TPM_RESULT status = TPM_SUCCESS; \
360 TPM_RESULT TPM_TakeOwnership( in TPM_TakeOwnership()
493 TPM_RESULT TPM_Seal( in TPM_Seal()
533 TPM_RESULT TPM_Unseal( in TPM_Unseal()
564 TPM_RESULT TPM_LoadKey( in TPM_LoadKey()
627 TPM_RESULT TPM_ReadPubek( in TPM_ReadPubek()
685 TPM_RESULT TPM_SaveState(void) in TPM_SaveState()
695 TPM_RESULT TPM_GetCapability( in TPM_GetCapability()
766 TPM_RESULT TPM_MakeIdentity( in TPM_MakeIdentity()
829 TPM_RESULT TPM_Quote( in TPM_Quote()
[all …]
A Dvtpm_cmd_handler.c102 TPM_RESULT rc; in find_vtpm_verified()
134 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_SaveHashKey()
187 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_LoadHashKey()
215 TPM_RESULT status = TPM_SUCCESS; \
318 static TPM_RESULT vtpmmgr_GroupNew(tpmcmd_t* tpmcmd) in vtpmmgr_GroupNew()
358 static TPM_RESULT vtpmmgr_GroupDel(tpmcmd_t* tpmcmd) in vtpmmgr_GroupDel()
590 TPM_RESULT rc; in vtpmmgr_GroupUpdate()
711 static TPM_RESULT vtpmmgr_VtpmNew(tpmcmd_t* tpmcmd) in vtpmmgr_VtpmNew()
740 static TPM_RESULT vtpmmgr_VtpmDel(tpmcmd_t* tpmcmd) in vtpmmgr_VtpmDel()
775 TPM_RESULT vtpmmgr_handle_cmd( in vtpmmgr_handle_cmd()
[all …]
A Dinit.c86 TPM_RESULT status; in check_tpm_version()
125 static TPM_RESULT flush_tpm(void) { in flush_tpm()
126 TPM_RESULT status = TPM_SUCCESS; in flush_tpm()
169 TPM_RESULT status = TPM_SUCCESS; in try_take_ownership()
350 static TPM_RESULT vtpmmgr_create(void) { in vtpmmgr_create()
351 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_create()
405 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr_init()
585 TPM_RESULT vtpmmgr2_create(void) in vtpmmgr2_create()
587 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr2_create()
672 TPM_RESULT status = TPM_SUCCESS; in vtpmmgr2_init()
[all …]
A Dtpmrsa.c59 static TPM_RESULT tpmrsa_public( tpmrsa_context *ctx, in tpmrsa_public()
95 TPM_RESULT tpmrsa_sigcheck(tpmrsa_context *ctx, const unsigned char *input, const unsigned char *sh… in tpmrsa_sigcheck()
98 TPM_RESULT rv; in tpmrsa_sigcheck()
151 TPM_RESULT tpmrsa_pub_encrypt_oaep( tpmrsa_context *ctx, in tpmrsa_pub_encrypt_oaep()
A Dtpmrsa.h54 TPM_RESULT tpmrsa_sigcheck(tpmrsa_context *ctx, const unsigned char *input, const unsigned char *sh…
57 TPM_RESULT tpmrsa_pub_encrypt_oaep( tpmrsa_context *ctx,
A Dlog.c53 TPM_RESULT code;
143 const char* tpm_get_error_name (TPM_RESULT code) { in tpm_get_error_name()
A Dlog.h85 const char* tpm_get_error_name (TPM_RESULT code);
A Dtpm2.h98 TPM_RESULT TPM2_GetRandom(UINT32* bytesRequested,
A Ddisk_tpm.c151 TPM_RESULT status = TPM_SUCCESS; in TPM2_disk_bind()
165 TPM_RESULT status = TPM_SUCCESS; in TPM2_disk_unbind()
A Dmgmt_authority.c59 TPM_RESULT rc; in do_provision_aik()
A Dtpm2.c64 TPM_RESULT status = TPM_SUCCESS;\
A Dtcg.h405 typedef UINT32 TPM_RESULT; typedef
/xen-4.10.0-shim-comet/stubdom/vtpm/
A Dvtpm_cmd.h21 int create_error_response(tpmcmd_t* tpmcmd, TPM_RESULT errorcode);
23 TPM_RESULT VTPM_GetRandom(struct tpmfront_dev* tpmfront_dev, BYTE* bytes, UINT32* numbytes);
25 TPM_RESULT VTPM_LoadHashKey(struct tpmfront_dev* tpmfront_dev, uint8_t** data, size_t* data_length);
27 TPM_RESULT VTPM_SaveHashKey(struct tpmfront_dev* tpmfront_dev, uint8_t* data, size_t data_length);
29 TPM_RESULT VTPM_PCRRead(struct tpmfront_dev* tpmfront_dev, UINT32 pcrIndex, BYTE* outDigest);
A Dvtpm_cmd.c66 int create_error_response(tpmcmd_t* tpmcmd, TPM_RESULT errorcode) in create_error_response()
95 TPM_RESULT VTPM_GetRandom(struct tpmfront_dev* tpmfront_dev, BYTE* bytes, UINT32 *numbytes) { in VTPM_GetRandom()
96 TPM_RESULT status = TPM_SUCCESS; in VTPM_GetRandom()
137 TPM_RESULT VTPM_LoadHashKey(struct tpmfront_dev* tpmfront_dev, uint8_t** data, size_t* data_length) in VTPM_LoadHashKey()
139 TPM_RESULT status = TPM_SUCCESS; in VTPM_LoadHashKey()
181 TPM_RESULT VTPM_SaveHashKey(struct tpmfront_dev* tpmfront_dev, uint8_t* data, size_t data_length) in VTPM_SaveHashKey()
183 TPM_RESULT status = TPM_SUCCESS; in VTPM_SaveHashKey()
221 TPM_RESULT VTPM_GetParentQuote(TPM_NONCE *data, TPM_PCR_SELECTION *sel, in VTPM_GetParentQuote()
224 TPM_RESULT status = TPM_SUCCESS; in VTPM_GetParentQuote()
266 TPM_RESULT VTPM_PCRRead(struct tpmfront_dev* tpmfront_dev, UINT32 pcrIndex, BYTE* outDigest) in VTPM_PCRRead()
[all …]
A Dvtpm_pcrs.c27 TPM_RESULT vtpm_initialize_hw_pcrs(struct tpmfront_dev* tpmfront_dev, unsigned long pcrs) in vtpm_initialize_hw_pcrs()
29 TPM_RESULT rc = TPM_SUCCESS; in vtpm_initialize_hw_pcrs()
A Dvtpm_pcrs.h50 TPM_RESULT vtpm_initialize_hw_pcrs(struct tpmfront_dev* tpmfront_dev, unsigned long pcrs);
A Dvtpm.c105 TPM_RESULT rc = VTPM_GetRandom(tpmfront_dev, data, &sz); in tpm_entropy_source()
/xen-4.10.0-shim-comet/stubdom/
A Dvtpm-deepquote-anyloc.patch5 @@ -3347,12 +3347,13 @@ static TPM_RESULT execute_TPM_DeepQuote(TPM_REQUEST *req, TPM_RESPONSE *rsp)
8 TPM_RESULT res;
21 @@ -3361,17 +3362,19 @@ static TPM_RESULT execute_TPM_DeepQuote(TPM_REQUEST *req, TPM_RESPONSE *rsp)
49 @@ -3077,6 +3077,7 @@ TPM_RESULT TPM_ParentSignEK(
57 @@ -3086,6 +3087,7 @@ TPM_RESULT TPM_DeepQuote(
74 +TPM_RESULT VTPM_GetParentQuote(TPM_NONCE *data, TPM_PCR_SELECTION *sel,
77 TPM_RESULT TPM_ParentSignEK(TPM_NONCE *externalData, TPM_PCR_SELECTION *sel,
81 TPM_RESULT res;
99 TPM_RESULT TPM_DeepQuote(TPM_NONCE *externalData, TPM_PCR_SELECTION *myPCR,
104 TPM_RESULT res;
[all …]
A Dvtpm-parent-sign-ek.patch5 @@ -3312,6 +3312,37 @@ static TPM_RESULT execute_TPM_OwnerReadPubek(TPM_REQUEST *req, TPM_RESPONSE …
9 +static TPM_RESULT execute_TPM_ParentSignEK(TPM_REQUEST *req, TPM_RESPONSE *rsp)
12 + TPM_RESULT res;
59 @@ -3054,6 +3054,23 @@ TPM_RESULT TPM_OwnerReadPubek(
72 +TPM_RESULT TPM_ParentSignEK(
87 @@ -180,3 +180,34 @@ TPM_RESULT TPM_OwnerReadInternalPub(TPM_KEY_HANDLE keyHandle, TPM_AUTH *auth1,
94 +TPM_RESULT VTPM_GetParentQuote(TPM_DIGEST* data, TPM_PCR_SELECTION *sel, UINT32 *sigSize, BYTE **s…
96 +TPM_RESULT TPM_ParentSignEK(TPM_NONCE *externalData, TPM_PCR_SELECTION *sel,
100 + TPM_RESULT res;
170 + * TPM_RESULT returnCode Return code of the operation
A Dvtpm-deepquote.patch5 @@ -3343,6 +3343,39 @@ static TPM_RESULT execute_TPM_ParentSignEK(TPM_REQUEST *req, TPM_RESPONSE *r…
9 +static TPM_RESULT execute_TPM_DeepQuote(TPM_REQUEST *req, TPM_RESPONSE *rsp)
12 + TPM_RESULT res;
61 @@ -3071,6 +3071,25 @@ TPM_RESULT TPM_ParentSignEK(
75 +TPM_RESULT TPM_DeepQuote(
91 @@ -211,3 +211,49 @@ TPM_RESULT TPM_ParentSignEK(TPM_NONCE *externalData, TPM_PCR_SELECTION *sel,
100 +TPM_RESULT TPM_DeepQuote(TPM_NONCE *externalData, TPM_PCR_SELECTION *myPCR,
104 + TPM_RESULT res;
166 + * TPM_RESULT returnCode Return code of the operation
A Dvtpm-locality.patch5 @@ -949,6 +949,8 @@ static TPM_RESULT set_vendor(UINT32 subCap, BYTE *setValue,

Completed in 23 milliseconds