Searched refs:ulPcrValueLength (Results 1 – 11 of 11) sorted by relevance
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_evlog.c | 233 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 D | tspi_pcr_comp.c | 25 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 D | tspi_pcr_extend.c | 87 pPcrEvent->ulPcrValueLength = TPM_SHA1_160_HASH_LEN; 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/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcs_evlog_imaem.c | 116 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 D | tcs_evlog_biosem.c | 107 cur->event.ulPcrValueLength = 20; in bios_get_entries_by_pcr() 235 e->ulPcrValueLength = 20; 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/crypto/external/cpl/trousers/dist/src/trspi/ |
H A D | trousers.c | 794 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 D | tss_structs.h | 27 UINT32 ulPcrValueLength; member 29 [size_is(ulPcrValueLength)]
|
H A D | TSP.idl | 94 [in] UINT32 ulPcrValueLength, 95 [in, size_is(ulPcrValueLength)] BYTE* pbPcrValue);
|
H A D | tspi.h | 735 UINT32 ulPcrValueLength, // in
|