=head1 NAME TPMLIB_ValidateState - Validate the state blobs of the TPM =head1 LIBRARY TPM library (libtpms, -ltpms) =head1 SYNOPSIS B<#include > B =head1 DESCRIPTION The B function allows to validate the state blobs that the TPM would read upon B or once the TPM_Startup command has been sent to it. This function is useful for TPM state migration between possibly different version of libtpms. Here the target libtpms needs to be able to determine whether it can support the version of blobs that were migrated and if this is not the case, the caller can refuse the migration. The B parameter can be a logical 'or' of one or multiple of of the following: B, B, or B. The B parameter is currently not used and should be set to 0. The first state blob that should be loaded is the permanent state, since for example the volatile state requires it to be available for validation. This function should be called before B is invoked. =head1 SEE ALSO B(3), B(3) =cut