Searched refs:tpmcmd (Results 1 – 6 of 6) sorted by relevance
/xen-4.10.0-shim-comet/stubdom/vtpm/ |
A D | vtpm.c | 131 ptr = tpmcmd->req; in check_passthru() 136 tpmfront_cmd(tpmfront_dev, tpmcmd->req, tpmcmd->req_len, &tpmcmd->resp, &size); in check_passthru() 144 ptr = tpmcmd->req; in check_passthru() 146 tpmfront_cmd(tpmfront_dev, tpmcmd->req, tpmcmd->req_len, &tpmcmd->resp, &size); in check_passthru() 165 ptr = tpmcmd->req + 6; in check_ordinal() 207 tpmcmd_t* tpmcmd = NULL; in main_loop() local 228 while(tpmcmd) { in main_loop() 234 tpmcmd->resp = NULL; in main_loop() 235 tpmcmd->resp_len = 0; in main_loop() 238 locality_mask = generate_locality_mask(tpmcmd->domid, tpmcmd->handle); in main_loop() [all …]
|
A D | vtpm_cmd.c | 66 int create_error_response(tpmcmd_t* tpmcmd, TPM_RESULT errorcode) in create_error_response() argument 69 UINT32 len = tpmcmd->req_len; in create_error_response() 71 uint8_t* cmdptr = tpmcmd->req; in create_error_response() 89 tpmcmd->resp_len = len = 10; in create_error_response() 90 tpmcmd->resp = respptr = tpm_malloc(tpmcmd->resp_len); in create_error_response()
|
A D | vtpm_cmd.h | 21 int create_error_response(tpmcmd_t* tpmcmd, TPM_RESULT errorcode);
|
/xen-4.10.0-shim-comet/stubdom/vtpmmgr/ |
A D | vtpm_cmd_handler.c | 206 tpmcmd->resp_len += 52; in vtpmmgr_LoadHashKey() 209 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); in vtpmmgr_LoadHashKey() 224 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); \ 228 status = unpack3_ ## type (tpmcmd->req, &in_pos, tpmcmd->req_len, item); \ 262 pack_ ## type (tpmcmd->resp + tpmcmd->resp_len, item); \ 266 #define PACK_BUF ((void*)(tpmcmd->resp + tpmcmd->resp_len)) 562 tpmcmd->resp_len += 32; in vtpmmgr_GroupRegister() 674 pack_TPM_RSP_HEADER(tpmcmd->resp, VTPM_TAG_RSP, tpmcmd->resp_len, status); in vtpmmgr_GroupUpdate() 777 tpmcmd_t* tpmcmd) in vtpmmgr_handle_cmd() argument 868 TPMTRYRETURN(TPM_TransmitData(tpmcmd->req, tpmcmd->req_len, tpmcmd->resp, &size)); in vtpmmgr_handle_cmd() [all …]
|
A D | vtpmmgr.c | 71 tpmcmd_t* tpmcmd; in main_loop() local 77 if((tpmcmd = tpmback_req_any()) == NULL) { in main_loop() 82 tpmcmd->resp = respbuf; in main_loop() 85 vtpmmgr_handle_cmd(tpmcmd->opaque, tpmcmd); in main_loop() 88 tpmback_resp(tpmcmd); in main_loop()
|
A D | vtpmmgr.h | 102 TPM_RESULT vtpmmgr_handle_cmd(struct tpm_opaque *opq, tpmcmd_t* tpmcmd);
|
Completed in 9 milliseconds