HomeSort by: relevance | last modified time | path
    Searched refs:signInfo (Results 1 - 4 of 4) sorted by relevancy

  /src/crypto/external/cpl/trousers/dist/src/tspi/
tspi_transport.c 49 TPM_SIGN_INFO signInfo;
61 memcpy(signInfo.replay.nonce, pValidationData->rgbExternalData, sizeof(TPM_NONCE));
64 (BYTE **)&signInfo.replay.nonce)))
71 &signInfo, &sigLen, &sig)))
76 signInfo.tag = TPM_TAG_SIGNINFO;
77 signInfo.fixed[0] = 'T';
78 signInfo.fixed[1] = 'R';
79 signInfo.fixed[2] = 'A';
80 signInfo.fixed[3] = 'N';
84 result |= Trspi_Hash_SIGN_INFO(&hashCtx, &signInfo);
    [all...]
tspi_tick.c 38 BYTE *hash, *sig, *tc, *signInfo = NULL;
117 if ((signInfo = calloc_tspi(tspContext, signInfoLen)) == NULL) {
125 Trspi_LoadBlob_UINT16(&offset, TPM_TAG_SIGNINFO, signInfo);
126 Trspi_LoadBlob_BYTE(&offset, 'T', signInfo);
127 Trspi_LoadBlob_BYTE(&offset, 'S', signInfo);
128 Trspi_LoadBlob_BYTE(&offset, 'T', signInfo);
129 Trspi_LoadBlob_BYTE(&offset, 'P', signInfo);
130 Trspi_LoadBlob(&offset, sizeof(TPM_NONCE), signInfo, pValidationData->rgbExternalData);
131 Trspi_LoadBlob_UINT32(&offset, sizeof(TPM_DIGEST) + tcLen, signInfo);
132 Trspi_LoadBlob(&offset, sizeof(TPM_DIGEST), signInfo, hash)
    [all...]
tspi_audit.c 145 TPM_SIGN_INFO signInfo;
201 __tspi_memset(&signInfo, 0, sizeof(signInfo));
202 signInfo.tag = TPM_TAG_SIGNINFO;
203 memcpy(signInfo.fixed, "ADIG", strlen("ADIG"));
204 signInfo.replay = antiReplay;
205 signInfo.dataLen = sizeof(auditDigest.digest) + counterValueSize +
207 if ((signInfo.data = malloc(signInfo.dataLen)) == NULL) {
208 LogError("malloc of %u bytes failed.", signInfo.dataLen)
    [all...]
obj_context.c 1323 TPM_SIGN_INFO* signInfo,
1353 result |= Trspi_Hash_NONCE(&hashCtx, signInfo->replay.nonce);
1369 if ((result = RPC_ReleaseTransportSigned(tspContext, tcsKey, &signInfo->replay, pAuth,
1404 result |= Trspi_Hash_NONCE(&hashCtx, signInfo->replay.nonce);
1422 if ((signInfo->data = malloc(sizeof(TPM_DIGEST))) == NULL) {
1427 memcpy(signInfo->data, context->transLogDigest.digest, sizeof(TPM_DIGEST));
1428 signInfo->dataLen = sizeof(TPM_DIGEST);

Completed in 16 milliseconds