00001
00009
00010
00011
00012
00013 #ifndef __INGERITY_TYPES_H
00014 #define __INGERITY_TYPES_H
00015
00016 #include <l4/crypto/sha1.h>
00017
00018 typedef char integrity_hash_t[SHA1_DIGEST_SIZE];
00019
00020 #ifdef USE_INTEGRITY_LYON
00021 #include <l4/lyon/lyon.h>
00022
00023 typedef lyon_id_t integrity_id_t;
00024 #define integrity_nil_id lyon_nil_id
00025 #endif
00026
00027 #ifdef USE_INTEGRITY_VTPM
00028 #include <l4/stpm/tcg/pcrs.h>
00029 typedef integrity_hash_t integrity_id_t;
00030 #endif
00031
00032 #endif
00033