/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_ek.c | 30 TCPA_NONCE antiReplay; local 64 (BYTE **)antiReplay.nonce))) { 69 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 72 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 73 sizeof(antiReplay.nonce)); 76 if ((result = TCS_API(tspContext)->CreateEndorsementKeyPair(tspContext, antiReplay, ekSize, 84 result |= Trspi_HashUpdate(&hashCtx, TCPA_SHA1_160_HASH_LEN, antiReplay.nonce); 102 memcpy(&pValidationData->rgbData[ekSize], antiReplay.nonce, 103 sizeof(antiReplay.nonce)); 145 TCPA_NONCE antiReplay; local 268 TPM_NONCE antiReplay; local [all...] |
H A D | tspi_certify.c | 35 TCPA_NONCE antiReplay; local 71 (BYTE **)antiReplay.nonce))) 75 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 78 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 79 sizeof(antiReplay.nonce)); 89 result |= Trspi_HashUpdate(&hashCtx, sizeof(antiReplay.nonce), antiReplay.nonce); 111 keyTCSKeyHandle, &antiReplay, pCertAuth,
|
H A D | tspi_selftest.c | 46 TCPA_NONCE antiReplay; local 72 (BYTE **)antiReplay.nonce))) { 77 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 80 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 81 sizeof(antiReplay.nonce)); 89 result |= Trspi_HashUpdate(&hashCtx, sizeof(TCPA_NONCE), antiReplay.nonce); 102 if ((result = TCS_API(tspContext)->CertifySelfTest(tspContext, keyTCSKeyHandle, antiReplay, 134 result |= Trspi_HashUpdate(&hashCtx, sizeof(TCPA_NONCE), antiReplay.nonce); 160 antiReplay.nonce);
|
H A D | tspi_quote.c | 38 TCPA_NONCE antiReplay; local 70 (BYTE **)antiReplay.nonce))) 73 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 76 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 77 sizeof(antiReplay.nonce)); 88 result |= Trspi_HashUpdate(&hashCtx, TPM_SHA1_160_HASH_LEN, antiReplay.nonce); 103 if ((result = TCS_API(tspContext)->Quote(tspContext, tcsKeyHandle, &antiReplay, pcrDataSize, 176 antiReplay.nonce);
|
H A D | tspi_quote2.c | 42 TPM_NONCE antiReplay; local 71 * not NULL, takes the validation external data and sets the antiReplay data 76 (BYTE **)antiReplay.nonce))) 80 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 83 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 84 sizeof(antiReplay.nonce)); 98 result |= Trspi_HashUpdate(&hashCtx, TPM_SHA1_160_HASH_LEN, antiReplay.nonce); 113 if ((result = TCS_API(tspContext)->Quote2(tspContext, tcsKeyHandle, &antiReplay, 206 antiReplay.nonce);
|
H A D | tsp_maint.c | 129 TCPA_NONCE antiReplay, /* in */ 151 Trspi_LoadBlob(&offset, TPM_SHA1_160_HASH_LEN, data, antiReplay.nonce); 171 TCPA_NONCE antiReplay, /* in */ 185 sizeof(TCPA_NONCE), antiReplay.nonce, NULL, 128 Transport_LoadManuMaintPub(TSS_HCONTEXT tspContext, TCPA_NONCE antiReplay, UINT32 PubKeySize, BYTE * PubKey, TCPA_DIGEST * checksum) argument 170 Transport_ReadManuMaintPub(TSS_HCONTEXT tspContext, TCPA_NONCE antiReplay, TCPA_DIGEST * checksum) argument
|
H A D | tsp_certify.c | 29 TPM_NONCE * antiReplay, /* in */ 70 Trspi_LoadBlob_NONCE(&offset, data, antiReplay); 26 Transport_CertifyKey(TSS_HCONTEXT tspContext, TCS_KEY_HANDLE certHandle, TCS_KEY_HANDLE keyHandle, TPM_NONCE * antiReplay, TPM_AUTH * certAuth, TPM_AUTH * keyAuth, UINT32 * CertifyInfoSize, BYTE ** CertifyInfo, UINT32 * outDataSize, BYTE ** outData) argument
|
H A D | tspi_audit.c | 140 TPM_NONCE antiReplay; local 152 (BYTE **)antiReplay.nonce))) 156 if (pValidationData->ulExternalDataLength < sizeof(antiReplay.nonce)) 162 memcpy(antiReplay.nonce, pValidationData->rgbExternalData, 163 sizeof(antiReplay.nonce)); 181 result |= Trspi_Hash_NONCE(&hashCtx, antiReplay.nonce); 194 closeAudit, &antiReplay, 204 signInfo.replay = antiReplay;
|
H A D | tsp_quote.c | 29 TCPA_NONCE *antiReplay, /* in */ 72 Trspi_LoadBlob_NONCE(&offset, data, antiReplay); 27 Transport_Quote(TSS_HCONTEXT tspContext, TCS_KEY_HANDLE keyHandle, TCPA_NONCE *antiReplay, UINT32 pcrDataSizeIn, BYTE * pcrDataIn, TPM_AUTH * privAuth, UINT32 * pcrDataSizeOut, BYTE ** pcrDataOut, UINT32 * sigSize, BYTE ** sig) argument
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_certify.c | 34 TCPA_NONCE antiReplay, /* in */ 75 antiReplay.nonce, certAuth, keyAuth))) 31 TCSP_CertifyKey_Internal(TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE certHandle, TCS_KEY_HANDLE keyHandle, TCPA_NONCE antiReplay, TPM_AUTH * certAuth, TPM_AUTH * keyAuth, UINT32 * CertifyInfoSize, BYTE ** CertifyInfo, UINT32 * outDataSize, BYTE ** outData) argument
|
H A D | tcsi_quote.c | 33 TCPA_NONCE antiReplay, /* in */ 64 if ((result = tpm_rqu_build(TPM_ORD_Quote, &offset, txBlob, keySlot, antiReplay.nonce, 31 TCSP_Quote_Internal(TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE keyHandle, TCPA_NONCE antiReplay, UINT32 pcrDataSizeIn, BYTE * pcrDataIn, TPM_AUTH * privAuth, UINT32 * pcrDataSizeOut, BYTE ** pcrDataOut, UINT32 * sigSize, BYTE ** sig) argument
|
H A D | tcsi_quote2.c | 33 TCPA_NONCE antiReplay, /* in */ 68 if ((result = tpm_rqu_build(TPM_ORD_Quote2, &offset, txBlob, keySlot, antiReplay.nonce, 31 TCSP_Quote2_Internal(TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE keyHandle, TCPA_NONCE antiReplay, UINT32 pcrDataSizeIn, BYTE * pcrDataIn, TSS_BOOL addVersion, TPM_AUTH * privAuth, UINT32 * pcrDataSizeOut, BYTE ** pcrDataOut, UINT32 * versionInfoSize, BYTE ** versionInfo, UINT32 * sigSize, BYTE ** sig) argument
|
H A D | tcsi_maint.c | 142 TCPA_NONCE antiReplay, /* in */ 155 antiReplay.nonce, PubKeySize, PubKey, NULL))) 172 TCPA_NONCE antiReplay, /* in */ 183 antiReplay.nonce))) 141 TCSP_LoadManuMaintPub_Internal(TCS_CONTEXT_HANDLE hContext, TCPA_NONCE antiReplay, UINT32 PubKeySize, BYTE * PubKey, TCPA_DIGEST * checksum) argument 171 TCSP_ReadManuMaintPub_Internal(TCS_CONTEXT_HANDLE hContext, TCPA_NONCE antiReplay, TCPA_DIGEST * checksum) argument
|
H A D | tcsi_ek.c | 31 TCPA_NONCE antiReplay, /* in */ 47 antiReplay.nonce, endorsementKeyInfoSize, 65 TCPA_NONCE antiReplay, /* in */ 81 antiReplay.nonce))) 167 TPM_NONCE antiReplay, /* in */ 185 antiReplay.nonce, endorsementKeyInfoSize, 30 TCSP_CreateEndorsementKeyPair_Internal(TCS_CONTEXT_HANDLE hContext, TCPA_NONCE antiReplay, UINT32 endorsementKeyInfoSize, BYTE * endorsementKeyInfo, UINT32 * endorsementKeySize, BYTE ** endorsementKey, TCPA_DIGEST * checksum) argument 64 TCSP_ReadPubek_Internal(TCS_CONTEXT_HANDLE hContext, TCPA_NONCE antiReplay, UINT32 * pubEndorsementKeySize, BYTE ** pubEndorsementKey, TCPA_DIGEST * checksum) argument 166 TCSP_CreateRevocableEndorsementKeyPair_Internal(TCS_CONTEXT_HANDLE hContext, TPM_NONCE antiReplay, UINT32 endorsementKeyInfoSize, BYTE * endorsementKeyInfo, TSS_BOOL genResetAuth, TPM_DIGEST * eKResetAuth, UINT32 * endorsementKeySize, BYTE ** endorsementKey, TPM_DIGEST * checksum) argument
|
H A D | tcsi_selftest.c | 56 TCPA_NONCE antiReplay, /* in */ 84 TPM_NONCE_SIZE, antiReplay.nonce, privAuth, NULL))) 54 TCSP_CertifySelfTest_Internal(TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE keyHandle, TCPA_NONCE antiReplay, TPM_AUTH * privAuth, UINT32 * sigSize, BYTE ** sig) argument
|
H A D | tcsi_tick.c | 58 TPM_NONCE* antiReplay, 83 if ((result = tpm_rqu_build(TPM_ORD_TickStampBlob, &offset, txBlob, keySlot, antiReplay, 56 TCSP_TickStampBlob_Internal(TCS_CONTEXT_HANDLE hContext, TCS_KEY_HANDLE hKey, TPM_NONCE* antiReplay, TPM_DIGEST* digestToStamp, TPM_AUTH* privAuth, UINT32* pulSignatureLength, BYTE** prgbSignature, UINT32* pulTickCountLength, BYTE** prgbTickCount) argument
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_ek.c | 34 TCPA_NONCE antiReplay; local 47 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 65 result = TCSP_CreateEndorsementKeyPair_Internal(hContext, antiReplay, eKPtrSize, eKPtr, 97 TCPA_NONCE antiReplay; local 108 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 113 result = TCSP_ReadPubek_Internal(hContext, antiReplay, &pubEKSize, &pubEK, &checksum); 221 TPM_NONCE antiReplay; local 236 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 264 result = TCSP_CreateRevocableEndorsementKeyPair_Internal(hContext, antiReplay,
|
H A D | rpc_certify.c | 38 TCPA_NONCE antiReplay; local 55 if (getData(TCSD_PACKET_TYPE_NONCE, 3, &antiReplay, 0, &data->comm)) 71 result = TCSP_CertifyKey_Internal(hContext, certHandle, keyHandle, antiReplay, pCertAuth,
|
H A D | rpc_quote.c | 35 TCPA_NONCE antiReplay; local 57 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 82 result = TCSP_Quote_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn,
|
H A D | rpc_maint.c | 204 TCPA_NONCE antiReplay; local 212 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 231 result = TCSP_LoadManuMaintPub_Internal(hContext, antiReplay, pubKeySize, pubKey, 255 TCPA_NONCE antiReplay; local 263 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 268 result = TCSP_ReadManuMaintPub_Internal(hContext, antiReplay, &checksum);
|
H A D | rpc_quote2.c | 36 TCPA_NONCE antiReplay; local 62 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 90 result = TCSP_Quote2_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn,
|
H A D | rpc_selftest.c | 61 TCPA_NONCE antiReplay; local 73 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 86 result = TCSP_CertifySelfTest_Internal(hContext, hKey, antiReplay, pPrivAuth, &sigSize,
|
/netbsd-6-1-5-RELEASE/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_ek.c | 30 TCPA_NONCE antiReplay, /* in */ 46 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) 87 TCPA_NONCE antiReplay, /* in */ 101 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) 219 TPM_NONCE antiReplay, /* in */ 236 if (setData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &hte->comm)) 29 RPC_CreateEndorsementKeyPair_TP(struct host_table_entry *hte, TCPA_NONCE antiReplay, UINT32 endorsementKeyInfoSize, BYTE * endorsementKeyInfo, UINT32 * endorsementKeySize, BYTE ** endorsementKey, TCPA_DIGEST * checksum ) argument 86 RPC_ReadPubek_TP(struct host_table_entry *hte, TCPA_NONCE antiReplay, UINT32 * pubEndorsementKeySize, BYTE ** pubEndorsementKey, TCPA_DIGEST * checksum ) argument 218 RPC_CreateRevocableEndorsementKeyPair_TP(struct host_table_entry *hte, TPM_NONCE antiReplay, UINT32 endorsementKeyInfoSize, BYTE * endorsementKeyInfo, TSS_BOOL genResetAuth, TPM_DIGEST * eKResetAuth, UINT32 * endorsementKeySize, BYTE ** endorsementKey, TPM_DIGEST * checksum) argument
|
H A D | rpc_certify.c | 32 TPM_NONCE * antiReplay, /* in */ 56 if (setData(TCSD_PACKET_TYPE_NONCE, 3, antiReplay, 0, &hte->comm)) 29 RPC_CertifyKey_TP(struct host_table_entry *hte, TCS_KEY_HANDLE certHandle, TCS_KEY_HANDLE keyHandle, TPM_NONCE * antiReplay, TPM_AUTH * certAuth, TPM_AUTH * keyAuth, UINT32 * CertifyInfoSize, BYTE ** CertifyInfo, UINT32 * outDataSize, BYTE ** outData ) argument
|
H A D | rpc_quote.c | 31 TCPA_NONCE *antiReplay, /* in */ 52 if (setData(TCSD_PACKET_TYPE_NONCE, 2, antiReplay, 0, &hte->comm)) 29 RPC_Quote_TP(struct host_table_entry *hte, TCS_KEY_HANDLE keyHandle, TCPA_NONCE *antiReplay, UINT32 pcrDataSizeIn, BYTE * pcrDataIn, TPM_AUTH * privAuth, UINT32 * pcrDataSizeOut, BYTE ** pcrDataOut, UINT32 * sigSize, BYTE ** sig) argument
|