This repository has been archived by the owner on Nov 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
tpm2_structures.i
456 lines (456 loc) · 23.5 KB
/
tpm2_structures.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
%sizeof(TPMS_EMPTY);
%array_class(TPMS_EMPTY, TPMS_EMPTY_ARRAY);
%pointer_functions(TPMS_EMPTY, TPMS_EMPTY_PTR);
%pointer_functions(TPMS_EMPTY *, TPMS_EMPTY_PTR_PTR);
%sizeof(TPMS_ALGORITHM_DESCRIPTION);
%array_class(TPMS_ALGORITHM_DESCRIPTION, TPMS_ALGORITHM_DESCRIPTION_ARRAY);
%pointer_functions(TPMS_ALGORITHM_DESCRIPTION, TPMS_ALGORITHM_DESCRIPTION_PTR);
%pointer_functions(TPMS_ALGORITHM_DESCRIPTION *, TPMS_ALGORITHM_DESCRIPTION_PTR_PTR);
%sizeof(TPMU_HA);
%array_class(TPMU_HA, TPMU_HA_ARRAY);
%pointer_functions(TPMU_HA, TPMU_HA_PTR);
%pointer_functions(TPMU_HA *, TPMU_HA_PTR_PTR);
%sizeof(TPMT_HA);
%array_class(TPMT_HA, TPMT_HA_ARRAY);
%pointer_functions(TPMT_HA, TPMT_HA_PTR);
%pointer_functions(TPMT_HA *, TPMT_HA_PTR_PTR);
%sizeof(TPM2B_DIGEST);
%array_class(TPM2B_DIGEST, TPM2B_DIGEST_ARRAY);
%pointer_functions(TPM2B_DIGEST, TPM2B_DIGEST_PTR);
%pointer_functions(TPM2B_DIGEST *, TPM2B_DIGEST_PTR_PTR);
%sizeof(TPM2B_DATA);
%array_class(TPM2B_DATA, TPM2B_DATA_ARRAY);
%pointer_functions(TPM2B_DATA, TPM2B_DATA_PTR);
%pointer_functions(TPM2B_DATA *, TPM2B_DATA_PTR_PTR);
%sizeof(TPM2B_EVENT);
%array_class(TPM2B_EVENT, TPM2B_EVENT_ARRAY);
%pointer_functions(TPM2B_EVENT, TPM2B_EVENT_PTR);
%pointer_functions(TPM2B_EVENT *, TPM2B_EVENT_PTR_PTR);
%sizeof(TPM2B_MAX_BUFFER);
%array_class(TPM2B_MAX_BUFFER, TPM2B_MAX_BUFFER_ARRAY);
%pointer_functions(TPM2B_MAX_BUFFER, TPM2B_MAX_BUFFER_PTR);
%pointer_functions(TPM2B_MAX_BUFFER *, TPM2B_MAX_BUFFER_PTR_PTR);
%sizeof(TPM2B_MAX_NV_BUFFER);
%array_class(TPM2B_MAX_NV_BUFFER, TPM2B_MAX_NV_BUFFER_ARRAY);
%pointer_functions(TPM2B_MAX_NV_BUFFER, TPM2B_MAX_NV_BUFFER_PTR);
%pointer_functions(TPM2B_MAX_NV_BUFFER *, TPM2B_MAX_NV_BUFFER_PTR_PTR);
%sizeof(TPM2B_IV);
%array_class(TPM2B_IV, TPM2B_IV_ARRAY);
%pointer_functions(TPM2B_IV, TPM2B_IV_PTR);
%pointer_functions(TPM2B_IV *, TPM2B_IV_PTR_PTR);
%sizeof(TPMU_NAME);
%array_class(TPMU_NAME, TPMU_NAME_ARRAY);
%pointer_functions(TPMU_NAME, TPMU_NAME_PTR);
%pointer_functions(TPMU_NAME *, TPMU_NAME_PTR_PTR);
%sizeof(TPM2B_NAME);
%array_class(TPM2B_NAME, TPM2B_NAME_ARRAY);
%pointer_functions(TPM2B_NAME, TPM2B_NAME_PTR);
%pointer_functions(TPM2B_NAME *, TPM2B_NAME_PTR_PTR);
%sizeof(TPMS_PCR_SELECT);
%array_class(TPMS_PCR_SELECT, TPMS_PCR_SELECT_ARRAY);
%pointer_functions(TPMS_PCR_SELECT, TPMS_PCR_SELECT_PTR);
%pointer_functions(TPMS_PCR_SELECT *, TPMS_PCR_SELECT_PTR_PTR);
%sizeof(TPMS_PCR_SELECTION);
%array_class(TPMS_PCR_SELECTION, TPMS_PCR_SELECTION_ARRAY);
%pointer_functions(TPMS_PCR_SELECTION, TPMS_PCR_SELECTION_PTR);
%pointer_functions(TPMS_PCR_SELECTION *, TPMS_PCR_SELECTION_PTR_PTR);
%sizeof(TPMT_TK_CREATION);
%array_class(TPMT_TK_CREATION, TPMT_TK_CREATION_ARRAY);
%pointer_functions(TPMT_TK_CREATION, TPMT_TK_CREATION_PTR);
%pointer_functions(TPMT_TK_CREATION *, TPMT_TK_CREATION_PTR_PTR);
%sizeof(TPMT_TK_VERIFIED);
%array_class(TPMT_TK_VERIFIED, TPMT_TK_VERIFIED_ARRAY);
%pointer_functions(TPMT_TK_VERIFIED, TPMT_TK_VERIFIED_PTR);
%pointer_functions(TPMT_TK_VERIFIED *, TPMT_TK_VERIFIED_PTR_PTR);
%sizeof(TPMT_TK_AUTH);
%array_class(TPMT_TK_AUTH, TPMT_TK_AUTH_ARRAY);
%pointer_functions(TPMT_TK_AUTH, TPMT_TK_AUTH_PTR);
%pointer_functions(TPMT_TK_AUTH *, TPMT_TK_AUTH_PTR_PTR);
%sizeof(TPMT_TK_HASHCHECK);
%array_class(TPMT_TK_HASHCHECK, TPMT_TK_HASHCHECK_ARRAY);
%pointer_functions(TPMT_TK_HASHCHECK, TPMT_TK_HASHCHECK_PTR);
%pointer_functions(TPMT_TK_HASHCHECK *, TPMT_TK_HASHCHECK_PTR_PTR);
%sizeof(TPMS_ALG_PROPERTY);
%array_class(TPMS_ALG_PROPERTY, TPMS_ALG_PROPERTY_ARRAY);
%pointer_functions(TPMS_ALG_PROPERTY, TPMS_ALG_PROPERTY_PTR);
%pointer_functions(TPMS_ALG_PROPERTY *, TPMS_ALG_PROPERTY_PTR_PTR);
%sizeof(TPMS_TAGGED_PROPERTY);
%array_class(TPMS_TAGGED_PROPERTY, TPMS_TAGGED_PROPERTY_ARRAY);
%pointer_functions(TPMS_TAGGED_PROPERTY, TPMS_TAGGED_PROPERTY_PTR);
%pointer_functions(TPMS_TAGGED_PROPERTY *, TPMS_TAGGED_PROPERTY_PTR_PTR);
%sizeof(TPMS_TAGGED_PCR_SELECT);
%array_class(TPMS_TAGGED_PCR_SELECT, TPMS_TAGGED_PCR_SELECT_ARRAY);
%pointer_functions(TPMS_TAGGED_PCR_SELECT, TPMS_TAGGED_PCR_SELECT_PTR);
%pointer_functions(TPMS_TAGGED_PCR_SELECT *, TPMS_TAGGED_PCR_SELECT_PTR_PTR);
%sizeof(TPMS_TAGGED_POLICY);
%array_class(TPMS_TAGGED_POLICY, TPMS_TAGGED_POLICY_ARRAY);
%pointer_functions(TPMS_TAGGED_POLICY, TPMS_TAGGED_POLICY_PTR);
%pointer_functions(TPMS_TAGGED_POLICY *, TPMS_TAGGED_POLICY_PTR_PTR);
%sizeof( TPML_CC);
%array_class( TPML_CC, TPML_CC_ARRAY);
%pointer_functions( TPML_CC, TPML_CC_PTR);
%pointer_functions( TPML_CC *, TPML_CC_PTR_PTR);
%sizeof(TPML_CCA);
%array_class(TPML_CCA, TPML_CCA_ARRAY);
%pointer_functions(TPML_CCA, TPML_CCA_PTR);
%pointer_functions(TPML_CCA *, TPML_CCA_PTR_PTR);
%sizeof(TPML_ALG);
%array_class(TPML_ALG, TPML_ALG_ARRAY);
%pointer_functions(TPML_ALG, TPML_ALG_PTR);
%pointer_functions(TPML_ALG *, TPML_ALG_PTR_PTR);
%sizeof(TPML_HANDLE);
%array_class(TPML_HANDLE, TPML_HANDLE_ARRAY);
%pointer_functions(TPML_HANDLE, TPML_HANDLE_PTR);
%pointer_functions(TPML_HANDLE *, TPML_HANDLE_PTR_PTR);
%sizeof(TPML_DIGEST);
%array_class(TPML_DIGEST, TPML_DIGEST_ARRAY);
%pointer_functions(TPML_DIGEST, TPML_DIGEST_PTR);
%pointer_functions(TPML_DIGEST *, TPML_DIGEST_PTR_PTR);
%sizeof(TPML_DIGEST_VALUES);
%array_class(TPML_DIGEST_VALUES, TPML_DIGEST_VALUES_ARRAY);
%pointer_functions(TPML_DIGEST_VALUES, TPML_DIGEST_VALUES_PTR);
%pointer_functions(TPML_DIGEST_VALUES *, TPML_DIGEST_VALUES_PTR_PTR);
%sizeof(TPML_PCR_SELECTION);
%array_class(TPML_PCR_SELECTION, TPML_PCR_SELECTION_ARRAY);
%pointer_functions(TPML_PCR_SELECTION, TPML_PCR_SELECTION_PTR);
%pointer_functions(TPML_PCR_SELECTION *, TPML_PCR_SELECTION_PTR_PTR);
%sizeof(TPML_ALG_PROPERTY);
%array_class(TPML_ALG_PROPERTY, TPML_ALG_PROPERTY_ARRAY);
%pointer_functions(TPML_ALG_PROPERTY, TPML_ALG_PROPERTY_PTR);
%pointer_functions(TPML_ALG_PROPERTY *, TPML_ALG_PROPERTY_PTR_PTR);
%sizeof(TPML_TAGGED_TPM_PROPERTY);
%array_class(TPML_TAGGED_TPM_PROPERTY, TPML_TAGGED_TPM_PROPERTY_ARRAY);
%pointer_functions(TPML_TAGGED_TPM_PROPERTY, TPML_TAGGED_TPM_PROPERTY_PTR);
%pointer_functions(TPML_TAGGED_TPM_PROPERTY *, TPML_TAGGED_TPM_PROPERTY_PTR_PTR);
%sizeof(TPML_TAGGED_PCR_PROPERTY);
%array_class(TPML_TAGGED_PCR_PROPERTY, TPML_TAGGED_PCR_PROPERTY_ARRAY);
%pointer_functions(TPML_TAGGED_PCR_PROPERTY, TPML_TAGGED_PCR_PROPERTY_PTR);
%pointer_functions(TPML_TAGGED_PCR_PROPERTY *, TPML_TAGGED_PCR_PROPERTY_PTR_PTR);
%sizeof(TPML_ECC_CURVE);
%array_class(TPML_ECC_CURVE, TPML_ECC_CURVE_ARRAY);
%pointer_functions(TPML_ECC_CURVE, TPML_ECC_CURVE_PTR);
%pointer_functions(TPML_ECC_CURVE *, TPML_ECC_CURVE_PTR_PTR);
%sizeof(TPML_INTEL_PTT_PROPERTY);
%array_class(TPML_INTEL_PTT_PROPERTY, TPML_INTEL_PTT_PROPERTY_ARRAY);
%pointer_functions(TPML_INTEL_PTT_PROPERTY, TPML_INTEL_PTT_PROPERTY_PTR);
%pointer_functions(TPML_INTEL_PTT_PROPERTY *, TPML_INTEL_PTT_PROPERTY_PTR_PTR);
%sizeof(TPMU_CAPABILITIES);
%array_class(TPMU_CAPABILITIES, TPMU_CAPABILITIES_ARRAY);
%pointer_functions(TPMU_CAPABILITIES, TPMU_CAPABILITIES_PTR);
%pointer_functions(TPMU_CAPABILITIES *, TPMU_CAPABILITIES_PTR_PTR);
%sizeof(TPMS_CAPABILITY_DATA);
%array_class(TPMS_CAPABILITY_DATA, TPMS_CAPABILITY_DATA_ARRAY);
%pointer_functions(TPMS_CAPABILITY_DATA, TPMS_CAPABILITY_DATA_PTR);
%pointer_functions(TPMS_CAPABILITY_DATA *, TPMS_CAPABILITY_DATA_PTR_PTR);
%sizeof(TPMS_CLOCK_INFO);
%array_class(TPMS_CLOCK_INFO, TPMS_CLOCK_INFO_ARRAY);
%pointer_functions(TPMS_CLOCK_INFO, TPMS_CLOCK_INFO_PTR);
%pointer_functions(TPMS_CLOCK_INFO *, TPMS_CLOCK_INFO_PTR_PTR);
%sizeof(TPMS_TIME_INFO);
%array_class(TPMS_TIME_INFO, TPMS_TIME_INFO_ARRAY);
%pointer_functions(TPMS_TIME_INFO, TPMS_TIME_INFO_PTR);
%pointer_functions(TPMS_TIME_INFO *, TPMS_TIME_INFO_PTR_PTR);
%sizeof(TPMS_TIME_ATTEST_INFO);
%array_class(TPMS_TIME_ATTEST_INFO, TPMS_TIME_ATTEST_INFO_ARRAY);
%pointer_functions(TPMS_TIME_ATTEST_INFO, TPMS_TIME_ATTEST_INFO_PTR);
%pointer_functions(TPMS_TIME_ATTEST_INFO *, TPMS_TIME_ATTEST_INFO_PTR_PTR);
%sizeof(TPMS_CERTIFY_INFO);
%array_class(TPMS_CERTIFY_INFO, TPMS_CERTIFY_INFO_ARRAY);
%pointer_functions(TPMS_CERTIFY_INFO, TPMS_CERTIFY_INFO_PTR);
%pointer_functions(TPMS_CERTIFY_INFO *, TPMS_CERTIFY_INFO_PTR_PTR);
%sizeof(TPMS_QUOTE_INFO);
%array_class(TPMS_QUOTE_INFO, TPMS_QUOTE_INFO_ARRAY);
%pointer_functions(TPMS_QUOTE_INFO, TPMS_QUOTE_INFO_PTR);
%pointer_functions(TPMS_QUOTE_INFO *, TPMS_QUOTE_INFO_PTR_PTR);
%sizeof(TPMS_COMMAND_AUDIT_INFO);
%array_class(TPMS_COMMAND_AUDIT_INFO, TPMS_COMMAND_AUDIT_INFO_ARRAY);
%pointer_functions(TPMS_COMMAND_AUDIT_INFO, TPMS_COMMAND_AUDIT_INFO_PTR);
%pointer_functions(TPMS_COMMAND_AUDIT_INFO *, TPMS_COMMAND_AUDIT_INFO_PTR_PTR);
%sizeof(TPMS_SESSION_AUDIT_INFO);
%array_class(TPMS_SESSION_AUDIT_INFO, TPMS_SESSION_AUDIT_INFO_ARRAY);
%pointer_functions(TPMS_SESSION_AUDIT_INFO, TPMS_SESSION_AUDIT_INFO_PTR);
%pointer_functions(TPMS_SESSION_AUDIT_INFO *, TPMS_SESSION_AUDIT_INFO_PTR_PTR);
%sizeof(TPMS_CREATION_INFO);
%array_class(TPMS_CREATION_INFO, TPMS_CREATION_INFO_ARRAY);
%pointer_functions(TPMS_CREATION_INFO, TPMS_CREATION_INFO_PTR);
%pointer_functions(TPMS_CREATION_INFO *, TPMS_CREATION_INFO_PTR_PTR);
%sizeof(TPMS_NV_CERTIFY_INFO);
%array_class(TPMS_NV_CERTIFY_INFO, TPMS_NV_CERTIFY_INFO_ARRAY);
%pointer_functions(TPMS_NV_CERTIFY_INFO, TPMS_NV_CERTIFY_INFO_PTR);
%pointer_functions(TPMS_NV_CERTIFY_INFO *, TPMS_NV_CERTIFY_INFO_PTR_PTR);
%sizeof(TPMU_ATTEST);
%array_class(TPMU_ATTEST, TPMU_ATTEST_ARRAY);
%pointer_functions(TPMU_ATTEST, TPMU_ATTEST_PTR);
%pointer_functions(TPMU_ATTEST *, TPMU_ATTEST_PTR_PTR);
%sizeof(TPMS_ATTEST);
%array_class(TPMS_ATTEST, TPMS_ATTEST_ARRAY);
%pointer_functions(TPMS_ATTEST, TPMS_ATTEST_PTR);
%pointer_functions(TPMS_ATTEST *, TPMS_ATTEST_PTR_PTR);
%sizeof(TPM2B_ATTEST);
%array_class(TPM2B_ATTEST, TPM2B_ATTEST_ARRAY);
%pointer_functions(TPM2B_ATTEST, TPM2B_ATTEST_PTR);
%pointer_functions(TPM2B_ATTEST *, TPM2B_ATTEST_PTR_PTR);
%sizeof(TPMS_AUTH_COMMAND);
%array_class(TPMS_AUTH_COMMAND, TPMS_AUTH_COMMAND_ARRAY);
%pointer_functions(TPMS_AUTH_COMMAND, TPMS_AUTH_COMMAND_PTR);
%pointer_functions(TPMS_AUTH_COMMAND *, TPMS_AUTH_COMMAND_PTR_PTR);
%sizeof(TPMS_AUTH_RESPONSE);
%array_class(TPMS_AUTH_RESPONSE, TPMS_AUTH_RESPONSE_ARRAY);
%pointer_functions(TPMS_AUTH_RESPONSE, TPMS_AUTH_RESPONSE_PTR);
%pointer_functions(TPMS_AUTH_RESPONSE *, TPMS_AUTH_RESPONSE_PTR_PTR);
%sizeof(TPMU_SYM_KEY_BITS);
%array_class(TPMU_SYM_KEY_BITS, TPMU_SYM_KEY_BITS_ARRAY);
%pointer_functions(TPMU_SYM_KEY_BITS, TPMU_SYM_KEY_BITS_PTR);
%pointer_functions(TPMU_SYM_KEY_BITS *, TPMU_SYM_KEY_BITS_PTR_PTR);
%sizeof(TPMU_SYM_MODE);
%array_class(TPMU_SYM_MODE, TPMU_SYM_MODE_ARRAY);
%pointer_functions(TPMU_SYM_MODE, TPMU_SYM_MODE_PTR);
%pointer_functions(TPMU_SYM_MODE *, TPMU_SYM_MODE_PTR_PTR);
%sizeof(TPMT_SYM_DEF);
%array_class(TPMT_SYM_DEF, TPMT_SYM_DEF_ARRAY);
%pointer_functions(TPMT_SYM_DEF, TPMT_SYM_DEF_PTR);
%pointer_functions(TPMT_SYM_DEF *, TPMT_SYM_DEF_PTR_PTR);
%sizeof(TPMT_SYM_DEF_OBJECT);
%array_class(TPMT_SYM_DEF_OBJECT, TPMT_SYM_DEF_OBJECT_ARRAY);
%pointer_functions(TPMT_SYM_DEF_OBJECT, TPMT_SYM_DEF_OBJECT_PTR);
%pointer_functions(TPMT_SYM_DEF_OBJECT *, TPMT_SYM_DEF_OBJECT_PTR_PTR);
%sizeof(TPM2B_SYM_KEY);
%array_class(TPM2B_SYM_KEY, TPM2B_SYM_KEY_ARRAY);
%pointer_functions(TPM2B_SYM_KEY, TPM2B_SYM_KEY_PTR);
%pointer_functions(TPM2B_SYM_KEY *, TPM2B_SYM_KEY_PTR_PTR);
%sizeof(TPMS_SYMCIPHER_PARMS);
%array_class(TPMS_SYMCIPHER_PARMS, TPMS_SYMCIPHER_PARMS_ARRAY);
%pointer_functions(TPMS_SYMCIPHER_PARMS, TPMS_SYMCIPHER_PARMS_PTR);
%pointer_functions(TPMS_SYMCIPHER_PARMS *, TPMS_SYMCIPHER_PARMS_PTR_PTR);
%sizeof(TPM2B_SENSITIVE_DATA);
%array_class(TPM2B_SENSITIVE_DATA, TPM2B_SENSITIVE_DATA_ARRAY);
%pointer_functions(TPM2B_SENSITIVE_DATA, TPM2B_SENSITIVE_DATA_PTR);
%pointer_functions(TPM2B_SENSITIVE_DATA *, TPM2B_SENSITIVE_DATA_PTR_PTR);
%sizeof(TPMS_SENSITIVE_CREATE);
%array_class(TPMS_SENSITIVE_CREATE, TPMS_SENSITIVE_CREATE_ARRAY);
%pointer_functions(TPMS_SENSITIVE_CREATE, TPMS_SENSITIVE_CREATE_PTR);
%pointer_functions(TPMS_SENSITIVE_CREATE *, TPMS_SENSITIVE_CREATE_PTR_PTR);
%sizeof(TPM2B_SENSITIVE_CREATE);
%array_class(TPM2B_SENSITIVE_CREATE, TPM2B_SENSITIVE_CREATE_ARRAY);
%pointer_functions(TPM2B_SENSITIVE_CREATE, TPM2B_SENSITIVE_CREATE_PTR);
%pointer_functions(TPM2B_SENSITIVE_CREATE *, TPM2B_SENSITIVE_CREATE_PTR_PTR);
%sizeof(TPMS_SCHEME_HASH);
%array_class(TPMS_SCHEME_HASH, TPMS_SCHEME_HASH_ARRAY);
%pointer_functions(TPMS_SCHEME_HASH, TPMS_SCHEME_HASH_PTR);
%pointer_functions(TPMS_SCHEME_HASH *, TPMS_SCHEME_HASH_PTR_PTR);
%sizeof(TPMS_SCHEME_ECDAA);
%array_class(TPMS_SCHEME_ECDAA, TPMS_SCHEME_ECDAA_ARRAY);
%pointer_functions(TPMS_SCHEME_ECDAA, TPMS_SCHEME_ECDAA_PTR);
%pointer_functions(TPMS_SCHEME_ECDAA *, TPMS_SCHEME_ECDAA_PTR_PTR);
%sizeof(TPMS_SCHEME_XOR);
%array_class(TPMS_SCHEME_XOR, TPMS_SCHEME_XOR_ARRAY);
%pointer_functions(TPMS_SCHEME_XOR, TPMS_SCHEME_XOR_PTR);
%pointer_functions(TPMS_SCHEME_XOR *, TPMS_SCHEME_XOR_PTR_PTR);
%sizeof(TPMU_SCHEME_KEYEDHASH);
%array_class(TPMU_SCHEME_KEYEDHASH, TPMU_SCHEME_KEYEDHASH_ARRAY);
%pointer_functions(TPMU_SCHEME_KEYEDHASH, TPMU_SCHEME_KEYEDHASH_PTR);
%pointer_functions(TPMU_SCHEME_KEYEDHASH *, TPMU_SCHEME_KEYEDHASH_PTR_PTR);
%sizeof(TPMT_KEYEDHASH_SCHEME);
%array_class(TPMT_KEYEDHASH_SCHEME, TPMT_KEYEDHASH_SCHEME_ARRAY);
%pointer_functions(TPMT_KEYEDHASH_SCHEME, TPMT_KEYEDHASH_SCHEME_PTR);
%pointer_functions(TPMT_KEYEDHASH_SCHEME *, TPMT_KEYEDHASH_SCHEME_PTR_PTR);
%sizeof(TPMU_SIG_SCHEME);
%array_class(TPMU_SIG_SCHEME, TPMU_SIG_SCHEME_ARRAY);
%pointer_functions(TPMU_SIG_SCHEME, TPMU_SIG_SCHEME_PTR);
%pointer_functions(TPMU_SIG_SCHEME *, TPMU_SIG_SCHEME_PTR_PTR);
%sizeof(TPMT_SIG_SCHEME);
%array_class(TPMT_SIG_SCHEME, TPMT_SIG_SCHEME_ARRAY);
%pointer_functions(TPMT_SIG_SCHEME, TPMT_SIG_SCHEME_PTR);
%pointer_functions(TPMT_SIG_SCHEME *, TPMT_SIG_SCHEME_PTR_PTR);
%sizeof(TPMU_KDF_SCHEME);
%array_class(TPMU_KDF_SCHEME, TPMU_KDF_SCHEME_ARRAY);
%pointer_functions(TPMU_KDF_SCHEME, TPMU_KDF_SCHEME_PTR);
%pointer_functions(TPMU_KDF_SCHEME *, TPMU_KDF_SCHEME_PTR_PTR);
%sizeof(TPMT_KDF_SCHEME);
%array_class(TPMT_KDF_SCHEME, TPMT_KDF_SCHEME_ARRAY);
%pointer_functions(TPMT_KDF_SCHEME, TPMT_KDF_SCHEME_PTR);
%pointer_functions(TPMT_KDF_SCHEME *, TPMT_KDF_SCHEME_PTR_PTR);
%sizeof(TPMU_ASYM_SCHEME);
%array_class(TPMU_ASYM_SCHEME, TPMU_ASYM_SCHEME_ARRAY);
%pointer_functions(TPMU_ASYM_SCHEME, TPMU_ASYM_SCHEME_PTR);
%pointer_functions(TPMU_ASYM_SCHEME *, TPMU_ASYM_SCHEME_PTR_PTR);
%sizeof(TPMT_ASYM_SCHEME);
%array_class(TPMT_ASYM_SCHEME, TPMT_ASYM_SCHEME_ARRAY);
%pointer_functions(TPMT_ASYM_SCHEME, TPMT_ASYM_SCHEME_PTR);
%pointer_functions(TPMT_ASYM_SCHEME *, TPMT_ASYM_SCHEME_PTR_PTR);
%sizeof(TPMT_RSA_SCHEME);
%array_class(TPMT_RSA_SCHEME, TPMT_RSA_SCHEME_ARRAY);
%pointer_functions(TPMT_RSA_SCHEME, TPMT_RSA_SCHEME_PTR);
%pointer_functions(TPMT_RSA_SCHEME *, TPMT_RSA_SCHEME_PTR_PTR);
%sizeof(TPMT_RSA_DECRYPT);
%array_class(TPMT_RSA_DECRYPT, TPMT_RSA_DECRYPT_ARRAY);
%pointer_functions(TPMT_RSA_DECRYPT, TPMT_RSA_DECRYPT_PTR);
%pointer_functions(TPMT_RSA_DECRYPT *, TPMT_RSA_DECRYPT_PTR_PTR);
%sizeof(TPM2B_PUBLIC_KEY_RSA);
%array_class(TPM2B_PUBLIC_KEY_RSA, TPM2B_PUBLIC_KEY_RSA_ARRAY);
%pointer_functions(TPM2B_PUBLIC_KEY_RSA, TPM2B_PUBLIC_KEY_RSA_PTR);
%pointer_functions(TPM2B_PUBLIC_KEY_RSA *, TPM2B_PUBLIC_KEY_RSA_PTR_PTR);
%sizeof(TPM2B_PRIVATE_KEY_RSA);
%array_class(TPM2B_PRIVATE_KEY_RSA, TPM2B_PRIVATE_KEY_RSA_ARRAY);
%pointer_functions(TPM2B_PRIVATE_KEY_RSA, TPM2B_PRIVATE_KEY_RSA_PTR);
%pointer_functions(TPM2B_PRIVATE_KEY_RSA *, TPM2B_PRIVATE_KEY_RSA_PTR_PTR);
%sizeof(TPM2B_ECC_PARAMETER);
%array_class(TPM2B_ECC_PARAMETER, TPM2B_ECC_PARAMETER_ARRAY);
%pointer_functions(TPM2B_ECC_PARAMETER, TPM2B_ECC_PARAMETER_PTR);
%pointer_functions(TPM2B_ECC_PARAMETER *, TPM2B_ECC_PARAMETER_PTR_PTR);
%sizeof(TPMS_ECC_POINT);
%array_class(TPMS_ECC_POINT, TPMS_ECC_POINT_ARRAY);
%pointer_functions(TPMS_ECC_POINT, TPMS_ECC_POINT_PTR);
%pointer_functions(TPMS_ECC_POINT *, TPMS_ECC_POINT_PTR_PTR);
%sizeof(TPM2B_ECC_POINT);
%array_class(TPM2B_ECC_POINT, TPM2B_ECC_POINT_ARRAY);
%pointer_functions(TPM2B_ECC_POINT, TPM2B_ECC_POINT_PTR);
%pointer_functions(TPM2B_ECC_POINT *, TPM2B_ECC_POINT_PTR_PTR);
%sizeof(TPMT_ECC_SCHEME);
%array_class(TPMT_ECC_SCHEME, TPMT_ECC_SCHEME_ARRAY);
%pointer_functions(TPMT_ECC_SCHEME, TPMT_ECC_SCHEME_PTR);
%pointer_functions(TPMT_ECC_SCHEME *, TPMT_ECC_SCHEME_PTR_PTR);
%sizeof(TPMS_ALGORITHM_DETAIL_ECC);
%array_class(TPMS_ALGORITHM_DETAIL_ECC, TPMS_ALGORITHM_DETAIL_ECC_ARRAY);
%pointer_functions(TPMS_ALGORITHM_DETAIL_ECC, TPMS_ALGORITHM_DETAIL_ECC_PTR);
%pointer_functions(TPMS_ALGORITHM_DETAIL_ECC *, TPMS_ALGORITHM_DETAIL_ECC_PTR_PTR);
%sizeof(TPMS_SIGNATURE_RSA);
%array_class(TPMS_SIGNATURE_RSA, TPMS_SIGNATURE_RSA_ARRAY);
%pointer_functions(TPMS_SIGNATURE_RSA, TPMS_SIGNATURE_RSA_PTR);
%pointer_functions(TPMS_SIGNATURE_RSA *, TPMS_SIGNATURE_RSA_PTR_PTR);
%sizeof(TPMS_SIGNATURE_ECC);
%array_class(TPMS_SIGNATURE_ECC, TPMS_SIGNATURE_ECC_ARRAY);
%pointer_functions(TPMS_SIGNATURE_ECC, TPMS_SIGNATURE_ECC_PTR);
%pointer_functions(TPMS_SIGNATURE_ECC *, TPMS_SIGNATURE_ECC_PTR_PTR);
%sizeof(TPMU_SIGNATURE);
%array_class(TPMU_SIGNATURE, TPMU_SIGNATURE_ARRAY);
%pointer_functions(TPMU_SIGNATURE, TPMU_SIGNATURE_PTR);
%pointer_functions(TPMU_SIGNATURE *, TPMU_SIGNATURE_PTR_PTR);
%sizeof(TPMT_SIGNATURE);
%array_class(TPMT_SIGNATURE, TPMT_SIGNATURE_ARRAY);
%pointer_functions(TPMT_SIGNATURE, TPMT_SIGNATURE_PTR);
%pointer_functions(TPMT_SIGNATURE *, TPMT_SIGNATURE_PTR_PTR);
%sizeof(TPMU_ENCRYPTED_SECRET);
%array_class(TPMU_ENCRYPTED_SECRET, TPMU_ENCRYPTED_SECRET_ARRAY);
%pointer_functions(TPMU_ENCRYPTED_SECRET, TPMU_ENCRYPTED_SECRET_PTR);
%pointer_functions(TPMU_ENCRYPTED_SECRET *, TPMU_ENCRYPTED_SECRET_PTR_PTR);
%sizeof(TPM2B_ENCRYPTED_SECRET);
%array_class(TPM2B_ENCRYPTED_SECRET, TPM2B_ENCRYPTED_SECRET_ARRAY);
%pointer_functions(TPM2B_ENCRYPTED_SECRET, TPM2B_ENCRYPTED_SECRET_PTR);
%pointer_functions(TPM2B_ENCRYPTED_SECRET *, TPM2B_ENCRYPTED_SECRET_PTR_PTR);
%sizeof(TPMU_PUBLIC_ID);
%array_class(TPMU_PUBLIC_ID, TPMU_PUBLIC_ID_ARRAY);
%pointer_functions(TPMU_PUBLIC_ID, TPMU_PUBLIC_ID_PTR);
%pointer_functions(TPMU_PUBLIC_ID *, TPMU_PUBLIC_ID_PTR_PTR);
%sizeof(TPMS_KEYEDHASH_PARMS);
%array_class(TPMS_KEYEDHASH_PARMS, TPMS_KEYEDHASH_PARMS_ARRAY);
%pointer_functions(TPMS_KEYEDHASH_PARMS, TPMS_KEYEDHASH_PARMS_PTR);
%pointer_functions(TPMS_KEYEDHASH_PARMS *, TPMS_KEYEDHASH_PARMS_PTR_PTR);
%sizeof(TPMS_ASYM_PARMS);
%array_class(TPMS_ASYM_PARMS, TPMS_ASYM_PARMS_ARRAY);
%pointer_functions(TPMS_ASYM_PARMS, TPMS_ASYM_PARMS_PTR);
%pointer_functions(TPMS_ASYM_PARMS *, TPMS_ASYM_PARMS_PTR_PTR);
%sizeof(TPMS_RSA_PARMS);
%array_class(TPMS_RSA_PARMS, TPMS_RSA_PARMS_ARRAY);
%pointer_functions(TPMS_RSA_PARMS, TPMS_RSA_PARMS_PTR);
%pointer_functions(TPMS_RSA_PARMS *, TPMS_RSA_PARMS_PTR_PTR);
%sizeof(TPMS_ECC_PARMS);
%array_class(TPMS_ECC_PARMS, TPMS_ECC_PARMS_ARRAY);
%pointer_functions(TPMS_ECC_PARMS, TPMS_ECC_PARMS_PTR);
%pointer_functions(TPMS_ECC_PARMS *, TPMS_ECC_PARMS_PTR_PTR);
%sizeof(TPMU_PUBLIC_PARMS);
%array_class(TPMU_PUBLIC_PARMS, TPMU_PUBLIC_PARMS_ARRAY);
%pointer_functions(TPMU_PUBLIC_PARMS, TPMU_PUBLIC_PARMS_PTR);
%pointer_functions(TPMU_PUBLIC_PARMS *, TPMU_PUBLIC_PARMS_PTR_PTR);
%sizeof(TPMT_PUBLIC_PARMS);
%array_class(TPMT_PUBLIC_PARMS, TPMT_PUBLIC_PARMS_ARRAY);
%pointer_functions(TPMT_PUBLIC_PARMS, TPMT_PUBLIC_PARMS_PTR);
%pointer_functions(TPMT_PUBLIC_PARMS *, TPMT_PUBLIC_PARMS_PTR_PTR);
%sizeof(TPMT_PUBLIC);
%array_class(TPMT_PUBLIC, TPMT_PUBLIC_ARRAY);
%pointer_functions(TPMT_PUBLIC, TPMT_PUBLIC_PTR);
%pointer_functions(TPMT_PUBLIC *, TPMT_PUBLIC_PTR_PTR);
%sizeof(TPM2B_PUBLIC);
%array_class(TPM2B_PUBLIC, TPM2B_PUBLIC_ARRAY);
%pointer_functions(TPM2B_PUBLIC, TPM2B_PUBLIC_PTR);
%pointer_functions(TPM2B_PUBLIC *, TPM2B_PUBLIC_PTR_PTR);
%sizeof(TPM2B_TEMPLATE);
%array_class(TPM2B_TEMPLATE, TPM2B_TEMPLATE_ARRAY);
%pointer_functions(TPM2B_TEMPLATE, TPM2B_TEMPLATE_PTR);
%pointer_functions(TPM2B_TEMPLATE *, TPM2B_TEMPLATE_PTR_PTR);
%sizeof(TPM2B_PRIVATE_VENDOR_SPECIFIC);
%array_class(TPM2B_PRIVATE_VENDOR_SPECIFIC, TPM2B_PRIVATE_VENDOR_SPECIFIC_ARRAY);
%pointer_functions(TPM2B_PRIVATE_VENDOR_SPECIFIC, TPM2B_PRIVATE_VENDOR_SPECIFIC_PTR);
%pointer_functions(TPM2B_PRIVATE_VENDOR_SPECIFIC *, TPM2B_PRIVATE_VENDOR_SPECIFIC_PTR_PTR);
%sizeof(TPMU_SENSITIVE_COMPOSITE);
%array_class(TPMU_SENSITIVE_COMPOSITE, TPMU_SENSITIVE_COMPOSITE_ARRAY);
%pointer_functions(TPMU_SENSITIVE_COMPOSITE, TPMU_SENSITIVE_COMPOSITE_PTR);
%pointer_functions(TPMU_SENSITIVE_COMPOSITE *, TPMU_SENSITIVE_COMPOSITE_PTR_PTR);
%sizeof(TPMT_SENSITIVE);
%array_class(TPMT_SENSITIVE, TPMT_SENSITIVE_ARRAY);
%pointer_functions(TPMT_SENSITIVE, TPMT_SENSITIVE_PTR);
%pointer_functions(TPMT_SENSITIVE *, TPMT_SENSITIVE_PTR_PTR);
%sizeof(TPM2B_SENSITIVE);
%array_class(TPM2B_SENSITIVE, TPM2B_SENSITIVE_ARRAY);
%pointer_functions(TPM2B_SENSITIVE, TPM2B_SENSITIVE_PTR);
%pointer_functions(TPM2B_SENSITIVE *, TPM2B_SENSITIVE_PTR_PTR);
%sizeof(_PRIVATE);
%array_class(_PRIVATE, _PRIVATE_ARRAY);
%pointer_functions(_PRIVATE, _PRIVATE_PTR);
%pointer_functions(_PRIVATE *, _PRIVATE_PTR_PTR);
%sizeof(TPM2B_PRIVATE);
%array_class(TPM2B_PRIVATE, TPM2B_PRIVATE_ARRAY);
%pointer_functions(TPM2B_PRIVATE, TPM2B_PRIVATE_PTR);
%pointer_functions(TPM2B_PRIVATE *, TPM2B_PRIVATE_PTR_PTR);
%sizeof(TPMS_ID_OBJECT);
%array_class(TPMS_ID_OBJECT, TPMS_ID_OBJECT_ARRAY);
%pointer_functions(TPMS_ID_OBJECT, TPMS_ID_OBJECT_PTR);
%pointer_functions(TPMS_ID_OBJECT *, TPMS_ID_OBJECT_PTR_PTR);
%sizeof(TPM2B_ID_OBJECT);
%array_class(TPM2B_ID_OBJECT, TPM2B_ID_OBJECT_ARRAY);
%pointer_functions(TPM2B_ID_OBJECT, TPM2B_ID_OBJECT_PTR);
%pointer_functions(TPM2B_ID_OBJECT *, TPM2B_ID_OBJECT_PTR_PTR);
%sizeof(TPMS_NV_PIN_COUNTER_PARAMETERS);
%array_class(TPMS_NV_PIN_COUNTER_PARAMETERS, TPMS_NV_PIN_COUNTER_PARAMETERS_ARRAY);
%pointer_functions(TPMS_NV_PIN_COUNTER_PARAMETERS, TPMS_NV_PIN_COUNTER_PARAMETERS_PTR);
%pointer_functions(TPMS_NV_PIN_COUNTER_PARAMETERS *, TPMS_NV_PIN_COUNTER_PARAMETERS_PTR_PTR);
%sizeof(TPMS_NV_PUBLIC);
%array_class(TPMS_NV_PUBLIC, TPMS_NV_PUBLIC_ARRAY);
%pointer_functions(TPMS_NV_PUBLIC, TPMS_NV_PUBLIC_PTR);
%pointer_functions(TPMS_NV_PUBLIC *, TPMS_NV_PUBLIC_PTR_PTR);
%sizeof(TPM2B_NV_PUBLIC);
%array_class(TPM2B_NV_PUBLIC, TPM2B_NV_PUBLIC_ARRAY);
%pointer_functions(TPM2B_NV_PUBLIC, TPM2B_NV_PUBLIC_PTR);
%pointer_functions(TPM2B_NV_PUBLIC *, TPM2B_NV_PUBLIC_PTR_PTR);
%sizeof(TPM2B_CONTEXT_SENSITIVE);
%array_class(TPM2B_CONTEXT_SENSITIVE, TPM2B_CONTEXT_SENSITIVE_ARRAY);
%pointer_functions(TPM2B_CONTEXT_SENSITIVE, TPM2B_CONTEXT_SENSITIVE_PTR);
%pointer_functions(TPM2B_CONTEXT_SENSITIVE *, TPM2B_CONTEXT_SENSITIVE_PTR_PTR);
%sizeof(TPMS_CONTEXT_DATA);
%array_class(TPMS_CONTEXT_DATA, TPMS_CONTEXT_DATA_ARRAY);
%pointer_functions(TPMS_CONTEXT_DATA, TPMS_CONTEXT_DATA_PTR);
%pointer_functions(TPMS_CONTEXT_DATA *, TPMS_CONTEXT_DATA_PTR_PTR);
%sizeof(TPM2B_CONTEXT_DATA);
%array_class(TPM2B_CONTEXT_DATA, TPM2B_CONTEXT_DATA_ARRAY);
%pointer_functions(TPM2B_CONTEXT_DATA, TPM2B_CONTEXT_DATA_PTR);
%pointer_functions(TPM2B_CONTEXT_DATA *, TPM2B_CONTEXT_DATA_PTR_PTR);
%sizeof(TPMS_CONTEXT);
%array_class(TPMS_CONTEXT, TPMS_CONTEXT_ARRAY);
%pointer_functions(TPMS_CONTEXT, TPMS_CONTEXT_PTR);
%pointer_functions(TPMS_CONTEXT *, TPMS_CONTEXT_PTR_PTR);
%sizeof(TPMS_CREATION_DATA);
%array_class(TPMS_CREATION_DATA, TPMS_CREATION_DATA_ARRAY);
%pointer_functions(TPMS_CREATION_DATA, TPMS_CREATION_DATA_PTR);
%pointer_functions(TPMS_CREATION_DATA *, TPMS_CREATION_DATA_PTR_PTR);
%sizeof(TPM2B_CREATION_DATA);
%array_class(TPM2B_CREATION_DATA, TPM2B_CREATION_DATA_ARRAY);
%pointer_functions(TPM2B_CREATION_DATA, TPM2B_CREATION_DATA_PTR);
%pointer_functions(TPM2B_CREATION_DATA *, TPM2B_CREATION_DATA_PTR_PTR);
%sizeof(TPMS_AC_OUTPUT);
%array_class(TPMS_AC_OUTPUT, TPMS_AC_OUTPUT_ARRAY);
%pointer_functions(TPMS_AC_OUTPUT, TPMS_AC_OUTPUT_PTR);
%pointer_functions(TPMS_AC_OUTPUT *, TPMS_AC_OUTPUT_PTR_PTR);
%sizeof(TPML_AC_CAPABILITIES);
%array_class(TPML_AC_CAPABILITIES, TPML_AC_CAPABILITIES_ARRAY);
%pointer_functions(TPML_AC_CAPABILITIES, TPML_AC_CAPABILITIES_PTR);
%pointer_functions(TPML_AC_CAPABILITIES *, TPML_AC_CAPABILITIES_PTR_PTR);