| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| H A D | rpc_counter.c | 34 TSS_COUNTER_ID idCounter; in tcs_wrap_ReadCounter() local 46 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) in tcs_wrap_ReadCounter() 51 result = TCSP_ReadCounter_Internal(hContext, idCounter, &counterValue); in tcs_wrap_ReadCounter() 70 TSS_COUNTER_ID idCounter; in tcs_wrap_CreateCounter() local 110 &idCounter, &counterValue); in tcs_wrap_CreateCounter() 120 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) in tcs_wrap_CreateCounter() 135 TSS_COUNTER_ID idCounter; in tcs_wrap_IncrementCounter() local 148 if (getData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &data->comm)) in tcs_wrap_IncrementCounter() 155 result = TCSP_IncrementCounter_Internal(hContext, idCounter, &auth, &counterValue); in tcs_wrap_IncrementCounter() 176 TSS_COUNTER_ID idCounter; in tcs_wrap_ReleaseCounter() local [all …]
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcsi_counter.c | 29 TSS_COUNTER_ID idCounter, in TCSP_ReadCounter_Internal() argument 40 if ((result = tpm_rqu_build(TPM_ORD_ReadCounter, &offset, txBlob, idCounter, NULL))) in TCSP_ReadCounter_Internal() 66 TSS_COUNTER_ID* idCounter, in TCSP_CreateCounter_Internal() argument 98 result = tpm_rsp_parse(TPM_ORD_CreateCounter, txBlob, paramSize, idCounter, in TCSP_CreateCounter_Internal() 108 TSS_COUNTER_ID idCounter, in TCSP_IncrementCounter_Internal() argument 123 if ((result = tpm_rqu_build(TPM_ORD_IncrementCounter, &offset, txBlob, idCounter, in TCSP_IncrementCounter_Internal() 145 TSS_COUNTER_ID idCounter, in TCSP_ReleaseCounter_Internal() argument 159 if ((result = tpm_rqu_build(TPM_ORD_ReleaseCounter, &offset, txBlob, idCounter, in TCSP_ReleaseCounter_Internal() 180 TSS_COUNTER_ID idCounter, in TCSP_ReleaseCounterOwner_Internal() argument 194 if ((result = tpm_rqu_build(TPM_ORD_ReleaseCounterOwner, &offset, txBlob, idCounter, in TCSP_ReleaseCounterOwner_Internal()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
| H A D | rpc_counter.c | 30 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReadCounter_TP() argument 41 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReadCounter_TP() 63 TSS_COUNTER_ID* idCounter, /* out */ in RPC_CreateCounter_TP() argument 93 if (getData(TCSD_PACKET_TYPE_UINT32, 1, idCounter, 0, &hte->comm)) { in RPC_CreateCounter_TP() 108 TSS_COUNTER_ID idCounter, /* in */ in RPC_IncrementCounter_TP() argument 120 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_IncrementCounter_TP() 146 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReleaseCounter_TP() argument 157 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReleaseCounter_TP() 177 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReleaseCounterOwner_TP() argument 188 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &idCounter, 0, &hte->comm)) in RPC_ReleaseCounterOwner_TP()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/ |
| H A D | tsp_counter.c | 27 TSS_COUNTER_ID idCounter, /* in */ in Transport_ReadCounter() argument 43 Trspi_LoadBlob_UINT32(&offset, idCounter, data); in Transport_ReadCounter()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/tss/ |
| H A D | tcs.h | 906 TSS_COUNTER_ID idCounter, // in 916 TSS_COUNTER_ID* idCounter, // out 922 TSS_COUNTER_ID idCounter, // in 929 TSS_COUNTER_ID idCounter, // in 935 TSS_COUNTER_ID idCounter, // in
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
| H A D | tcs_api.c | 2289 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReadCounter() argument 2300 result = RPC_ReadCounter_TP(entry, idCounter, counterValue); in RPC_ReadCounter() 2317 TSS_COUNTER_ID* idCounter, /* out */ in RPC_CreateCounter() argument 2329 pOwnerAuth, idCounter, counterValue); in RPC_CreateCounter() 2342 TSS_COUNTER_ID idCounter, /* in */ in RPC_IncrementCounter() argument 2354 result = RPC_IncrementCounter_TP(entry, idCounter, pCounterAuth, in RPC_IncrementCounter() 2368 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReleaseCounter() argument 2379 result = RPC_ReleaseCounter_TP(entry, idCounter, pCounterAuth); in RPC_ReleaseCounter() 2392 TSS_COUNTER_ID idCounter, /* in */ in RPC_ReleaseCounterOwner() argument 2403 result = RPC_ReleaseCounterOwner_TP(entry, idCounter, pOwnerAuth); in RPC_ReleaseCounterOwner()
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
| H A D | tcs_utils.h | 891 TSS_COUNTER_ID idCounter, 900 TSS_COUNTER_ID* idCounter, 905 TSS_COUNTER_ID idCounter, 911 TSS_COUNTER_ID idCounter, 916 TSS_COUNTER_ID idCounter,
|