/netbsd/crypto/external/cpl/trousers/dist/src/tspi/ |
H A D | tspi_ps.c | 126 free (keyBlob); in Tspi_Context_LoadKeyByUUID() 167 BYTE *keyBlob; in Tspi_Context_RegisterKey() local 240 free(keyBlob); in Tspi_Context_UnregisterKey() 244 free(keyBlob); in Tspi_Context_UnregisterKey() 288 free(keyBlob); in Tspi_Context_GetKeyByUUID() 292 free(keyBlob); in Tspi_Context_GetKeyByUUID() 315 BYTE *keyBlob; in Tspi_Context_GetKeyByPublicInfo() local 353 free(keyBlob); in Tspi_Context_GetKeyByPublicInfo() 421 free(keyBlob); in Tspi_Context_GetKeyByPublicInfo() 427 free(keyBlob); in Tspi_Context_GetKeyByPublicInfo() [all …]
|
H A D | tspi_key.c | 59 BYTE *keyBlob; in Tspi_Key_LoadKey() local 83 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey() 92 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey() 98 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey() 108 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey() 112 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey() 218 BYTE *keyBlob = NULL; in Tspi_Key_CreateKey() local 297 memcpy(newKey, keyBlob, keySize); in Tspi_Key_CreateKey() 310 keySize, keyBlob, &newKeySize, in Tspi_Key_CreateKey() 335 free_tspi(tspContext, keyBlob); in Tspi_Key_CreateKey() [all …]
|
H A D | tsp_ps.c | 298 BYTE *keyBlob = NULL; 331 if ((result = TCS_GetRegisteredKeyBlob(tspContext, *uuid, &keyBlobSize, &keyBlob))) 334 if ((result = obj_rsakey_add_by_key(tspContext, uuid, keyBlob, TSS_OBJ_FLAG_SYSTEM_PS, 336 free(keyBlob); 342 free(keyBlob);
|
H A D | tsp_changeauth.c | 279 BYTE *keyBlob; in changeauth_key() local 286 if ((result = obj_rsakey_get_blob(hObjectToChange, &objectLength, &keyBlob))) in changeauth_key() 290 if ((result = UnloadBlob_TSS_KEY(&offset, keyBlob, &keyToChange))) { in changeauth_key() 353 LoadBlob_TSS_KEY(&offset, keyBlob, &keyToChange); in changeauth_key() 356 result = obj_rsakey_set_tcpakey(hObjectToChange, objectLength, keyBlob); in changeauth_key()
|
H A D | obj_policy.c | 1624 TPM_DELEGATE_KEY_BLOB keyBlob; in obj_policy_get_delegate_public() local 1652 &keyBlob))) in obj_policy_get_delegate_public() 1654 *public = keyBlob.pub; in obj_policy_get_delegate_public() 1655 free(keyBlob.additionalArea); in obj_policy_get_delegate_public() 1656 free(keyBlob.sensitiveArea); in obj_policy_get_delegate_public()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/ |
H A D | tcsi_ps.c | 507 BYTE keyBlob[0x1000]; in TCSP_LoadKeyByUUID_Internal() local 508 UINT16 blobSize = sizeof(keyBlob); in TCSP_LoadKeyByUUID_Internal() 527 if (ps_get_key_by_uuid(&pLoadKeyInfo->keyUUID, keyBlob, &blobSize)) in TCSP_LoadKeyByUUID_Internal() 535 blobSize, keyBlob, in TCSP_LoadKeyByUUID_Internal() 556 if (ps_get_key_by_uuid(KeyUUID, keyBlob, &blobSize)) in TCSP_LoadKeyByUUID_Internal() 576 keySize, keyBlob, in TCSP_LoadKeyByUUID_Internal() 590 LoadBlob(&offset, keySize, blob, keyBlob); in TCSP_LoadKeyByUUID_Internal() 608 BYTE ** keyBlob) /* out */ in TCSP_GetRegisteredKeyByPublicInfo_Internal() argument 629 if ((result = ps_get_key_by_pub(&pubKey, keySize, keyBlob))) { in TCSP_GetRegisteredKeyByPublicInfo_Internal()
|
H A D | tcs_key_mem_cache.c | 975 BYTE keyBlob[1024]; in LoadKeyShim() local 1029 LoadBlob_TSS_KEY(&offset, keyBlob, myKey); in LoadKeyShim() 1033 keyBlob, NULL, in LoadKeyShim() 1038 keyBlob, NULL, in LoadKeyShim()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/tcstp/ |
H A D | rpc_ps.c | 34 BYTE ** keyBlob) /* out */ in RPC_GetRegisteredKeyByPublicInfo_TP() argument 61 *keyBlob = (BYTE *) malloc(*keySize); in RPC_GetRegisteredKeyByPublicInfo_TP() 62 if (*keyBlob == NULL) { in RPC_GetRegisteredKeyByPublicInfo_TP() 67 if (getData(TCSD_PACKET_TYPE_PBYTE, 1, *keyBlob, *keySize, &hte->comm)) { in RPC_GetRegisteredKeyByPublicInfo_TP() 68 free(*keyBlob); in RPC_GetRegisteredKeyByPublicInfo_TP()
|
/netbsd/crypto/external/cpl/trousers/dist/src/tcs/rpc/tcstp/ |
H A D | rpc_ps.c | 338 BYTE *rgbPublicInfo, *keyBlob; in tcs_wrap_GetRegisteredKeyByPublicInfo() local 364 ulPublicInfoLength, rgbPublicInfo, &keySize, &keyBlob); in tcs_wrap_GetRegisteredKeyByPublicInfo() 370 free(keyBlob); in tcs_wrap_GetRegisteredKeyByPublicInfo() 373 if (setData(TCSD_PACKET_TYPE_PBYTE, 1, keyBlob, keySize, &data->comm)) { in tcs_wrap_GetRegisteredKeyByPublicInfo() 374 free(keyBlob); in tcs_wrap_GetRegisteredKeyByPublicInfo() 377 free(keyBlob); in tcs_wrap_GetRegisteredKeyByPublicInfo()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/tss/ |
H A D | tcs.h | 90 BYTE** keyBlob // out
|
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/ |
H A D | tcs_api.c | 68 UINT32 * keySize, BYTE ** keyBlob) in RPC_GetRegisteredKeyByPublicInfo() argument 81 keyBlob); in RPC_GetRegisteredKeyByPublicInfo()
|
/netbsd/crypto/external/cpl/trousers/dist/src/include/ |
H A D | tcs_utils.h | 282 UINT32 * keySize, BYTE ** keyBlob);
|
/netbsd/crypto/external/cpl/trousers/dist/ |
H A D | ChangeLog | 710 - In Tspi_Context_LoadKeyByUUID, the uninitialized keyBlob variable
|