Home
last modified time | relevance | path

Searched refs:ordSize (Results 1 – 9 of 9) sorted by relevance

/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/
Dtspi_audit.c33 UINT32* ordSize, /* out */ in Tspi_TPM_GetAuditDigest() argument
47 if ((ordSize == NULL) || (ordList == NULL)) in Tspi_TPM_GetAuditDigest()
63 *ordSize = 0; in Tspi_TPM_GetAuditDigest()
75 … (*ordSize + tcsOrdSize) * sizeof(UINT32))) == NULL) { in Tspi_TPM_GetAuditDigest()
76 … LogError("malloc of %u bytes failed.", *ordSize + tcsOrdSize); in Tspi_TPM_GetAuditDigest()
82 memcpy(pulTemp, *ordList, *ordSize * sizeof(UINT32)); in Tspi_TPM_GetAuditDigest()
83 memcpy(pulTemp + *ordSize, tcsOrdList, tcsOrdSize * sizeof(UINT32)); in Tspi_TPM_GetAuditDigest()
91 *ordSize += tcsOrdSize; in Tspi_TPM_GetAuditDigest()
96 … (BYTE *)(*ordList + (*ordSize - 1))); in Tspi_TPM_GetAuditDigest()
126 *ordSize = 0; in Tspi_TPM_GetAuditDigest()
Dtsp_audit.c119 UINT32 *ordSize, /* out */ in Transport_GetAuditDigest() argument
158 Trspi_UnloadBlob_UINT32(&offset, ordSize, dec); in Transport_GetAuditDigest()
160 if ((*ordList = malloc(*ordSize)) == NULL) { in Transport_GetAuditDigest()
165 LogError("malloc of %u bytes failed", *ordSize); in Transport_GetAuditDigest()
166 *ordSize = 0; in Transport_GetAuditDigest()
170 Trspi_UnloadBlob(&offset, *ordSize, dec, *(BYTE **)ordList); in Transport_GetAuditDigest()
171 *ordSize /= sizeof(UINT32); in Transport_GetAuditDigest()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/
Dtcsi_audit.c70 UINT32 *ordSize, /* out */ in TCSP_GetAuditDigest_Internal() argument
92 counterValueSize, counterValue, more, ordSize, in TCSP_GetAuditDigest_Internal()
99 *ordSize = *ordSize / sizeof(UINT32); in TCSP_GetAuditDigest_Internal()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
Drpc_audit.c67 UINT32 *ordSize, /* out */ in RPC_GetAuditDigest_TP() argument
113 if (getData(TCSD_PACKET_TYPE_UINT32, 4, ordSize, 0, &hte->comm)) { in RPC_GetAuditDigest_TP()
119 *ordList = (UINT32 *)malloc(*ordSize * sizeof(UINT32)); in RPC_GetAuditDigest_TP()
121 LogError("malloc of %u bytes failed.", *ordSize); in RPC_GetAuditDigest_TP()
127 … if (getData(TCSD_PACKET_TYPE_PBYTE, 5, *ordList, *ordSize * sizeof(UINT32), &hte->comm)) { in RPC_GetAuditDigest_TP()
/netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
Drpc_audit.c83 UINT32 ordSize; in tcs_wrap_GetAuditDigest() local
101 &more, &ordSize, &ordList); in tcs_wrap_GetAuditDigest()
127 if (setData(TCSD_PACKET_TYPE_UINT32, 4, &ordSize, 0, &data->comm)) { in tcs_wrap_GetAuditDigest()
131 … if (setData(TCSD_PACKET_TYPE_PBYTE, 5, ordList, ordSize * sizeof(UINT32), &data->comm)) { in tcs_wrap_GetAuditDigest()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/tss/
Dtspi.h711 UINT32* ordSize, // out
Dtcs.h1085 UINT32* ordSize, // out
/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
Dtcs_api.c2774 UINT32 *ordSize, /* out */ in RPC_GetAuditDigest() argument
2787 ordSize, ordList); in RPC_GetAuditDigest()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/
Dtcs_utils.h1026 … UINT32* ordSize, /* out */