Home
last modified time | relevance | path

Searched refs:UnloadBlob (Results 1 – 18 of 18) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcs_utils.c212 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 Dtcs_seal.c40 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 Dtcs_quote.c46 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 Dtcs_pbg.c83 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 Dtcs_migration.c39 UnloadBlob(offset, 20, blob, NULL); in UnloadBlob_MIGRATIONKEYAUTH()
48 UnloadBlob(offset, 20, blob, mkAuth->digest.digest); in UnloadBlob_MIGRATIONKEYAUTH()
H A Dtcs_counter.c38 UnloadBlob(offset, 4, blob, NULL); in UnloadBlob_COUNTER_VALUE()
44 UnloadBlob(offset, 4, blob, (BYTE *)&ctr->label); in UnloadBlob_COUNTER_VALUE()
H A Dtcs_key.c391 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 Dtcsi_changeauth.c243 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 Dtcsi_tick.c110 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 Dtcsi_transport.c103 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 Dtcs_aik.c59 UnloadBlob(offset, size, blob, NULL); in UnloadBlob_SYMMETRIC_KEY()
75 UnloadBlob(offset, key->size, blob, key->data); in UnloadBlob_SYMMETRIC_KEY()
H A Dtcsi_daa.c98 UnloadBlob( &offset, *outputSize, txBlob, *outputData); in TCSP_DaaJoin_internal()
179 UnloadBlob(&offset, *outputSize, txBlob, *outputData); in TCSP_DaaSign_internal()
H A Dtcsi_random.c75 UnloadBlob(&offset, bytesReturned, txBlob, &rnd_tmp[totalReturned]); in TCSP_GetRandom_Internal()
H A Dtcs_auth_mgr.c551 UnloadBlob(&offset, bsize, txBlob, *blob); in TPM_SaveAuthContext()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_ps.c405 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 Drpc.c51 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 Drpc_evlog.c274 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 Dtcs_utils.h204 void UnloadBlob(UINT64 *, UINT32, BYTE *, BYTE *);