/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_context.c | 29 TCS_CONTEXT_HANDLE* tcsContext) 41 if (getData(TCSD_PACKET_TYPE_UINT32, 0, tcsContext, 0, &hte->comm)) 44 LogDebugFn("Received TCS Context: 0x%x", *tcsContext); 60 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 62 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 27 RPC_OpenContext_TP(struct host_table_entry* hte, UINT32* tpm_version, TCS_CONTEXT_HANDLE* tcsContext) argument
|
H A D | rpc_oper.c | 33 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 35 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_admin.c | 36 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 38 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 59 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 61 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 87 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 89 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 107 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 109 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 127 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 129 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_pcr_extend.c | 38 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 40 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 69 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 71 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 98 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 100 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_auth.c | 37 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 70 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 72 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_dir.c | 38 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 40 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 71 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 73 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_random.c | 37 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 79 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 81 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_counter.c | 37 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 70 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 72 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 116 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 118 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 153 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 155 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 184 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 186 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_maint.c | 41 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 43 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 117 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 119 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 168 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 170 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 199 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 201 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 232 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 234 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_selftest.c | 35 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 37 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 61 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 63 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 120 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 123 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_ek.c | 42 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 44 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 96 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 99 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 143 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 145 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 175 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 177 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 232 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 234 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_own.c | 45 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 47 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 106 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 108 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_caps.c | 40 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 42 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_evlog.c | 37 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 69 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 71 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 127 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 129 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 189 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 191 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_key.c | 42 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 44 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 89 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 91 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 119 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 121 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 184 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 186 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 237 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 239 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_ps.c | 40 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 42 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 91 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 93 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 124 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 126 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 150 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 152 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 209 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 211 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_nv.c | 53 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 54 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 99 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 100 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 147 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 148 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 196 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 197 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 264 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 265 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_cmk.c | 34 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 36 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 66 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 68 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 104 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 106 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 175 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 177 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 233 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 235 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_changeauth.c | 45 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 47 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 112 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 114 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
H A D | rpc_delegate.c | 40 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 42 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 105 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 107 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 170 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 172 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 231 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 233 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 278 LogDebugFn("TCS Context: 0x%x", hte->tcsContext); 280 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, [all...] |
H A D | rpc_tick.c | 37 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 39 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm)) 90 LogDebugFn("IN: TCS Context: 0x%x", hte->tcsContext); 92 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &hte->tcsContext, 0, &hte->comm))
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_verifier/ |
H A D | verifier.c | 38 TCS_CONTEXT_HANDLE tcsContext; local 42 if( (result = obj_daa_get_tsp_context( hDAA, &tcsContext)) != TSS_SUCCESS) 45 *nonceVerifier = calloc_tspi( tcsContext, DAA_PARAM_LENGTH_MESSAGE_DIGEST);
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/include/ |
H A D | hosttable.h | 23 TCS_CONTEXT_HANDLE tcsContext; member in struct:host_table_entry
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/daa/daa_issuer/ |
H A D | issuer_init.c | 58 TCS_CONTEXT_HANDLE tcsContext; local 64 if( (result = obj_daa_get_tsp_context( hDAA, &tcsContext)) != TSS_SUCCESS) 81 *nonceIssuer = convert_alloc( tcsContext, *nonceIssuerLength, buffer); 94 ne = convert_alloc( tcsContext, length_ne, bi_2_nbin( &length_ne, random)); 103 *authenticationChallenge = (BYTE *)calloc_tspi( tcsContext, 256); // 256: RSA size
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcs_context.c | 181 ctx_verify_context(TCS_CONTEXT_HANDLE tcsContext) argument 185 if (tcsContext == InternalContext) { 186 LogDebug("Success: %x is an Internal Context", tcsContext); 192 c = get_context(tcsContext); 197 LogDebug("Fail: Context %x not found", tcsContext); 227 ctx_req_exclusive_transport(TCS_CONTEXT_HANDLE tcsContext) argument 246 if (tmp->handle == tcsContext) 263 ctx_set_transport_enabled(TCS_CONTEXT_HANDLE tcsContext, UINT32 hTransHandle) argument 272 if (tmp->handle == tcsContext) { 292 ctx_set_transport_disabled(TCS_CONTEXT_HANDLE tcsContext, TCS_HANDL argument [all...] |