summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-06-23 13:07:26 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-06-23 13:07:26 +0000
commit47040387718ddf0bcf547cde96d4d1df681a72e7 (patch)
treef689c2c6293d3abb3ce8d957f3b7bf8daf67fd92 /app-crypt/tpm-emulator/files
parentCorrect dependency on lcms (#96851). (diff)
downloadhistorical-47040387718ddf0bcf547cde96d4d1df681a72e7.tar.gz
historical-47040387718ddf0bcf547cde96d4d1df681a72e7.tar.bz2
historical-47040387718ddf0bcf547cde96d4d1df681a72e7.zip
initial import
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'app-crypt/tpm-emulator/files')
-rw-r--r--app-crypt/tpm-emulator/files/digest-tpm-emulator-0.2a1
-rw-r--r--app-crypt/tpm-emulator/files/tpm-emulator-0.2a-inline.patch148
2 files changed, 149 insertions, 0 deletions
diff --git a/app-crypt/tpm-emulator/files/digest-tpm-emulator-0.2a b/app-crypt/tpm-emulator/files/digest-tpm-emulator-0.2a
new file mode 100644
index 000000000000..ce23014d16c7
--- /dev/null
+++ b/app-crypt/tpm-emulator/files/digest-tpm-emulator-0.2a
@@ -0,0 +1 @@
+MD5 e58fc0cf77348d30ba7cbeacce20eefc tpm_emulator-0.2a.tar.gz 100306
diff --git a/app-crypt/tpm-emulator/files/tpm-emulator-0.2a-inline.patch b/app-crypt/tpm-emulator/files/tpm-emulator-0.2a-inline.patch
new file mode 100644
index 000000000000..ebeb271db8c2
--- /dev/null
+++ b/app-crypt/tpm-emulator/files/tpm-emulator-0.2a-inline.patch
@@ -0,0 +1,148 @@
+--- tpm_marshalling.c.orig 2005-05-07 17:57:21.000000000 +1000
++++ tpm_marshalling.c 2005-06-23 21:46:08.000000000 +1000
+@@ -20,7 +20,7 @@
+ #include "crypto/rsa.h"
+ #include "linux_module.h"
+
+-inline int tpm_marshal_BYTE(BYTE **ptr, UINT32 *length, BYTE v)
++ int tpm_marshal_BYTE(BYTE **ptr, UINT32 *length, BYTE v)
+ {
+ if (*length < 1) return -1;
+ **ptr = v;
+@@ -28,7 +28,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_BYTE(BYTE **ptr, UINT32 *length, BYTE *v)
++ int tpm_unmarshal_BYTE(BYTE **ptr, UINT32 *length, BYTE *v)
+ {
+ if (*length < 1) return -1;
+ *v = **ptr;
+@@ -36,7 +36,7 @@
+ return 0;
+ }
+
+-inline int tpm_marshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 v)
++ int tpm_marshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 v)
+ {
+ if (*length < 2) return -1;
+ **(UINT16**)ptr = CPU_TO_BE16(v);
+@@ -44,7 +44,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 *v)
++ int tpm_unmarshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 *v)
+ {
+ if (*length < 2) return -1;
+ *v = BE16_TO_CPU(**(UINT16**)ptr);
+@@ -52,7 +52,7 @@
+ return 0;
+ }
+
+-inline int tpm_marshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 v)
++ int tpm_marshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 v)
+ {
+ if (*length < 4) return -1;
+ **(UINT32**)ptr = CPU_TO_BE32(v);
+@@ -60,7 +60,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 *v)
++ int tpm_unmarshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 *v)
+ {
+ if (*length < 4) return -1;
+ *v = BE32_TO_CPU(**(UINT32**)ptr);
+@@ -68,7 +68,7 @@
+ return 0;
+ }
+
+-inline int tpm_marshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 v)
++ int tpm_marshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 v)
+ {
+ if (*length < 8) return -1;
+ **(UINT64**)ptr = CPU_TO_BE64(v);
+@@ -76,7 +76,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 *v)
++ int tpm_unmarshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 *v)
+ {
+ if (*length < 8) return -1;
+ *v = BE64_TO_CPU(**(UINT64**)ptr);
+@@ -84,7 +84,7 @@
+ return 0;
+ }
+
+-inline int tpm_marshal_BLOB(BYTE **ptr, UINT32 *ptr_length,
++ int tpm_marshal_BLOB(BYTE **ptr, UINT32 *ptr_length,
+ BYTE *b, UINT32 b_length)
+ {
+ if (*ptr_length < b_length) return -1;
+@@ -93,7 +93,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_BLOB(BYTE **ptr, UINT32 *ptr_length,
++ int tpm_unmarshal_BLOB(BYTE **ptr, UINT32 *ptr_length,
+ BYTE **b, UINT32 b_length)
+ {
+ if (*ptr_length < b_length) return -1;
+@@ -102,7 +102,7 @@
+ return 0;
+ }
+
+-inline int tpm_marshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length,
++ int tpm_marshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length,
+ BYTE *b, UINT32 b_length)
+ {
+ if (*ptr_length < b_length) return -1;
+@@ -111,7 +111,7 @@
+ return 0;
+ }
+
+-inline int tpm_unmarshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length,
++ int tpm_unmarshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length,
+ BYTE *b, UINT32 b_length)
+ {
+ if (*ptr_length < b_length) return -1;
+--- tpm_marshalling.h.orig 2005-05-07 17:57:21.000000000 +1000
++++ tpm_marshalling.h 2005-06-23 21:46:08.000000000 +1000
+@@ -56,23 +56,23 @@
+ * returned and the values of ptr and length are undefined.
+ */
+
+-inline int tpm_marshal_BYTE(BYTE **ptr, UINT32 *length, BYTE v);
+-inline int tpm_unmarshal_BYTE(BYTE **ptr, UINT32 *length, BYTE *v);
++ int tpm_marshal_BYTE(BYTE **ptr, UINT32 *length, BYTE v);
++ int tpm_unmarshal_BYTE(BYTE **ptr, UINT32 *length, BYTE *v);
+
+-inline int tpm_marshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 v);
+-inline int tpm_unmarshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 *v);
++ int tpm_marshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 v);
++ int tpm_unmarshal_UINT16(BYTE **ptr, UINT32 *length, UINT16 *v);
+
+-inline int tpm_marshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 v);
+-inline int tpm_unmarshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 *v);
++ int tpm_marshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 v);
++ int tpm_unmarshal_UINT32(BYTE **ptr, UINT32 *length, UINT32 *v);
+
+-inline int tpm_marshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 v);
+-inline int tpm_unmarshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 *v);
++ int tpm_marshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 v);
++ int tpm_unmarshal_UINT64(BYTE **ptr, UINT32 *length, UINT64 *v);
+
+-inline int tpm_marshal_BLOB(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
+-inline int tpm_unmarshal_BLOB(BYTE **ptr, UINT32 *ptr_length, BYTE **b, UINT32 b_length);
++ int tpm_marshal_BLOB(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
++ int tpm_unmarshal_BLOB(BYTE **ptr, UINT32 *ptr_length, BYTE **b, UINT32 b_length);
+
+-inline int tpm_marshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
+-inline int tpm_unmarshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
++ int tpm_marshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
++ int tpm_unmarshal_BYTE_ARRAY(BYTE **ptr, UINT32 *ptr_length, BYTE *b, UINT32 b_length);
+
+ #define tpm_marshal_BOOL tpm_marshal_BYTE
+ #define tpm_unmarshal_BOOL tpm_unmarshal_BYTE