| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| H A D | rpc_quote2.c | 38 BYTE *pcrDataIn; in tcs_wrap_Quote2() local 69 pcrDataIn = (BYTE *)calloc(1, pcrDataSizeIn); in tcs_wrap_Quote2() 70 if (pcrDataIn == NULL) { in tcs_wrap_Quote2() 74 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, pcrDataIn, pcrDataSizeIn, &data->comm)) { in tcs_wrap_Quote2() 75 free(pcrDataIn); in tcs_wrap_Quote2() 79 free(pcrDataIn); in tcs_wrap_Quote2() 86 free(pcrDataIn); in tcs_wrap_Quote2() 93 result = TCSP_Quote2_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn, in tcs_wrap_Quote2() 98 free(pcrDataIn); in tcs_wrap_Quote2()
|
| H A D | rpc_quote.c | 37 BYTE *pcrDataIn; in tcs_wrap_Quote() local 64 pcrDataIn = (BYTE *)calloc(1, pcrDataSizeIn); in tcs_wrap_Quote() 65 if (pcrDataIn == NULL) { in tcs_wrap_Quote() 69 if (getData(TCSD_PACKET_TYPE_PBYTE, 4, pcrDataIn, pcrDataSizeIn, &data->comm)) { in tcs_wrap_Quote() 70 free(pcrDataIn); in tcs_wrap_Quote() 78 free(pcrDataIn); in tcs_wrap_Quote() 85 result = TCSP_Quote_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn, in tcs_wrap_Quote() 89 free(pcrDataIn); in tcs_wrap_Quote()
|
| H A D | rpc_pcr_extend.c | 112 BYTE *pcrDataIn; in tcs_wrap_PcrReset() local 126 pcrDataIn = (BYTE *)malloc(pcrDataSizeIn); in tcs_wrap_PcrReset() 127 if (pcrDataIn == NULL) { in tcs_wrap_PcrReset() 131 if (getData(TCSD_PACKET_TYPE_PBYTE, 2, pcrDataIn, pcrDataSizeIn, &data->comm)) { in tcs_wrap_PcrReset() 132 free(pcrDataIn); in tcs_wrap_PcrReset() 138 result = TCSP_PcrReset_Internal(hContext, pcrDataSizeIn, pcrDataIn); in tcs_wrap_PcrReset() 141 free(pcrDataIn); in tcs_wrap_PcrReset()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcsi_quote.c | 35 BYTE * pcrDataIn, /* in */ in TCSP_Quote_Internal() argument 65 pcrDataSizeIn, pcrDataIn, privAuth))) in TCSP_Quote_Internal()
|
| H A D | tcsi_quote2.c | 35 BYTE * pcrDataIn, /* in */ in TCSP_Quote2_Internal() argument 69 pcrDataSizeIn, pcrDataIn, &addVersion, privAuth))) in TCSP_Quote2_Internal()
|
| H A D | tcsi_pcr.c | 113 BYTE * pcrDataIn) /* in */ in TCSP_PcrReset_Internal() argument 125 if ((result = tpm_rqu_build(TPM_ORD_PCR_Reset, &offset, txBlob, pcrDataSizeIn, pcrDataIn))) in TCSP_PcrReset_Internal()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_pcr_extend.c | 98 BYTE * pcrDataIn) /* in */ in Transport_PcrReset() argument 109 pcrDataIn, NULL, &handlesLen, NULL, NULL, NULL, NULL, in Transport_PcrReset()
|
| H A D | tsp_quote.c | 31 BYTE * pcrDataIn, /* in */ in Transport_Quote() argument 73 Trspi_LoadBlob(&offset, pcrDataSizeIn, data, pcrDataIn); in Transport_Quote()
|
| H A D | tsp_quote2.c | 31 BYTE * pcrDataIn, /* in */ in Transport_Quote2() argument 76 Trspi_LoadBlob(&offset, pcrDataSizeIn, data, pcrDataIn); in Transport_Quote2()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
| H A D | rpc_pcr_extend.c | 92 BYTE * pcrDataIn) /* in */ in RPC_PcrReset_TP() argument 104 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, pcrDataIn, pcrDataSizeIn, &hte->comm)) in RPC_PcrReset_TP()
|
| H A D | rpc_quote.c | 33 BYTE * pcrDataIn, /* in */ in RPC_Quote_TP() argument 56 if (setData(TCSD_PACKET_TYPE_PBYTE, 4, pcrDataIn, pcrDataSizeIn, &hte->comm)) in RPC_Quote_TP()
|
| H A D | rpc_quote2.c | 33 BYTE * pcrDataIn, /* in */ in RPC_Quote2_TP() argument 60 if (setData(TCSD_PACKET_TYPE_PBYTE, 4, pcrDataIn, pcrDataSizeIn, &hte->comm)) in RPC_Quote2_TP()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
| H A D | tcs_api.c | 933 BYTE * pcrDataIn) /* in */ in RPC_PcrReset() argument 943 result = RPC_PcrReset_TP(entry, pcrDataSizeIn, pcrDataIn); in RPC_PcrReset() 959 BYTE * pcrDataIn, /* in */ in RPC_Quote() argument 975 pcrDataIn, privAuth, pcrDataSizeOut, pcrDataOut, in RPC_Quote() 992 BYTE * pcrDataIn, /* in */ in RPC_Quote2() argument 1010 result = RPC_Quote2_TP(entry, keyHandle, antiReplay, pcrDataSizeIn, pcrDataIn, in RPC_Quote2()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
| H A D | tcs_utils.h | 552 BYTE * pcrDataIn, /* in */ 564 BYTE * pcrDataIn, /* in */
|