Searched refs:epoch (Results 1 - 7 of 7) sorted by relevance

/systemd/src/journal/
H A Djournal-authenticate.c61 o->tag.epoch = htole64(FSPRG_GetEpoch(f->fsprg_state));
63 log_debug("Writing tag %"PRIu64" for epoch %"PRIu64"",
100 static int journal_file_get_epoch(JournalFile *f, uint64_t realtime, uint64_t *epoch) { argument
104 assert(epoch);
117 *epoch = t;
122 uint64_t goal, epoch; local
133 epoch = FSPRG_GetEpoch(f->fsprg_state);
134 if (epoch > goal)
137 return epoch != goal;
141 uint64_t goal, epoch; local
170 uint64_t epoch; local
549 uint64_t epoch; local
[all...]
H A Djournal-authenticate.h39 int journal_file_fsprg_seek(JournalFile *f, uint64_t epoch);
H A Dfsprg.h57 void FSPRG_Seek(void *state, uint64_t epoch, const void *msk, const void *seed, size_t seedlen);
H A Dfsprg.c237 return 2 + 2 * _secpar / 8 + 8; /* to store header,n,x,epoch */
315 uint64_t epoch; local
322 epoch = uint64_import(state + 2 + 2 * secpar / 8, 8);
325 epoch++;
328 uint64_export(state + 2 + 2 * secpar / 8, 8, epoch);
340 void FSPRG_Seek(void *state, uint64_t epoch, const void *msk, const void *seed, size_t seedlen) { argument
356 kp = twopowmodphi(epoch, p); /* compute 2^epoch (mod phi(p)) */
357 kq = twopowmodphi(epoch, q); /* compute 2^epoch (mo
[all...]
H A Djournal-def.h136 le64_t epoch; member in struct:TagObject
H A Djournal-verify.c344 if (!VALID_EPOCH(o->tag.epoch)) {
346 "Invalid object tag epoch: %"PRIu64,
347 o->tag.epoch);
1062 if (le64toh(o->tag.epoch) < last_epoch) {
1074 rt = f->fss_start_usec + o->tag.epoch * f->fss_interval_usec;
1081 /* OK, now we know the epoch. So let's now set
1084 r = journal_file_fsprg_seek(f, le64toh(o->tag.epoch));
1132 last_epoch = le64toh(o->tag.epoch);
H A Djournal-file.c2558 printf("Type: OBJECT_TAG seqnum=%"PRIu64" epoch=%"PRIu64"\n",
2560 le64toh(o->tag.epoch));

Completed in 40 milliseconds