Searched refs:pubKeySize (Results 1 – 5 of 5) sorted by relevance
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
| D | rpc_maint.c | 211 UINT32 pubKeySize; in tcs_wrap_LoadManuMaintPub() local 227 if (getData(TCSD_PACKET_TYPE_UINT32, 2, &pubKeySize, 0, &data->comm)) in tcs_wrap_LoadManuMaintPub() 230 pubKey = (BYTE *)malloc(pubKeySize); in tcs_wrap_LoadManuMaintPub() 232 LogError("malloc of %d bytes failed.", pubKeySize); in tcs_wrap_LoadManuMaintPub() 236 if (getData(TCSD_PACKET_TYPE_PBYTE, 3, pubKey, pubKeySize, &data->comm)) { in tcs_wrap_LoadManuMaintPub() 243 result = TCSP_LoadManuMaintPub_Internal(hContext, antiReplay, pubKeySize, pubKey, in tcs_wrap_LoadManuMaintPub()
|
| D | rpc_key.c | 67 UINT32 pubKeySize; in tcs_wrap_GetPubkey() local 93 result = TCSP_GetPubKey_Internal(hContext, hKey, pAuth, &pubKeySize, &pubKey); in tcs_wrap_GetPubkey() 105 if (setData(TCSD_PACKET_TYPE_UINT32, i++, &pubKeySize, 0, &data->comm)) { in tcs_wrap_GetPubkey() 109 if (setData(TCSD_PACKET_TYPE_PBYTE, i++, pubKey, pubKeySize, &data->comm)) { in tcs_wrap_GetPubkey() 389 UINT32 pubKeySize; in tcs_wrap_OwnerReadInternalPub() local 408 … result = TCSP_OwnerReadInternalPub_Internal(hContext, hKey, &ownerAuth, &pubKeySize, &pubKeyData); in tcs_wrap_OwnerReadInternalPub() 416 if (setData(TCSD_PACKET_TYPE_UINT32, 1, &pubKeySize, 0, &data->comm)) in tcs_wrap_OwnerReadInternalPub() 418 if (setData(TCSD_PACKET_TYPE_PBYTE, 2, pubKeyData, pubKeySize, &data->comm)) in tcs_wrap_OwnerReadInternalPub()
|
| /netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/ |
| D | tspi_sign.c | 111 UINT32 pubKeySize; in Tspi_Hash_VerifySignature() local 123 if ((result = obj_rsakey_get_modulus(hKey, &pubKeySize, &pubKey))) in Tspi_Hash_VerifySignature() 137 result = Trspi_Verify(TSS_HASH_SHA1, hashData, hashDataSize, pubKey, pubKeySize, in Tspi_Hash_VerifySignature() 140 … result = Trspi_Verify(TSS_HASH_OTHER, hashData, hashDataSize, pubKey, pubKeySize, in Tspi_Hash_VerifySignature()
|
| D | tspi_migration.c | 41 UINT32 pubKeySize; in Tspi_TPM_AuthorizeMigrationTicket() local 97 pubKeySize = offset; in Tspi_TPM_AuthorizeMigrationTicket() 104 result |= Trspi_HashUpdate(&hashCtx, pubKeySize, pubKeyBlob); in Tspi_TPM_AuthorizeMigrationTicket() 114 … pubKeySize, pubKeyBlob, &ownerAuth, in Tspi_TPM_AuthorizeMigrationTicket()
|
| D | tspi_cmk.c | 129 UINT32 pubKeySize; in Tspi_TPM_CMKCreateTicket() local 148 if ((result = obj_rsakey_get_pub_blob(hVerifyKey, &pubKeySize, &pubKey))) in Tspi_TPM_CMKCreateTicket() 161 result |= Trspi_HashUpdate(&hashCtx, pubKeySize, pubKey); in Tspi_TPM_CMKCreateTicket() 172 if ((result = RPC_CMK_CreateTicket(hContext, pubKeySize, pubKey, sigData, sigSize, sig, in Tspi_TPM_CMKCreateTicket()
|