Home
last modified time | relevance | path

Searched refs:migAuth (Results 1 – 3 of 3) sorted by relevance

/netbsd/src/crypto/external/cpl/trousers/dist/src/tspi/
Dtspi_migration.c164 TCPA_MIGRATIONKEYAUTH migAuth; in Tspi_Key_CreateMigrationBlob() local
199 __tspi_memset(&migAuth, 0, sizeof(TCPA_MIGRATIONKEYAUTH)); in Tspi_Key_CreateMigrationBlob()
202 if ((result = Trspi_UnloadBlob_MIGRATIONKEYAUTH(&offset, rgbMigTicket, &migAuth))) in Tspi_Key_CreateMigrationBlob()
206 free(migAuth.migrationKey.algorithmParms.parms); in Tspi_Key_CreateMigrationBlob()
207 migAuth.migrationKey.algorithmParms.parmSize = 0; in Tspi_Key_CreateMigrationBlob()
208 free(migAuth.migrationKey.pubKey.key); in Tspi_Key_CreateMigrationBlob()
209 migAuth.migrationKey.pubKey.keyLength = 0; in Tspi_Key_CreateMigrationBlob()
218 result |= Trspi_Hash_UINT16(&hashCtx, migAuth.migrationScheme); in Tspi_Key_CreateMigrationBlob()
243migAuth.migrationScheme, in Tspi_Key_CreateMigrationBlob()
/netbsd/src/crypto/external/cpl/trousers/dist/src/trspi/
Dtrousers.c2612 Trspi_UnloadBlob_MIGRATIONKEYAUTH(UINT64 *offset, BYTE *blob, TPM_MIGRATIONKEYAUTH *migAuth) in Trspi_UnloadBlob_MIGRATIONKEYAUTH() argument
2616 if (!migAuth) { in Trspi_UnloadBlob_MIGRATIONKEYAUTH()
2624 if ((result = Trspi_UnloadBlob_PUBKEY(offset, blob, &migAuth->migrationKey))) in Trspi_UnloadBlob_MIGRATIONKEYAUTH()
2627 Trspi_UnloadBlob_UINT16(offset, &migAuth->migrationScheme, blob); in Trspi_UnloadBlob_MIGRATIONKEYAUTH()
2628 Trspi_UnloadBlob_DIGEST(offset, blob, &migAuth->digest); in Trspi_UnloadBlob_MIGRATIONKEYAUTH()
2634 Trspi_LoadBlob_MIGRATIONKEYAUTH(UINT64 *offset, BYTE *blob, TPM_MIGRATIONKEYAUTH *migAuth) in Trspi_LoadBlob_MIGRATIONKEYAUTH() argument
2636 Trspi_LoadBlob_PUBKEY(offset, blob, &migAuth->migrationKey); in Trspi_LoadBlob_MIGRATIONKEYAUTH()
2637 Trspi_LoadBlob_UINT16(offset, migAuth->migrationScheme, blob); in Trspi_LoadBlob_MIGRATIONKEYAUTH()
2638 Trspi_LoadBlob_DIGEST(offset, blob, &migAuth->digest); in Trspi_LoadBlob_MIGRATIONKEYAUTH()
/netbsd/src/crypto/external/cpl/trousers/dist/src/include/trousers/
Dtrousers.h49 …ESULT Trspi_UnloadBlob_MIGRATIONKEYAUTH(UINT64 *offset, BYTE *blob, TPM_MIGRATIONKEYAUTH *migAuth);
127 void Trspi_LoadBlob_MIGRATIONKEYAUTH(UINT64 *offset, BYTE *blob, TPM_MIGRATIONKEYAUTH *migAuth);