/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcs_utils.c | 212 UnloadBlob(UINT64 *offset, UINT32 size, BYTE *container, BYTE *object) in UnloadBlob() function 278 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, NULL); in UnloadBlob_Auth() 280 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, NULL); in UnloadBlob_Auth() 285 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, auth->NonceEven.nonce); in UnloadBlob_Auth() 287 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, (BYTE *)&auth->HMAC); in UnloadBlob_Auth() 348 UnloadBlob(offset, parmSize, blob, NULL); in UnloadBlob_KEY_PARMS() 368 UnloadBlob(offset, keyParms->parmSize, blob, keyParms->parms); in UnloadBlob_KEY_PARMS() 403 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, NULL); in UnloadBlob_CERTIFY_INFO() 404 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, NULL); in UnloadBlob_CERTIFY_INFO() 409 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_CERTIFY_INFO() [all …]
|
H A D | tcs_seal.c | 40 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_STORED_DATA() 45 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_STORED_DATA() 61 UnloadBlob(offset, data->sealInfoSize, blob, data->sealInfo); in UnloadBlob_STORED_DATA() 78 UnloadBlob(offset, data->encDataSize, blob, data->encData); in UnloadBlob_STORED_DATA()
|
H A D | tcs_quote.c | 46 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_PCR_SELECTION() 58 UnloadBlob(offset, pcr->sizeOfSelect, blob, pcr->pcrSelect); in UnloadBlob_PCR_SELECTION() 83 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_PCR_COMPOSITE() 98 UnloadBlob(offset, out->valueSize, blob, (BYTE *) out->pcrValue); in UnloadBlob_PCR_COMPOSITE()
|
H A D | tcs_pbg.c | 83 UnloadBlob(&offset1, *len1, b, *blob1); in tpm_rsp_parse() 119 UnloadBlob(&offset1, *len1, b, *blob1); in tpm_rsp_parse() 130 UnloadBlob(&offset1, *len2, b, *blob2); in tpm_rsp_parse() 165 UnloadBlob(&offset1, *len1, b, *blob1); in tpm_rsp_parse() 176 UnloadBlob(&offset1, *len2, b, *blob2); in tpm_rsp_parse() 219 UnloadBlob(&offset1, *len1, b, *blob1); /* TPM_PCR_INFO_SHORT */ in tpm_rsp_parse() 233 UnloadBlob(&offset1, *len2, b, *blob2); in tpm_rsp_parse() 252 UnloadBlob(&offset1, *len3, b, *blob3); in tpm_rsp_parse() 293 UnloadBlob(&offset1, *len1, b, *blob1); in tpm_rsp_parse() 304 UnloadBlob(&offset1, *len2, b, *blob2); in tpm_rsp_parse() [all …]
|
H A D | tcs_migration.c | 39 UnloadBlob(offset, 20, blob, NULL); in UnloadBlob_MIGRATIONKEYAUTH() 48 UnloadBlob(offset, 20, blob, mkAuth->digest.digest); in UnloadBlob_MIGRATIONKEYAUTH()
|
H A D | tcs_counter.c | 38 UnloadBlob(offset, 4, blob, NULL); in UnloadBlob_COUNTER_VALUE() 44 UnloadBlob(offset, 4, blob, (BYTE *)&ctr->label); in UnloadBlob_COUNTER_VALUE()
|
H A D | tcs_key.c | 391 UnloadBlob(offset, keyLength, blob, NULL); in UnloadBlob_STORE_PUBKEY() 409 UnloadBlob(offset, store->keyLength, blob, store->key); in UnloadBlob_STORE_PUBKEY() 441 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_TSS_KEY() 449 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_TSS_KEY() 478 UnloadBlob(offset, key->PCRInfoSize, blob, key->PCRInfo); in UnloadBlob_TSS_KEY() 510 UnloadBlob(offset, key->encSize, blob, key->encData); in UnloadBlob_TSS_KEY()
|
H A D | tcsi_changeauth.c | 243 UnloadBlob(&offset, *sigSize, txBlob, *sig); in TCSP_ChangeAuthAsymStart_Internal() 345 UnloadBlob(&offset, *encDataSizeOut, txBlob, *encDataOut); in TCSP_ChangeAuthAsymFinish_Internal() 346 UnloadBlob(&offset, 20, txBlob, saltNonce->nonce); in TCSP_ChangeAuthAsymFinish_Internal() 347 UnloadBlob(&offset, 20, txBlob, changeProof->digest); in TCSP_ChangeAuthAsymFinish_Internal()
|
H A D | tcsi_tick.c | 110 UnloadBlob(offset, sizeof(TPM_NONCE), b, NULL); in UnloadBlob_CURRENT_TICKS() 118 UnloadBlob(offset, sizeof(TPM_NONCE), b, (BYTE *)&t->tickNonce); in UnloadBlob_CURRENT_TICKS()
|
H A D | tcsi_transport.c | 103 UnloadBlob(&offset, *ulCurrentTicks, txBlob, *prgbCurrentTicks); in TCSP_EstablishTransport_Internal() 104 UnloadBlob(&offset, sizeof(TPM_NONCE), txBlob, (BYTE *)pTransNonce); in TCSP_EstablishTransport_Internal() 494 UnloadBlob(&offset, *pulCurrentTicksSize, txBlob, *prgbCurrentTicks); in TCSP_ReleaseTransportSigned_Internal() 504 UnloadBlob(&offset, *pulSignatureSize, txBlob, *prgbSignature); in TCSP_ReleaseTransportSigned_Internal()
|
H A D | tcs_aik.c | 59 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_SYMMETRIC_KEY() 75 UnloadBlob(offset, key->size, blob, key->data); in UnloadBlob_SYMMETRIC_KEY()
|
H A D | tcsi_daa.c | 98 UnloadBlob( &offset, *outputSize, txBlob, *outputData); in TCSP_DaaJoin_internal() 179 UnloadBlob(&offset, *outputSize, txBlob, *outputData); in TCSP_DaaSign_internal()
|
H A D | tcsi_random.c | 75 UnloadBlob(&offset, bytesReturned, txBlob, &rnd_tmp[totalReturned]); in TCSP_GetRandom_Internal()
|
H A D | tcs_auth_mgr.c | 551 UnloadBlob(&offset, bsize, txBlob, *blob); in TPM_SaveAuthContext()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_ps.c | 405 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, NULL); in UnloadBlob_LOADKEY_INFO() 407 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, NULL); in UnloadBlob_LOADKEY_INFO() 408 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, NULL); in UnloadBlob_LOADKEY_INFO() 410 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, NULL); in UnloadBlob_LOADKEY_INFO() 417 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, info->paramDigest.digest); in UnloadBlob_LOADKEY_INFO() 419 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, (BYTE *)&info->authData.NonceOdd.nonce); in UnloadBlob_LOADKEY_INFO() 420 UnloadBlob(offset, TCPA_NONCE_SIZE, blob, (BYTE *)&info->authData.NonceEven.nonce); in UnloadBlob_LOADKEY_INFO() 422 UnloadBlob(offset, TCPA_DIGEST_SIZE, blob, (BYTE *)&info->authData.HMAC); in UnloadBlob_LOADKEY_INFO() 445 UnloadBlob(offset, 6, blob, NULL); in UnloadBlob_UUID() 456 UnloadBlob(offset, 6, blob, uuid->rgbNode); in UnloadBlob_UUID() [all …]
|
H A D | rpc.c | 51 UnloadBlob(offset, TCPA_SHA1BASED_NONCE_LEN, blob, auth->NonceOdd.nonce); in UnloadBlob_Auth_Special() 53 UnloadBlob(offset, TCPA_SHA1BASED_NONCE_LEN, blob, (BYTE *)&auth->HMAC); in UnloadBlob_Auth_Special() 277 UnloadBlob(&offset, theDataSize, comm->buf, theData); in getData() 283 UnloadBlob(&offset, sizeof(TCPA_NONCE), comm->buf, in getData() 290 UnloadBlob(&offset, sizeof(TCPA_DIGEST), comm->buf, in getData() 305 UnloadBlob(&offset, sizeof(TCPA_ENCAUTH), comm->buf, in getData() 361 UnloadBlob(&offset, sizeof(TCPA_SECRET), comm->buf, in getData()
|
H A D | rpc_evlog.c | 274 UnloadBlob(offset, event->ulPcrValueLength, blob, event->rgbPcrValue); in UnloadBlob_PCR_EVENT() 288 UnloadBlob(offset, event->ulEventLength, blob, event->rgbEvent); in UnloadBlob_PCR_EVENT()
|
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_utils.h | 204 void UnloadBlob(UINT64 *, UINT32, BYTE *, BYTE *);
|