VirtualBox

source: vbox/trunk/src/libs/libtpms-0.9.0/man/man3/TPMLIB_SetBufferSize.pod@ 91612

Last change on this file since 91612 was 91612, checked in by vboxsync, 4 years ago

src/libs: Export libtpms-0.9.0, bugref:10078

File size: 1.1 KB
Line 
1=head1 NAME
2
3TPMLIB_SetBufferSize - Set the TPM's I/O buffer size
4
5=head1 LIBRARY
6
7TPM library (libtpms, -ltpms)
8
9=head1 SYNOPSIS
10
11B<#include <libtpms/tpm_library.h>>
12
13B<uint32_t TPMLIB_SetBufferSize(uint32_t, uint32_t *, uint32_t *);>
14
15=head1 DESCRIPTION
16
17The B<TPMLIB_SetBufferSize()> function sets the size of the buffer
18the TPM can use for input and output and that it advertises to users.
19It also allows to get the minimum and maximum supported buffer
20size.
21
22If 0 is given on input, the currently used buffer size is returned.
23Any other number will try to change the buffer size. The returned
24size may be smaller than the requested one, if the requested one was
25above a maximum. The returned size may be larger than the requested
26one, if the requested one was below a minimum.
27
28This function must be called after B<TPMLIB_ChooseTPMVersion()> has
29been called. It should not be called after B<TPMLIB_MainInit()> has
30been called but can again be called once B<TPMLIB_Terminate()> has
31been called.
32
33=head1 SEE ALSO
34
35B<TPMLIB_ChooseTPMVersion>(3), B<TPMLIB_MainInit>(3), B<TPMLIB_Terminate>(3)
36
37=cut
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette