summaryrefslogtreecommitdiff
path: root/src/journal/journal-authenticate.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-16 23:58:14 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-16 23:58:14 +0200
commit14d10188de1fd58e663d73683a400d8d7dc67dba (patch)
tree5ae905c6b4e53a67972903b022b9b89425f35950 /src/journal/journal-authenticate.h
parenta8e5f51484ba832e299a38f2a54e455e445d2896 (diff)
journal: add FSPRG journal authentication
Diffstat (limited to 'src/journal/journal-authenticate.h')
-rw-r--r--src/journal/journal-authenticate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/journal/journal-authenticate.h b/src/journal/journal-authenticate.h
index 566d7a81a9..282c73f68c 100644
--- a/src/journal/journal-authenticate.h
+++ b/src/journal/journal-authenticate.h
@@ -30,6 +30,7 @@ int journal_file_append_tag(JournalFile *f);
int journal_file_maybe_append_tag(JournalFile *f, uint64_t realtime);
int journal_file_append_first_tag(JournalFile *f);
+int journal_file_hmac_start(JournalFile *f);
int journal_file_hmac_put_header(JournalFile *f);
int journal_file_hmac_put_object(JournalFile *f, int type, uint64_t p);
@@ -38,3 +39,5 @@ int journal_file_load_fsprg(JournalFile *f);
int journal_file_setup_hmac(JournalFile *f);
bool journal_file_fsprg_enabled(JournalFile *f);
+
+int journal_file_fsprg_seek(JournalFile *f, uint64_t epoch);