Home
last modified time | relevance | path

Searched refs:keyBlob (Results 1 – 13 of 13) sorted by relevance

/netbsd/crypto/external/cpl/trousers/dist/src/tspi/
H A Dtspi_ps.c126 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 Dtspi_key.c59 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 Dtsp_ps.c298 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 Dtsp_changeauth.c279 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 Dobj_policy.c1624 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 Dtcsi_ps.c507 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 Dtcs_key_mem_cache.c975 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 Drpc_ps.c34 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 Drpc_ps.c338 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 Dtcs.h90 BYTE** keyBlob // out
/netbsd/crypto/external/cpl/trousers/dist/src/tspi/rpc/
H A Dtcs_api.c68 UINT32 * keySize, BYTE ** keyBlob) in RPC_GetRegisteredKeyByPublicInfo() argument
81 keyBlob); in RPC_GetRegisteredKeyByPublicInfo()
/netbsd/crypto/external/cpl/trousers/dist/src/include/
H A Dtcs_utils.h282 UINT32 * keySize, BYTE ** keyBlob);
/netbsd/crypto/external/cpl/trousers/dist/
H A DChangeLog710 - In Tspi_Context_LoadKeyByUUID, the uninitialized keyBlob variable