Home
last modified time | relevance | path

Searched refs:respLen (Results 1 – 4 of 4) sorted by relevance

/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/
Dtsp_caps_tpm.c78 UINT32* respLen, /* out */ in Transport_GetTPMCapability() argument
113 Trspi_UnloadBlob_UINT32(&offset, respLen, dec); in Transport_GetTPMCapability()
115 if ((*resp = malloc(*respLen)) == NULL) { in Transport_GetTPMCapability()
117 LogError("malloc of %u bytes failed", *respLen); in Transport_GetTPMCapability()
121 Trspi_UnloadBlob(&offset, *respLen, dec, *resp); in Transport_GetTPMCapability()
Dtspi_caps_tpm.c38 UINT32 nonVolFlags, volFlags, respLen; in Tspi_TPM_GetCapability() local
299 respLen = 2 * sizeof(UINT32); in Tspi_TPM_GetCapability()
300 respData = calloc_tspi(tspContext, respLen); in Tspi_TPM_GetCapability()
302 LogError("malloc of %u bytes failed.", respLen); in Tspi_TPM_GetCapability()
310 *pulRespDataLength = respLen; in Tspi_TPM_GetCapability()
Dobj_tpm.c491 UINT32 respLen, subCap = endian32(TPM_CAP_PROP_ACTIVE_COUNTER); in obj_tpm_get_current_counter() local
508 &respLen, &resp))) in obj_tpm_get_current_counter()
511 if (respLen != sizeof(UINT32)) { in obj_tpm_get_current_counter()
517 memcpy(&tpm->ctr_id, resp, respLen); in obj_tpm_get_current_counter()
Dobj_context.c628 UINT32 respLen, tcsSubCap32;
638 … (BYTE *)&tcsSubCap32, &respLen, &respData)))
661 … (BYTE *)&tcsSubCap16, &respLen, &respData)))