Home
last modified time | relevance | path

Searched refs:pcrValues (Results 1 – 25 of 36) sorted by relevance

12

/dports/security/tpm2-tss/tpm2-tss-3.1.0/src/tss2-esys/api/
H A DEsys_PCR_Read.c76 TPML_DIGEST **pcrValues) in Esys_PCR_Read() argument
96 pcrValues); in Esys_PCR_Read()
240 TPML_DIGEST **pcrValues) in Esys_PCR_Read_Finish() argument
246 pcrValues); in Esys_PCR_Read_Finish()
268 if (pcrValues != NULL) { in Esys_PCR_Read_Finish()
269 *pcrValues = calloc(sizeof(TPML_DIGEST), 1); in Esys_PCR_Read_Finish()
270 if (*pcrValues == NULL) { in Esys_PCR_Read_Finish()
330 (pcrValues != NULL) ? *pcrValues : NULL); in Esys_PCR_Read_Finish()
342 if (pcrValues != NULL) in Esys_PCR_Read_Finish()
343 SAFE_FREE(*pcrValues); in Esys_PCR_Read_Finish()
/dports/security/tpm2-tss/tpm2-tss-3.1.0/src/tss2-fapi/api/
H A DFapi_PcrRead.c218 command->pcrValues = NULL; in Fapi_PcrRead_Finish()
222 SAFE_FREE(command->pcrValues); in Fapi_PcrRead_Finish()
226 &command->pcrValues); in Fapi_PcrRead_Finish()
232 command->pcrValueSize = command->pcrValues->digests[0].size; in Fapi_PcrRead_Finish()
234 command->pcrValue = malloc(command->pcrValues->digests[0].size); in Fapi_PcrRead_Finish()
238 memcpy(command->pcrValue, &command->pcrValues->digests[0].buffer[0], in Fapi_PcrRead_Finish()
239 command->pcrValues->digests[0].size); in Fapi_PcrRead_Finish()
241 SAFE_FREE(command->pcrValues); in Fapi_PcrRead_Finish()
281 SAFE_FREE(command->pcrValues); in Fapi_PcrRead_Finish()
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/tss2/ibmtpm20tss/utils/
H A Dpcrread.c268 if ((rc == 0) && (datafilename != NULL) && (out.pcrValues.count != 0)) { in main()
269 rc = TSS_File_WriteBinaryFile(out.pcrValues.digests[0].t.buffer, in main()
270 out.pcrValues.digests[0].t.size, in main()
324 rc = TSS_TPML_DIGEST_Marshalu(&out.pcrValues, in main()
383 if (out.pcrValues.count != 0) { in main()
384 for (count = 0 ; count < out.pcrValues.count ; count++) { in main()
386 for (bp = 0 ; bp < out.pcrValues.digests[count].t.size ; bp++) { in main()
387 printf("%02x", out.pcrValues.digests[count].t.buffer[bp]); in main()
393 printf("count %u\n", out.pcrValues.count); in main()
411 for (i = 0 ; i < out->pcrValues.count ; i++) { in printPcrRead()
[all …]
H A Dimaextend.c401 pcrReadOut.pcrValues.digests[0].t.buffer, in pcrread()
402 pcrReadOut.pcrValues.digests[0].t.size); in pcrread()
404 pcrReadOut.pcrValues.digests[1].t.buffer, in pcrread()
405 pcrReadOut.pcrValues.digests[1].t.size); in pcrread()
H A Deventextend.c256 pcrReadOut.pcrValues.digests[0].t.buffer, in main()
257 pcrReadOut.pcrValues.digests[0].t.size); in main()
/dports/security/tpm2-tss/tpm2-tss-3.1.0/src/tss2-sys/api/
H A DTss2_Sys_PCR_Read.c47 TPML_DIGEST *pcrValues) in Tss2_Sys_PCR_Read_Complete() argument
75 &ctx->nextData, pcrValues); in Tss2_Sys_PCR_Read_Complete()
84 TPML_DIGEST *pcrValues, in Tss2_Sys_PCR_Read() argument
102 pcrSelectionOut, pcrValues); in Tss2_Sys_PCR_Read()
/dports/security/tpm2-tss/tpm2-tss-3.1.0/test/integration/
H A Desys-pcr-basic.int.c46 TPML_DIGEST *pcrValues = NULL; in test_esys_pcr_basic() local
92 &pcrValues); in test_esys_pcr_basic()
165 Esys_Free(pcrValues); in test_esys_pcr_basic()
172 Esys_Free(pcrValues); in test_esys_pcr_basic()
/dports/emulators/qemu42/qemu-4.2.1/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H456 TPML_DIGEST pcrValues; member
H A DtrustedTypes.C475 i_tpmBuf = TPML_DIGEST_unmarshal(&(val->pcrValues), i_tpmBuf, in TPM2_PcrReadOut_unmarshal()
/dports/emulators/qemu5/qemu-5.2.0/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H456 TPML_DIGEST pcrValues; member
H A DtrustedTypes.C475 i_tpmBuf = TPML_DIGEST_unmarshal(&(val->pcrValues), i_tpmBuf, in TPM2_PcrReadOut_unmarshal()
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H440 TPML_DIGEST pcrValues; member
H A DtrustedTypes.C475 i_tpmBuf = TPML_DIGEST_unmarshal(&(val->pcrValues), i_tpmBuf, in TPM2_PcrReadOut_unmarshal()
/dports/emulators/qemu-utils/qemu-4.2.1/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H456 TPML_DIGEST pcrValues; member
/dports/emulators/qemu-guest-agent/qemu-5.0.1/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H456 TPML_DIGEST pcrValues; member
/dports/emulators/qemu60/qemu-6.0.0/roms/skiboot/libstb/tss/
H A DtrustedbootCmds.C958 (resp->pcrValues.count != 1) || in tpmCmdPcrRead()
959 (resp->pcrValues.digests[0].size != fullDigestSize)) in tpmCmdPcrRead()
967 resp->pcrValues.count, in tpmCmdPcrRead()
968 resp->pcrValues.digests[0].size); in tpmCmdPcrRead()
988 memcpy(o_digest, resp->pcrValues.digests[0].buffer, fullDigestSize); in tpmCmdPcrRead()
H A DtrustedTypes.H456 TPML_DIGEST pcrValues; member
/dports/emulators/qemu/qemu-6.2.0/roms/skiboot/libstb/tss2/ibmtpm20tss/utils/ibmtss/
H A DPCR_Read_fp.h76 TPML_DIGEST pcrValues; member
/dports/security/tpm2-tss/tpm2-tss-3.1.0/test/tpmclient/
H A Dtpmclient.int.c557 TPML_DIGEST pcrValues; in TestPcrExtend() local
593 …ad( sysContext, 0, &pcrSelection, &pcrUpdateCounterBeforeExtend, &pcrSelectionOut, &pcrValues, 0 ); in TestPcrExtend()
596 if( pcrValues.digests[0].size <= PCR_SIZE && in TestPcrExtend()
597 pcrValues.digests[0].size <= sizeof( pcrValues.digests[0].buffer ) ) in TestPcrExtend()
598 … memcpy( &( pcrBeforeExtend[0] ), &( pcrValues.digests[0].buffer[0] ), pcrValues.digests[0].size ); in TestPcrExtend()
610 …ead( sysContext, 0, &pcrSelection, &pcrUpdateCounterAfterExtend, &pcrSelectionOut, &pcrValues, 0 ); in TestPcrExtend()
613 … memcpy( &( pcrAfterExtend[0] ), &( pcrValues.digests[0].buffer[0] ), pcrValues.digests[0].size ); in TestPcrExtend()
/dports/security/tpm2-tss/tpm2-tss-3.1.0/src/tss2-fapi/
H A Dfapi_int.h266 TPML_DIGEST *pcrValues; /* The values returned by PCR_Read */ member

12