Lines Matching defs:t

51 inline BYTE* pack_BYTE(BYTE* ptr, BYTE t) {  in pack_BYTE()
57 inline BYTE* unpack_BYTE(BYTE* ptr, BYTE* t) { in unpack_BYTE()
63 inline int unpack3_BYTE(BYTE* ptr, UINT32* pos, UINT32 max, BYTE *t) in unpack3_BYTE()
73 #define pack_BOOL(p, t) pack_BYTE(p, t) argument
74 #define unpack_BOOL(p, t) unpack_BYTE(p, t) argument
75 #define unpack3_BOOL(p, x, m, t) unpack3_BYTE(p, x, m, t) argument
76 #define sizeof_BOOL(t) 1 argument
79 inline BYTE* pack_UINT16(void* ptr, UINT16 t) { in pack_UINT16()
86 inline BYTE* unpack_UINT16(void* ptr, UINT16* t) { in unpack_UINT16()
93 inline int unpack3_UINT16(BYTE* ptr, UINT32* pos, UINT32 max, UINT16 *t) in unpack3_UINT16()
103 inline BYTE* pack_UINT32(void* ptr, UINT32 t) { in pack_UINT32()
110 inline BYTE* unpack_UINT32(void* ptr, UINT32* t) { in unpack_UINT32()
117 inline int unpack3_UINT32(BYTE* ptr, UINT32* pos, UINT32 max, UINT32 *t) in unpack3_UINT32()
130 #define pack_TPM_RESULT(p, t) pack_UINT32(p, t) argument
131 #define pack_TPM_PCRINDEX(p, t) pack_UINT32(p, t) argument
132 #define pack_TPM_DIRINDEX(p, t) pack_UINT32(p, t) argument
133 #define pack_TPM_HANDLE(p, t) pack_UINT32(p, t) argument
134 #define pack_TPM_AUTHHANDLE(p, t) pack_TPM_HANDLE(p, t) argument
135 #define pack_TCPA_HASHHANDLE(p, t) pack_TPM_HANDLE(p, t) argument
136 #define pack_TCPA_HMACHANDLE(p, t) pack_TPM_HANDLE(p, t) argument
137 #define pack_TCPA_ENCHANDLE(p, t) pack_TPM_HANDLE(p, t) argument
138 #define pack_TPM_KEY_HANDLE(p, t) pack_TPM_HANDLE(p, t) argument
139 #define pack_TCPA_ENTITYHANDLE(p, t) pack_TPM_HANDLE(p, t) argument
140 #define pack_TPM_RESOURCE_TYPE(p, t) pack_UINT32(p, t) argument
141 #define pack_TPM_COMMAND_CODE(p, t) pack_UINT32(p, t) argument
142 #define pack_TPM_PROTOCOL_ID(p, t) pack_UINT16(p, t) argument
143 #define pack_TPM_AUTH_DATA_USAGE(p, t) pack_BYTE(p, t) argument
144 #define pack_TPM_ENTITY_TYPE(p, t) pack_UINT16(p, t) argument
145 #define pack_TPM_ALGORITHM_ID(p, t) pack_UINT32(p, t) argument
146 #define pack_TPM_KEY_USAGE(p, t) pack_UINT16(p, t) argument
147 #define pack_TPM_STARTUP_TYPE(p, t) pack_UINT16(p, t) argument
148 #define pack_TPM_CAPABILITY_AREA(p, t) pack_UINT32(p, t) argument
149 #define pack_TPM_ENC_SCHEME(p, t) pack_UINT16(p, t) argument
150 #define pack_TPM_SIG_SCHEME(p, t) pack_UINT16(p, t) argument
151 #define pack_TPM_MIGRATE_SCHEME(p, t) pack_UINT16(p, t) argument
152 #define pack_TPM_PHYSICAL_PRESENCE(p, t) pack_UINT16(p, t) argument
153 #define pack_TPM_KEY_FLAGS(p, t) pack_UINT32(p, t) argument
154 #define pack_TPM_LOCALITY_SELECTION(p, t) pack_BYTE(p, t) argument
156 #define unpack_TPM_RESULT(p, t) unpack_UINT32(p, t) argument
157 #define unpack_TPM_PCRINDEX(p, t) unpack_UINT32(p, t) argument
158 #define unpack_TPM_DIRINDEX(p, t) unpack_UINT32(p, t) argument
159 #define unpack_TPM_HANDLE(p, t) unpack_UINT32(p, t) argument
160 #define unpack_TPM_AUTHHANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
161 #define unpack_TCPA_HASHHANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
162 #define unpack_TCPA_HMACHANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
163 #define unpack_TCPA_ENCHANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
164 #define unpack_TPM_KEY_HANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
165 #define unpack_TCPA_ENTITYHANDLE(p, t) unpack_TPM_HANDLE(p, t) argument
166 #define unpack_TPM_RESOURCE_TYPE(p, t) unpack_UINT32(p, t) argument
167 #define unpack_TPM_COMMAND_CODE(p, t) unpack_UINT32(p, t) argument
168 #define unpack_TPM_PROTOCOL_ID(p, t) unpack_UINT16(p, t) argument
169 #define unpack_TPM_AUTH_DATA_USAGE(p, t) unpack_BYTE(p, t) argument
170 #define unpack_TPM_ENTITY_TYPE(p, t) unpack_UINT16(p, t) argument
171 #define unpack_TPM_ALGORITHM_ID(p, t) unpack_UINT32(p, t) argument
172 #define unpack_TPM_KEY_USAGE(p, t) unpack_UINT16(p, t) argument
173 #define unpack_TPM_STARTUP_TYPE(p, t) unpack_UINT16(p, t) argument
174 #define unpack_TPM_CAPABILITY_AREA(p, t) unpack_UINT32(p, t) argument
175 #define unpack_TPM_ENC_SCHEME(p, t) unpack_UINT16(p, t) argument
176 #define unpack_TPM_SIG_SCHEME(p, t) unpack_UINT16(p, t) argument
177 #define unpack_TPM_MIGRATE_SCHEME(p, t) unpack_UINT16(p, t) argument
178 #define unpack_TPM_PHYSICAL_PRESENCE(p, t) unpack_UINT16(p, t) argument
179 #define unpack_TPM_KEY_FLAGS(p, t) unpack_UINT32(p, t) argument
180 #define unpack_TPM_LOCALITY_SELECTION(p, t) unpack_BYTE(p, t) argument
182 #define unpack3_TPM_RESULT(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
183 #define unpack3_TPM_PCRINDEX(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
184 #define unpack3_TPM_DIRINDEX(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
185 #define unpack3_TPM_HANDLE(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
186 #define unpack3_TPM_AUTHHANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
187 #define unpack3_TCPA_HASHHANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
188 #define unpack3_TCPA_HMACHANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
189 #define unpack3_TCPA_ENCHANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
190 #define unpack3_TPM_KEY_HANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
191 #define unpack3_TCPA_ENTITYHANDLE(p, l, m, t) unpack3_TPM_HANDLE(p, l, m, t) argument
192 #define unpack3_TPM_RESOURCE_TYPE(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
193 #define unpack3_TPM_COMMAND_CODE(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
194 #define unpack3_TPM_PROTOCOL_ID(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
195 #define unpack3_TPM_AUTH_DATA_USAGE(p, l, m, t) unpack3_BYTE(p, l, m, t) argument
196 #define unpack3_TPM_ENTITY_TYPE(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
197 #define unpack3_TPM_ALGORITHM_ID(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
198 #define unpack3_TPM_KEY_USAGE(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
199 #define unpack3_TPM_STARTUP_TYPE(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
200 #define unpack3_TPM_CAPABILITY_AREA(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
201 #define unpack3_TPM_ENC_SCHEME(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
202 #define unpack3_TPM_SIG_SCHEME(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
203 #define unpack3_TPM_MIGRATE_SCHEME(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
204 #define unpack3_TPM_PHYSICAL_PRESENCE(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
205 #define unpack3_TPM_KEY_FLAGS(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
206 #define unpack3_TPM_LOCALITY_SELECTION(p, l, m, t) unpack3_BYTE(p, l, m, t) argument
207 #define unpack3_TPM_DEEP_QUOTE_INFO(p, l, m, t) unpack3_UINT32(p, l, m, t) argument
209 #define sizeof_TPM_RESULT(t) sizeof_UINT32(t) argument
210 #define sizeof_TPM_PCRINDEX(t) sizeof_UINT32(t) argument
211 #define sizeof_TPM_DIRINDEX(t) sizeof_UINT32(t) argument
212 #define sizeof_TPM_HANDLE(t) sizeof_UINT32(t) argument
213 #define sizeof_TPM_AUTHHANDLE(t) sizeof_TPM_HANDLE(t) argument
214 #define sizeof_TCPA_HASHHANDLE(t) sizeof_TPM_HANDLE(t) argument
215 #define sizeof_TCPA_HMACHANDLE(t) sizeof_TPM_HANDLE(t) argument
216 #define sizeof_TCPA_ENCHANDLE(t) sizeof_TPM_HANDLE(t) argument
217 #define sizeof_TPM_KEY_HANDLE(t) sizeof_TPM_HANDLE(t) argument
218 #define sizeof_TCPA_ENTITYHANDLE(t) sizeof_TPM_HANDLE(t) argument
219 #define sizeof_TPM_RESOURCE_TYPE(t) sizeof_UINT32(t) argument
220 #define sizeof_TPM_COMMAND_CODE(t) sizeof_UINT32(t) argument
221 #define sizeof_TPM_PROTOCOL_ID(t) sizeof_UINT16(t) argument
222 #define sizeof_TPM_AUTH_DATA_USAGE(t) sizeof_BYTE(t) argument
223 #define sizeof_TPM_ENTITY_TYPE(t) sizeof_UINT16(t) argument
224 #define sizeof_TPM_ALGORITHM_ID(t) sizeof_UINT32(t) argument
225 #define sizeof_TPM_KEY_USAGE(t) sizeof_UINT16(t) argument
226 #define sizeof_TPM_STARTUP_TYPE(t) sizeof_UINT16(t) argument
227 #define sizeof_TPM_CAPABILITY_AREA(t) sizeof_UINT32(t) argument
228 #define sizeof_TPM_ENC_SCHEME(t) sizeof_UINT16(t) argument
229 #define sizeof_TPM_SIG_SCHEME(t) sizeof_UINT16(t) argument
230 #define sizeof_TPM_MIGRATE_SCHEME(t) sizeof_UINT16(t) argument
231 #define sizeof_TPM_PHYSICAL_PRESENCE(t) sizeof_UINT16(t) argument
232 #define sizeof_TPM_KEY_FLAGS(t) sizeof_UINT32(t) argument
233 #define sizeof_TPM_LOCALITY_SELECTION(t) sizeof_BYTE(t) argument
235 #define pack_TPM_AUTH_HANDLE(p, t) pack_UINT32(p, t) argument
236 #define pack_TCS_CONTEXT_HANDLE(p, t) pack_UINT32(p, t) argument
237 #define pack_TCS_KEY_HANDLE(p, t) pack_UINT32(p, t) argument
239 #define unpack_TPM_AUTH_HANDLE(p, t) unpack_UINT32(p, t) argument
240 #define unpack_TCS_CONTEXT_HANDLE(p, t) unpack_UINT32(p, t) argument
241 #define unpack_TCS_KEY_HANDLE(p, t) unpack_UINT32(p, t) argument
243 #define sizeof_TPM_AUTH_HANDLE(t) sizeof_UINT32(t) argument
244 #define sizeof_TCS_CONTEXT_HANDLE(t) sizeof_UINT32(t) argument
245 #define sizeof_TCS_KEY_HANDLE(t) sizeof_UINT32(t) argument
328 #define pack_TPM_SECRET(p, t) pack_TPM_AUTHDATA(p, t) argument
329 #define pack_TPM_ENCAUTH(p, t) pack_TPM_AUTHDATA(p, t) argument
330 #define pack_TPM_PAYLOAD_TYPE(p, t) pack_BYTE(p, t) argument
331 #define pack_TPM_TAG(p, t) pack_UINT16(p, t) argument
332 #define pack_TPM_STRUCTURE_TAG(p, t) pack_UINT16(p, t) argument
334 #define unpack_TPM_SECRET(p, t) unpack_TPM_AUTHDATA(p, t) argument
335 #define unpack_TPM_ENCAUTH(p, t) unpack_TPM_AUTHDATA(p, t) argument
336 #define unpack_TPM_PAYLOAD_TYPE(p, t) unpack_BYTE(p, t) argument
337 #define unpack_TPM_TAG(p, t) unpack_UINT16(p, t) argument
338 #define unpack_TPM_STRUCTURE_TAG(p, t) unpack_UINT16(p, t) argument
339 #define unpack3_TPM_STRUCTURE_TAG(p, l, m, t) unpack3_UINT16(p, l, m, t) argument
341 #define sizeof_TPM_SECRET(t) sizeof_TPM_AUTHDATA(t) argument
342 #define sizeof_TPM_ENCAUTH(t) sizeof_TPM_AUTHDATA(t) argument
343 #define sizeof_TPM_PAYLOAD_TYPE(t) sizeof_BYTE(t) argument
344 #define sizeof_TPM_TAG(t) sizeof_UINT16(t) argument
345 #define sizeof_TPM_STRUCTURE_TAG(t) sizeof_UINT16(t) argument
348 inline BYTE* pack_TPM_VERSION(BYTE* ptr, const TPM_VERSION* t) { in pack_TPM_VERSION()
357 inline BYTE* unpack_TPM_VERSION(BYTE* ptr, TPM_VERSION* t) { in unpack_TPM_VERSION()
366 inline int unpack3_TPM_VERSION(BYTE* ptr, UINT32 *pos, UINT32 max, TPM_VERSION* t) { in unpack3_TPM_VERSION()
923 #define pack_TPM_RSP_HEADER(p, t, s, r) pack_TPM_RQU_HEADER(p, t, s, r) argument
924 #define unpack_TPM_RSP_HEADER(p, t, s, r) unpack_TPM_RQU_HEADER(p, t, s, r) argument
925 #define unpack3_TPM_RSP_HEADER(p, l, m, t, s, r) unpack3_TPM_RQU_HEADER(p, l, m, t, s, r) argument