Home
last modified time | relevance | path

Searched refs:platClass (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_caps.c40 struct platform_class *platClass; in internal_TCSGetCap() local
186 platClass = config->host_platform_class; in internal_TCSGetCap()
188 *respSize = (2 * sizeof(UINT32)) + platClass->classURISize; in internal_TCSGetCap()
196 LoadBlob_UINT32(&offset, platClass->simpleID, *resp); in internal_TCSGetCap()
197 LoadBlob_UINT32(&offset, platClass->classURISize, *resp); in internal_TCSGetCap()
198 memcpy(&(*resp)[offset], platClass->classURI, platClass->classURISize); in internal_TCSGetCap()
206 if ((platClass = config->all_platform_classes) != NULL) { in internal_TCSGetCap()
208 while (platClass != NULL) { in internal_TCSGetCap()
209 *respSize += (2 * sizeof(UINT32)) + platClass->classURISize; in internal_TCSGetCap()
210 platClass = platClass->next; in internal_TCSGetCap()
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/trspi/
H A Dtrousers.c2677 Trspi_UnloadBlob_TSS_PLATFORM_CLASS(UINT64 *offset, BYTE *blob, TSS_PLATFORM_CLASS *platClass) in Trspi_UnloadBlob_TSS_PLATFORM_CLASS() argument
2679 if (!platClass){ in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2688 Trspi_UnloadBlob_UINT32(offset, &platClass->platformClassSimpleIdentifier, blob); in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2689 Trspi_UnloadBlob_UINT32(offset, &platClass->platformClassURISize, blob); in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2691 platClass->pPlatformClassURI = malloc(platClass->platformClassURISize); in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2692 if (platClass->pPlatformClassURI == NULL) { in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2693 LogError("malloc of %u bytes failed.", platClass->platformClassURISize); in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2696 Trspi_UnloadBlob(offset, platClass->platformClassURISize, blob, in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
2697 (BYTE *)platClass->pPlatformClassURI); in Trspi_UnloadBlob_TSS_PLATFORM_CLASS()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/trousers/
H A Dtrousers.h73 …ULT Trspi_UnloadBlob_TSS_PLATFORM_CLASS(UINT64 *offset, BYTE *blob, TSS_PLATFORM_CLASS *platClass);