1TPMLIB_SetBufferSize(3)                                TPMLIB_SetBufferSize(3)
2
3
4

NAME

6       TPMLIB_SetBufferSize  - Set the TPM's I/O buffer size
7

LIBRARY

9       TPM library (libtpms, -ltpms)
10

SYNOPSIS

12       #include <libtpms/tpm_library.h>
13
14       uint32_t TPMLIB_SetBufferSize(uint32_t, uint32_t *, uint32_t *);
15

DESCRIPTION

17       The TPMLIB_SetBufferSize() function sets the size of the buffer the TPM
18       can use for input and output and that it advertises to users.  It also
19       allows to get the minimum and maximum supported buffer size.
20
21       If 0 is given on input, the currently used buffer size is returned.
22       Any other number will try to change the buffer size. The returned size
23       may be smaller than the requested one, if the requested one was above a
24       maximum. The returned size may be larger than the requested one, if the
25       requested one was below a minimum.
26
27       This function must be called after TPMLIB_ChooseTPMVersion() has been
28       called. It should not be called after TPMLIB_MainInit() has been called
29       but can again be called once TPMLIB_Terminate() has been called.
30

SEE ALSO

32       TPMLIB_ChooseTPMVersion(3), TPMLIB_MainInit(3), TPMLIB_Terminat(3)
33
34
35
36libtpms                           2017-11-05           TPMLIB_SetBufferSize(3)
Impressum