Added component column in files table

Implemented enumerator getter for generating functional component evidence requests
Implemented enumerator getter for component hashes
This commit is contained in:
Sansar Choinyambuu
2011-11-28 21:20:23 +01:00
committed by Andreas Steffen
parent 79e3859bf1
commit b4a9274ce1
4 changed files with 62 additions and 7 deletions
+4 -4
View File
@@ -177,15 +177,15 @@ INSERT INTO files (
);
INSERT INTO files (
type, path, measurement
type, path, component
) VALUES (
0, 'pcr17', 1
0, 'tboot_pcr17', 1
);
INSERT INTO files (
type, path, measurement
type, path, component
) VALUES (
0, 'pcr18', 1
0, 'tboot_pcr18', 1
);
/* Product-File */
@@ -6,7 +6,8 @@ CREATE TABLE files (
type INTEGER NOT NULL,
path TEXT NOT NULL,
measurement INTEGER DEFAULT 0,
metadata INTEGER DEFAULT 0
metadata INTEGER DEFAULT 0,
component INTEGER DEFAULT 0
);
DROP TABLE IF EXISTS products;