Lines Matching refs:keyBlob
59 BYTE *keyBlob; in Tspi_Key_LoadKey() local
75 if ((result = obj_rsakey_get_blob(hKey, &keySize, &keyBlob))) in Tspi_Key_LoadKey()
83 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey()
90 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_LoadKey()
92 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey()
98 free_tspi(tspContext, keyBlob); in Tspi_Key_LoadKey()
107 keyBlob, pAuth, &tcsKey, &keyslot))) { 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
242 if ((result = obj_rsakey_get_blob(hKey, &keySize, &keyBlob))) in Tspi_Key_CreateKey()
272 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_CreateKey()
279 result |= Trspi_HashUpdate(&hashCtx, keySize, keyBlob); in Tspi_Key_CreateKey()
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()
349 BYTE *keyPrivBlob = NULL, *wrappingPubKey = NULL, *keyBlob = NULL; in Tspi_Key_WrapKey() local
379 if ((result = obj_rsakey_get_blob(hKey, &keyBlobLen, &keyBlob))) in Tspi_Key_WrapKey()
403 if ((result = UnloadBlob_TSS_KEY(&offset, keyBlob, &keyContainer))) in Tspi_Key_WrapKey()
440 free_tspi(tspContext, keyBlob); in Tspi_Key_WrapKey()