Home
last modified time | relevance | path

Searched refs:eKResetAuth (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtspi_ek.c276 TPM_DIGEST eKResetAuth; in Tspi_TPM_CreateRevocableEndorsementKey() local
286 __tspi_memset(&eKResetAuth, 0xff, sizeof(eKResetAuth)); in Tspi_TPM_CreateRevocableEndorsementKey()
295 if (*pulEkResetDataLength < sizeof(eKResetAuth.digest)) in Tspi_TPM_CreateRevocableEndorsementKey()
298 memcpy(eKResetAuth.digest, *prgbEkResetData, sizeof(eKResetAuth.digest)); in Tspi_TPM_CreateRevocableEndorsementKey()
337 genResetAuth, &eKResetAuth, &newEKSize, in Tspi_TPM_CreateRevocableEndorsementKey()
392 if ((*prgbEkResetData = calloc_tspi(tspContext, sizeof(eKResetAuth.digest))) == NULL) { in Tspi_TPM_CreateRevocableEndorsementKey()
393 LogError("malloc of %zd bytes failed.", sizeof(eKResetAuth.digest)); in Tspi_TPM_CreateRevocableEndorsementKey()
405 memcpy(*prgbEkResetData, eKResetAuth.digest, sizeof(eKResetAuth.digest)); in Tspi_TPM_CreateRevocableEndorsementKey()
406 *pulEkResetDataLength = sizeof(eKResetAuth.digest); in Tspi_TPM_CreateRevocableEndorsementKey()
421 TPM_DIGEST eKResetAuth; in Tspi_TPM_RevokeEndorsementKey() local
[all …]
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/
H A Drpc_ek.c234 TPM_DIGEST eKResetAuth; in tcs_wrap_CreateRevocableEndorsementKeyPair() local
269 if (getData(TCSD_PACKET_TYPE_DIGEST, 5, &eKResetAuth, 0, &data->comm)) { in tcs_wrap_CreateRevocableEndorsementKeyPair()
277 eKPtrSize, eKPtr, genResetAuth, &eKResetAuth, &eKSize, &eK, &checksum); in tcs_wrap_CreateRevocableEndorsementKeyPair()
285 if (setData(TCSD_PACKET_TYPE_DIGEST, 0, &eKResetAuth, 0, &data->comm)) { in tcs_wrap_CreateRevocableEndorsementKeyPair()
313 TPM_DIGEST eKResetAuth; in tcs_wrap_RevokeEndorsementKeyPair() local
324 if (getData(TCSD_PACKET_TYPE_DIGEST, 1, &eKResetAuth, 0, &data->comm)) in tcs_wrap_RevokeEndorsementKeyPair()
329 result = TCSP_RevokeEndorsementKeyPair_Internal(hContext, eKResetAuth); in tcs_wrap_RevokeEndorsementKeyPair()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/
H A Dtcsi_ek.c171 TPM_DIGEST * eKResetAuth, /* in, out */ in TCSP_CreateRevocableEndorsementKeyPair_Internal() argument
186 endorsementKeyInfo, genResetAuth, eKResetAuth->digest))) in TCSP_CreateRevocableEndorsementKeyPair_Internal()
196 eKResetAuth->digest); in TCSP_CreateRevocableEndorsementKeyPair_Internal()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/
H A Drpc_ek.c223 TPM_DIGEST * eKResetAuth, /* in, out */ in RPC_CreateRevocableEndorsementKeyPair_TP() argument
244 if (setData(TCSD_PACKET_TYPE_DIGEST, 5, eKResetAuth, 0, &hte->comm)) in RPC_CreateRevocableEndorsementKeyPair_TP()
253 if (getData(TCSD_PACKET_TYPE_DIGEST, 0, &(eKResetAuth->digest), 0, &hte->comm)) { in RPC_CreateRevocableEndorsementKeyPair_TP()
/netbsd-src/crypto/external/cpl/trousers/dist/src/tspi/rpc/
H A Dtcs_api.c1651 TPM_DIGEST * eKResetAuth, /* in, out */ in RPC_CreateRevocableEndorsementKeyPair() argument
1668 eKResetAuth, in RPC_CreateRevocableEndorsementKeyPair()
/netbsd-src/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_utils.h746 TPM_DIGEST * eKResetAuth, /* in, out */