From d98cc1f29fbf31ccc500d6e20c29b636b9af7e0f Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 13 Aug 2012 21:52:58 +0200 Subject: journal: include tag object header in hmac --- src/journal/journal-def.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/journal/journal-def.h') diff --git a/src/journal/journal-def.h b/src/journal/journal-def.h index af22e17822..82210bfc46 100644 --- a/src/journal/journal-def.h +++ b/src/journal/journal-def.h @@ -124,6 +124,7 @@ _packed_ struct EntryArrayObject { _packed_ struct TagObject { ObjectHeader object; + uint64_t seqnum; uint8_t tag[TAG_LENGTH]; /* SHA-256 HMAC */ }; @@ -182,6 +183,8 @@ _packed_ struct Header { /* Added in 187 */ le64_t n_data; le64_t n_fields; + /* Added in 189 */ + le64_t n_tags; }; #define FSPRG_HEADER_SIGNATURE ((char[]) { 'K', 'S', 'H', 'H', 'R', 'H', 'L', 'P' }) -- cgit v1.2.3