| /src/crypto/external/cpl/trousers/dist/src/tspi/ |
| tspi_ek.c | 30 TCPA_NONCE antiReplay; 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; [all...] |
| tspi_certify.c | 35 TCPA_NONCE antiReplay; 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,
|
| tspi_selftest.c | 46 TCPA_NONCE antiReplay; 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);
|
| tspi_quote.c | 38 TCPA_NONCE antiReplay; 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, 182 /* 4. AntiReplay Nonce */ 184 antiReplay.nonce);
|
| tspi_quote2.c | 42 TPM_NONCE antiReplay; 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 /* 3. AntiReplay Nonce - add the external data*/ 208 antiReplay.nonce) [all...] |
| 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,
|
| tsp_certify.c | 29 TPM_NONCE * antiReplay, /* in */ 70 Trspi_LoadBlob_NONCE(&offset, data, antiReplay);
|
| tspi_audit.c | 140 TPM_NONCE antiReplay; 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;
|
| tsp_quote.c | 29 TCPA_NONCE *antiReplay, /* in */ 72 Trspi_LoadBlob_NONCE(&offset, data, antiReplay);
|
| /src/crypto/external/cpl/trousers/dist/src/tcs/ |
| tcsi_certify.c | 34 TCPA_NONCE antiReplay, /* in */ 75 antiReplay.nonce, certAuth, keyAuth)))
|
| tcsi_quote.c | 33 TCPA_NONCE antiReplay, /* in */ 64 if ((result = tpm_rqu_build(TPM_ORD_Quote, &offset, txBlob, keySlot, antiReplay.nonce,
|
| tcsi_quote2.c | 33 TCPA_NONCE antiReplay, /* in */ 68 if ((result = tpm_rqu_build(TPM_ORD_Quote2, &offset, txBlob, keySlot, antiReplay.nonce,
|
| tcsi_maint.c | 142 TCPA_NONCE antiReplay, /* in */ 155 antiReplay.nonce, PubKeySize, PubKey, NULL))) 172 TCPA_NONCE antiReplay, /* in */ 183 antiReplay.nonce)))
|
| 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,
|
| tcsi_selftest.c | 56 TCPA_NONCE antiReplay, /* in */ 84 TPM_NONCE_SIZE, antiReplay.nonce, privAuth, NULL)))
|
| tcsi_tick.c | 58 TPM_NONCE* antiReplay, 83 if ((result = tpm_rqu_build(TPM_ORD_TickStampBlob, &offset, txBlob, keySlot, antiReplay,
|
| /src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| rpc_ek.c | 34 TCPA_NONCE antiReplay; 50 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 68 result = TCSP_CreateEndorsementKeyPair_Internal(hContext, antiReplay, eKPtrSize, eKPtr, 100 TCPA_NONCE antiReplay; 114 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 119 result = TCSP_ReadPubek_Internal(hContext, antiReplay, &pubEKSize, &pubEK, &checksum); 230 TPM_NONCE antiReplay; 248 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 276 result = TCSP_CreateRevocableEndorsementKeyPair_Internal(hContext, antiReplay,
|
| rpc_certify.c | 38 TCPA_NONCE antiReplay; 58 if (getData(TCSD_PACKET_TYPE_NONCE, 3, &antiReplay, 0, &data->comm)) 74 result = TCSP_CertifyKey_Internal(hContext, certHandle, keyHandle, antiReplay, pCertAuth,
|
| rpc_quote.c | 35 TCPA_NONCE antiReplay; 60 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 85 result = TCSP_Quote_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn,
|
| rpc_maint.c | 213 TCPA_NONCE antiReplay; 224 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 243 result = TCSP_LoadManuMaintPub_Internal(hContext, antiReplay, pubKeySize, pubKey, 267 TCPA_NONCE antiReplay; 278 if (getData(TCSD_PACKET_TYPE_NONCE, 1, &antiReplay, 0, &data->comm)) 283 result = TCSP_ReadManuMaintPub_Internal(hContext, antiReplay, &checksum);
|
| rpc_quote2.c | 36 TCPA_NONCE antiReplay; 65 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 93 result = TCSP_Quote2_Internal(hContext, hKey, antiReplay, pcrDataSizeIn, pcrDataIn,
|
| rpc_selftest.c | 61 TCPA_NONCE antiReplay; 76 if (getData(TCSD_PACKET_TYPE_NONCE, 2, &antiReplay, 0, &data->comm)) 89 result = TCSP_CertifySelfTest_Internal(hContext, hKey, antiReplay, pPrivAuth, &sigSize,
|
| /src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
| 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))
|
| rpc_certify.c | 32 TPM_NONCE * antiReplay, /* in */ 56 if (setData(TCSD_PACKET_TYPE_NONCE, 3, antiReplay, 0, &hte->comm))
|
| rpc_quote.c | 31 TCPA_NONCE *antiReplay, /* in */ 52 if (setData(TCSD_PACKET_TYPE_NONCE, 2, antiReplay, 0, &hte->comm))
|