OLD | NEW |
1 /*++ | 1 /*++ |
2 | 2 |
3 Global defines for TSS. | 3 Global defines for TSS. |
4 | 4 |
5 --*/ | 5 --*/ |
6 | 6 |
7 #ifndef __TSS_DEFINES_H__ | 7 #ifndef __TSS_DEFINES_H__ |
8 #define __TSS_DEFINES_H__ | 8 #define __TSS_DEFINES_H__ |
9 | 9 |
10 #include <tss/platform.h> | 10 #include <tss/platform.h> |
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 // | 342 // |
343 // Values for the TSS_TSPATTRIB_CONTEXT_VERSION_MODE attribute | 343 // Values for the TSS_TSPATTRIB_CONTEXT_VERSION_MODE attribute |
344 // | 344 // |
345 #define TSS_TSPATTRIB_CONTEXT_VERSION_AUTO (0x00000001) | 345 #define TSS_TSPATTRIB_CONTEXT_VERSION_AUTO (0x00000001) |
346 #define TSS_TSPATTRIB_CONTEXT_VERSION_V1_1 (0x00000002) | 346 #define TSS_TSPATTRIB_CONTEXT_VERSION_V1_1 (0x00000002) |
347 #define TSS_TSPATTRIB_CONTEXT_VERSION_V1_2 (0x00000003) | 347 #define TSS_TSPATTRIB_CONTEXT_VERSION_V1_2 (0x00000003) |
348 | 348 |
349 // | 349 // |
350 // Values for the subflag TSS_TSPATTRIB_CONTEXT_TRANS_CONTROL | 350 // Values for the subflag TSS_TSPATTRIB_CONTEXT_TRANS_CONTROL |
351 // | 351 // |
352 #define TSS_TSPATTRIB_DISABLE_TRANSPORT (0x00000000) | 352 #define TSS_TSPATTRIB_DISABLE_TRANSPORT (0x00000016) |
353 #define TSS_TSPATTRIB_ENABLE_TRANSPORT (0x00000001) | 353 #define TSS_TSPATTRIB_ENABLE_TRANSPORT (0x00000032) |
354 | 354 |
355 // | 355 // |
356 // Values for the subflag TSS_TSPATTRIB_CONTEXT_TRANS_MODE | 356 // Values for the subflag TSS_TSPATTRIB_CONTEXT_TRANS_MODE |
357 // | 357 // |
358 #define TSS_TSPATTRIB_TRANSPORT_NO_DEFAULT_ENCRYPTION (0x00000000) | 358 #define TSS_TSPATTRIB_TRANSPORT_NO_DEFAULT_ENCRYPTION (0x00000000) |
359 #define TSS_TSPATTRIB_TRANSPORT_DEFAULT_ENCRYPTION (0x00000001) | 359 #define TSS_TSPATTRIB_TRANSPORT_DEFAULT_ENCRYPTION (0x00000001) |
360 #define TSS_TSPATTRIB_TRANSPORT_AUTHENTIC_CHANNEL (0x00000002) | 360 #define TSS_TSPATTRIB_TRANSPORT_AUTHENTIC_CHANNEL (0x00000002) |
361 #define TSS_TSPATTRIB_TRANSPORT_EXCLUSIVE (0x00000004) | 361 #define TSS_TSPATTRIB_TRANSPORT_EXCLUSIVE (0x00000004) |
362 #define TSS_TSPATTRIB_TRANSPORT_STATIC_AUTH (0x00000008) | 362 #define TSS_TSPATTRIB_TRANSPORT_STATIC_AUTH (0x00000008) |
363 | 363 |
(...skipping 915 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1279 #define TSS_DAA_LENGTH_SAFETY 10 // Length of the securit
y parameter controlling the statistical zero-knowledge property (80 bits) | 1279 #define TSS_DAA_LENGTH_SAFETY 10 // Length of the securit
y parameter controlling the statistical zero-knowledge property (80 bits) |
1280 #define TSS_DAA_LENGTH_HASH TPM_SHA1_160_HASH_LEN // Length of the output
of the hash function SHA-1 used for the Fiat-Shamir heuristic(160 bits) | 1280 #define TSS_DAA_LENGTH_HASH TPM_SHA1_160_HASH_LEN // Length of the output
of the hash function SHA-1 used for the Fiat-Shamir heuristic(160 bits) |
1281 #define TSS_DAA_LENGTH_S 128 // Length of the split l
arge exponent for easier computations on the TPM (1024 bits) | 1281 #define TSS_DAA_LENGTH_S 128 // Length of the split l
arge exponent for easier computations on the TPM (1024 bits) |
1282 #define TSS_DAA_LENGTH_GAMMA 204 // Length of the modulus
'Gamma' (1632 bits) | 1282 #define TSS_DAA_LENGTH_GAMMA 204 // Length of the modulus
'Gamma' (1632 bits) |
1283 #define TSS_DAA_LENGTH_RHO 26 // Length of the order '
rho' of the sub group of Z*_Gamma that is used for roggue tagging (208 bits) | 1283 #define TSS_DAA_LENGTH_RHO 26 // Length of the order '
rho' of the sub group of Z*_Gamma that is used for roggue tagging (208 bits) |
1284 #define TSS_DAA_LENGTH_MFG1_GAMMA 214 // Length of the output
of MGF1 in conjunction with the modulus Gamma (1712 bits) | 1284 #define TSS_DAA_LENGTH_MFG1_GAMMA 214 // Length of the output
of MGF1 in conjunction with the modulus Gamma (1712 bits) |
1285 #define TSS_DAA_LENGTH_MGF1_AR 25 // Length of the output
of MGF1 used for anonymity revocation (200 bits) | 1285 #define TSS_DAA_LENGTH_MGF1_AR 25 // Length of the output
of MGF1 used for anonymity revocation (200 bits) |
1286 | 1286 |
1287 | 1287 |
1288 #endif // __TSS_DEFINES_H__ | 1288 #endif // __TSS_DEFINES_H__ |
OLD | NEW |