Home
last modified time | relevance | path

Searched refs:ulPcrValueLength (Results 1 – 11 of 11) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_evlog.c233 LoadBlob_UINT32(offset, event->ulPcrValueLength, blob); in LoadBlob_PCR_EVENT()
234 if (event->ulPcrValueLength > 0) in LoadBlob_PCR_EVENT()
235 LoadBlob(offset, event->ulPcrValueLength, blob, event->rgbPcrValue); in LoadBlob_PCR_EVENT()
247 UINT32 ulPcrValueLength, ulEventLength; in UnloadBlob_PCR_EVENT() local
253 UnloadBlob_UINT32(offset, &ulPcrValueLength, blob); in UnloadBlob_PCR_EVENT()
254 (*offset) += ulPcrValueLength; in UnloadBlob_PCR_EVENT()
266 UnloadBlob_UINT32(offset, &event->ulPcrValueLength, blob); in UnloadBlob_PCR_EVENT()
267 if (event->ulPcrValueLength > 0) { in UnloadBlob_PCR_EVENT()
268 event->rgbPcrValue = malloc(event->ulPcrValueLength); in UnloadBlob_PCR_EVENT()
270 LogError("malloc of %u bytes failed.", event->ulPcrValueLength); in UnloadBlob_PCR_EVENT()
[all …]
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtspi_pcr_comp.c25 UINT32 ulPcrValueLength, /* in */ in Tspi_PcrComposite_SetPcrValue() argument
28 if (ulPcrValueLength == 0 || rgbPcrValue == NULL) in Tspi_PcrComposite_SetPcrValue()
31 if (ulPcrValueLength != TCPA_SHA1_160_HASH_LEN) in Tspi_PcrComposite_SetPcrValue()
34 return obj_pcrs_set_value(hPcrComposite, ulPcrIndex, ulPcrValueLength, rgbPcrValue); in Tspi_PcrComposite_SetPcrValue()
H A Dtspi_pcr_extend.c87 pPcrEvent->ulPcrValueLength = TPM_SHA1_160_HASH_LEN; in Tspi_TPM_PcrExtend()
H A Dspi_utils.c404 return (sizeof(TSS_PCR_EVENT) + e->ulEventLength + e->ulPcrValueLength); in get_pcr_event_size()
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_evlog_imaem.c116 cur->event.ulPcrValueLength = 20; in ima_get_entries_by_pcr()
117 cur->event.rgbPcrValue = malloc(cur->event.ulPcrValueLength); in ima_get_entries_by_pcr()
126 cur->event.ulPcrValueLength); in ima_get_entries_by_pcr()
257 event->ulPcrValueLength = 20; in ima_get_entry()
258 event->rgbPcrValue = malloc(event->ulPcrValueLength); in ima_get_entry()
268 event->ulPcrValueLength); in ima_get_entry()
H A Dtcs_evlog_biosem.c107 cur->event.ulPcrValueLength = 20; in bios_get_entries_by_pcr()
235 e->ulPcrValueLength = 20; in bios_get_entry()
H A Dtcs_evlog.c196 return (sizeof(TSS_PCR_EVENT) + e->ulEventLength + e->ulPcrValueLength); in get_pcr_event_size()
/netbsd/crypto/external/cpl/trousers/dist/src/trspi/
H A Dtrousers.c794 Trspi_LoadBlob_UINT32(offset, event->ulPcrValueLength, blob); in Trspi_LoadBlob_PCR_EVENT()
795 if (event->ulPcrValueLength > 0) in Trspi_LoadBlob_PCR_EVENT()
808 UINT32 ulPcrValueLength, ulEventLength; in Trspi_UnloadBlob_PCR_EVENT() local
814 Trspi_UnloadBlob_UINT32(offset, &ulPcrValueLength, blob); in Trspi_UnloadBlob_PCR_EVENT()
815 (*offset) += ulPcrValueLength; in Trspi_UnloadBlob_PCR_EVENT()
827 Trspi_UnloadBlob_UINT32(offset, &event->ulPcrValueLength, blob); in Trspi_UnloadBlob_PCR_EVENT()
828 if (event->ulPcrValueLength > 0) { in Trspi_UnloadBlob_PCR_EVENT()
829 event->rgbPcrValue = malloc(event->ulPcrValueLength); in Trspi_UnloadBlob_PCR_EVENT()
831 LogError("malloc of %u bytes failed.", event->ulPcrValueLength); in Trspi_UnloadBlob_PCR_EVENT()
1880 Trspi_Hash_UINT32(c, event->ulPcrValueLength); in Trspi_Hash_PCR_EVENT()
[all …]
/netbsd/crypto/external/cpl/trousers/dist/src/include/tss/
H A Dtss_structs.h27 UINT32 ulPcrValueLength; member
29 [size_is(ulPcrValueLength)]
H A DTSP.idl94 [in] UINT32 ulPcrValueLength,
95 [in, size_is(ulPcrValueLength)] BYTE* pbPcrValue);
H A Dtspi.h735 UINT32 ulPcrValueLength, // in