Home
last modified time | relevance | path

Searched refs:pubEKSize (Results 1 – 3 of 3) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtsp_ek.c29 UINT32 tpmVersion, pubEKSize; in owner_get_pubek() local
57 &ownerAuth, &pubEKSize, in owner_get_pubek()
64 result |= Trspi_HashUpdate(&hashCtx, pubEKSize, pubEK); in owner_get_pubek()
82 &pubEKSize, &pubEK))) in owner_get_pubek()
88 result |= Trspi_HashUpdate(&hashCtx, pubEKSize, pubEK); in owner_get_pubek()
H A Dtspi_ek.c143 UINT32 pubEKSize; in Tspi_TPM_GetPubEndorsementKey() local
178 if ((result = TCS_API(tspContext)->ReadPubek(tspContext, antiReplay, &pubEKSize, &pubEK, in Tspi_TPM_GetPubEndorsementKey()
185 result |= Trspi_HashUpdate(&hashCtx, pubEKSize, pubEK); in Tspi_TPM_GetPubEndorsementKey()
216 pValidationData->ulDataLength = pubEKSize + TCPA_SHA1_160_HASH_LEN; in Tspi_TPM_GetPubEndorsementKey()
227 memcpy(pValidationData->rgbData, pubEK, pubEKSize); in Tspi_TPM_GetPubEndorsementKey()
228 memcpy(&pValidationData->rgbData[pubEKSize], antiReplay.nonce, in Tspi_TPM_GetPubEndorsementKey()
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_ek.c101 UINT32 pubEKSize; in tcs_wrap_ReadPubek() local
119 result = TCSP_ReadPubek_Internal(hContext, antiReplay, &pubEKSize, &pubEK, &checksum); in tcs_wrap_ReadPubek()
125 if (setData(TCSD_PACKET_TYPE_UINT32, 0, &pubEKSize, 0, &data->comm)) { in tcs_wrap_ReadPubek()
129 if (setData(TCSD_PACKET_TYPE_PBYTE, 1, pubEK, pubEKSize, &data->comm)) { in tcs_wrap_ReadPubek()
148 UINT32 pubEKSize; in tcs_wrap_OwnerReadPubek() local
166 result = TCSP_OwnerReadPubek_Internal(hContext, &auth, &pubEKSize, &pubEK); in tcs_wrap_OwnerReadPubek()
176 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pubEKSize, 0, &data->comm)) { in tcs_wrap_OwnerReadPubek()
180 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, pubEK, pubEKSize, &data->comm)) { in tcs_wrap_OwnerReadPubek()