Lines Matching full:the
6 * This file is licensed under the terms of the 3-clause BSD license
26 * the ptm_res as the first element.
27 * ptm_res corresponds to the error code of a command executed by the TPM.
42 /* PTM_GET_TPMESTABLISHED: get the establishment bit */
106 * size of the TPM state blob to transfer; x86_64 can handle 8k,
107 * ppc64le only ~7k; keep the response below a 4k page size
112 * The following is the data structure to get state blobs from the TPM.
113 * If the size of the state blob exceeds the PTM_STATE_BLOB_SIZE, multiple reads
115 * must be transferred and the transfer is done once the last byte has been
117 * It is possible to use the read() interface for reading the data; however, the
118 * first bytes of the state blob will be part of the response to the ioctl(); a
119 * subsequent read() is only necessary if the total length (totlength) exceeds
120 * the number of received bytes. seek() is not supported.
149 * The following is the data structure to set state blobs in the TPM.
150 * If the size of the state blob exceeds the PTM_STATE_BLOB_SIZE, multiple
151 * 'writes' using this ioctl are necessary. The last packet is indicated
152 * by the length being smaller than the PTM_STATE_BLOB_SIZE.
153 * The very first packet may have a length indicator of '0' enabling
154 * a write() with all the bytes from a buffer. If the write() interface
163 uint32_t length; /* length of the data;
164 use 0 on the first packet to
191 * PTM_SET_BUFFERSIZE: Set the buffer size to be used by the TPM.
192 * A 0 on input queries for the current buffer size. Any other
193 * number will try to set the buffer size. The returned number is
194 * the buffer size that will be used, which can be larger than the
195 * requested one, if it was below the minimum, or smaller than the
196 * requested one, if it was above the maximum.
214 * PTM_GET_INFO: Get info about the TPM implementation (from libtpms)
219 * to a client. Therefore, totlength and length will be the same if
242 * PTM_LOCK_STORAGE: Lock the storage and retry n times
313 * Commands used by the non-CUSE TPMs
317 * The return messages only contain the 'resp' part of the unions
318 * in the data structures above. Besides that the limits in the