Searched refs:ulEventLength (Results 1 – 8 of 8) sorted by relevance
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcs_evlog_imaem.c | 155 if (fread(&cur->event.ulEventLength, 1, sizeof(int), fp) != sizeof(int)) { in ima_get_entries_by_pcr() 160 cur->event.rgbEvent = malloc(cur->event.ulEventLength + 1); in ima_get_entries_by_pcr() 164 cur->event.ulEventLength); in ima_get_entries_by_pcr() 168 memset(cur->event.rgbEvent, 0, cur->event.ulEventLength); in ima_get_entries_by_pcr() 169 if (fread(cur->event.rgbEvent, 1, cur->event.ulEventLength, fp) != cur->event.ulEventLength) { in ima_get_entries_by_pcr() 297 if (fread(&event->ulEventLength, 1, sizeof(int), fp) != sizeof(int)) { in ima_get_entry() 302 event->rgbEvent = malloc(event->ulEventLength + 1); in ima_get_entry() 305 event->ulEventLength); in ima_get_entry() 309 memset(event->rgbEvent, 0, event->ulEventLength + 1); in ima_get_entry() 310 if (fread(event->rgbEvent, 1, event->ulEventLength, fp) != event->ulEventLength ) { in ima_get_entry()
|
| H A D | tcs_evlog_biosem.c | 113 cur->event.ulEventLength = event->eventDataSize; in bios_get_entries_by_pcr() 240 e->ulEventLength = event->eventDataSize; in bios_get_entry() 243 e->rgbEvent = malloc(e->ulEventLength); in bios_get_entry() 246 e->ulEventLength); in bios_get_entry()
|
| H A D | tcs_evlog.c | 196 return (sizeof(TSS_PCR_EVENT) + e->ulEventLength + e->ulPcrValueLength); in get_pcr_event_size()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| H A D | rpc_evlog.c | 237 LoadBlob_UINT32(offset, event->ulEventLength, blob); in LoadBlob_PCR_EVENT() 238 if (event->ulEventLength > 0) in LoadBlob_PCR_EVENT() 239 LoadBlob(offset, event->ulEventLength, blob, event->rgbEvent); in LoadBlob_PCR_EVENT() 247 UINT32 ulPcrValueLength, ulEventLength; in UnloadBlob_PCR_EVENT() local 256 UnloadBlob_UINT32(offset, &ulEventLength, blob); in UnloadBlob_PCR_EVENT() 257 (*offset) += ulEventLength; in UnloadBlob_PCR_EVENT() 279 UnloadBlob_UINT32(offset, &event->ulEventLength, blob); in UnloadBlob_PCR_EVENT() 280 if (event->ulEventLength > 0) { in UnloadBlob_PCR_EVENT() 281 event->rgbEvent = malloc(event->ulEventLength); in UnloadBlob_PCR_EVENT() 283 LogError("malloc of %u bytes failed.", event->ulEventLength); in UnloadBlob_PCR_EVENT() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/trspi/ |
| H A D | trousers.c | 798 Trspi_LoadBlob_UINT32(offset, event->ulEventLength, blob); in Trspi_LoadBlob_PCR_EVENT() 799 if (event->ulEventLength > 0) in Trspi_LoadBlob_PCR_EVENT() 800 Trspi_LoadBlob(offset, event->ulEventLength, blob, event->rgbEvent); in Trspi_LoadBlob_PCR_EVENT() 808 UINT32 ulPcrValueLength, ulEventLength; in Trspi_UnloadBlob_PCR_EVENT() local 817 Trspi_UnloadBlob_UINT32(offset, &ulEventLength, blob); in Trspi_UnloadBlob_PCR_EVENT() 818 (*offset) += ulEventLength; in Trspi_UnloadBlob_PCR_EVENT() 840 Trspi_UnloadBlob_UINT32(offset, &event->ulEventLength, blob); in Trspi_UnloadBlob_PCR_EVENT() 841 if (event->ulEventLength > 0) { in Trspi_UnloadBlob_PCR_EVENT() 842 event->rgbEvent = malloc(event->ulEventLength); in Trspi_UnloadBlob_PCR_EVENT() 844 LogError("malloc of %d bytes failed.", event->ulEventLength); in Trspi_UnloadBlob_PCR_EVENT() [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tspi_pcr_extend.c | 59 result |= Trspi_HashUpdate(&hashCtx, pPcrEvent->ulEventLength, pPcrEvent->rgbEvent); in Tspi_TPM_PcrExtend()
|
| H A D | spi_utils.c | 404 return (sizeof(TSS_PCR_EVENT) + e->ulEventLength + e->ulPcrValueLength); in get_pcr_event_size()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/ |
| H A D | tss_structs.h | 32 UINT32 ulEventLength; member 34 [size_is(ulEventLength)]
|