=head1 NAME TPMLIB_SetBufferSize - Set the TPM's I/O buffer size =head1 LIBRARY TPM library (libtpms, -ltpms) =head1 SYNOPSIS B<#include > B =head1 DESCRIPTION The B function sets the size of the buffer the TPM can use for input and output and that it advertises to users. It also allows to get the minimum and maximum supported buffer size. If 0 is given on input, the currently used buffer size is returned. Any other number will try to change the buffer size. The returned size may be smaller than the requested one, if the requested one was above a maximum. The returned size may be larger than the requested one, if the requested one was below a minimum. This function must be called after B has been called. It should not be called after B has been called but can again be called once B has been called. =head1 SEE ALSO B(3), B(3), B(3) =cut