~ubuntu-branches/ubuntu/jaunty/trousers/jaunty

« back to all changes in this revision

Viewing changes to src/include/capabilities.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2008-01-23 22:03:00 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080123220300-fhtqja3c0oq0gp6z
Tags: 0.3.1-4
* Added patch from Aaron M. Ucko <ucko@debian.org> to allow trousers to
  build successfully on amd64, and presumably also other 64-bit
  architectures (Closes: #457400).
* Including udev rule for /dev/tpm from William Lima
  <wlima.amadeus@gmail.com> as suggested by David Smith <dds@google.com>
  (Closes: #459682).
* Added lintian overrides.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 *
5
5
 * trousers - An open source TCG Software Stack
6
6
 *
7
 
 * (C) Copyright International Business Machines Corp. 2004, 2006
 
7
 * (C) Copyright International Business Machines Corp. 2004-2007
8
8
 *
9
9
 */
10
10
 
16
16
 */
17
17
 
18
18
/* TSP */
19
 
#define INTERNAL_CAP_TSP_VERSION                { 1, 1, TSS_VER_MAJOR, TSS_VER_MINOR }
20
 
 
 
19
/* BOOL */
21
20
#define INTERNAL_CAP_TSP_ALG_RSA                TRUE
22
21
#define INTERNAL_CAP_TSP_ALG_SHA                TRUE
23
22
#define INTERNAL_CAP_TSP_ALG_3DES               FALSE
24
23
#define INTERNAL_CAP_TSP_ALG_DES                FALSE
25
24
#define INTERNAL_CAP_TSP_ALG_HMAC               TRUE
26
25
#define INTERNAL_CAP_TSP_ALG_AES                TRUE
27
 
 
28
26
#define INTERNAL_CAP_TSP_PERSSTORAGE            TRUE
29
27
 
 
28
/* UINT32 */
 
29
#define INTERNAL_CAP_TSP_ALG_DEFAULT            TSS_ALG_RSA
 
30
#define INTERNAL_CAP_TSP_ALG_DEFAULT_SIZE       TSS_KEY_SIZEVAL_2048BIT
 
31
 
 
32
/* 1 indicates byte-stream return values, 0 indicates ASN.1 encoded return values */
 
33
#define INTERNAL_CAP_TSP_RETURNVALUE_INFO       1
 
34
 
 
35
/* 0 is unknown platform version/type. Currently the spec is too vague on possible values for this
 
36
 * information to define anything here. */
 
37
#define INTERNAL_CAP_TSP_PLATFORM_VERSION       0
 
38
#define INTERNAL_CAP_TSP_PLATFORM_TYPE          0
 
39
 
30
40
/* TCS */
31
 
#define INTERNAL_CAP_TCS_VERSION                { 1, 1, TSS_VER_MAJOR, TSS_VER_MINOR }
32
 
 
 
41
/* BOOL */
33
42
#define INTERNAL_CAP_TCS_ALG_RSA                FALSE
34
43
#define INTERNAL_CAP_TCS_ALG_AES                FALSE
35
44
#define INTERNAL_CAP_TCS_ALG_3DES               FALSE
36
45
#define INTERNAL_CAP_TCS_ALG_DES                FALSE
37
 
#define INTERNAL_CAP_TCS_ALG_SHA                FALSE
 
46
#define INTERNAL_CAP_TCS_ALG_SHA                TRUE
38
47
#define INTERNAL_CAP_TCS_ALG_HMAC               FALSE
39
 
 
40
48
#define INTERNAL_CAP_TCS_PERSSTORAGE            TRUE
41
 
 
42
 
#define INTERNAL_CAP_TCS_CACHING_KEYCACHE       TRUE
 
49
#define INTERNAL_CAP_TCS_CACHING_KEYCACHE       FALSE
43
50
#define INTERNAL_CAP_TCS_CACHING_AUTHCACHE      TRUE
44
51
 
45
 
#define INTERNAL_CAP_TCS_MANUFACTURER_ID        0x49424D00
46
 
#define INTERNAL_CAP_TCS_MANUFACTURER_STR       { 'I', 0, 'B', 0, 'M', 0, 0, 0 }
47
 
#define INTERNAL_CAP_TCS_MANUFACTURER_STR_LEN   8
 
52
/* UINT32 */
 
53
#define INTERNAL_CAP_TCS_ALG_DEFAULT            TSS_ALG_RSA
 
54
#define INTERNAL_CAP_TCS_ALG_DEFAULT_SIZE       TSS_KEY_SIZEVAL_2048BIT
 
55
 
 
56
/* Common between both TSP and TCS */
 
57
#define INTERNAL_CAP_VERSION                    { 1, 2, TSS_VER_MAJOR, TSS_VER_MINOR }
 
58
 
 
59
#define INTERNAL_CAP_MANUFACTURER_ID            0x49424D00
 
60
#define INTERNAL_CAP_MANUFACTURER_STR           { 'I', 0, 'B', 0, 'M', 0, 0, 0 }
 
61
#define INTERNAL_CAP_MANUFACTURER_STR_LEN       8
48
62
 
49
63
#endif