Searched refs:hmac (Results 1 - 4 of 4) sorted by relevance

/systemd/src/journal/
H A Djournal-authenticate.c54 assert(f->hmac);
74 memcpy(o->tag.tag, gcry_md_read(f->hmac, 0), TAG_LENGTH);
91 gcry_md_reset(f->hmac);
93 gcry_md_setkey(f->hmac, key, sizeof(key));
253 gcry_md_write(f->hmac, o, offsetof(ObjectHeader, payload));
259 gcry_md_write(f->hmac, &o->data.hash, sizeof(o->data.hash));
260 gcry_md_write(f->hmac, o->data.payload, le64toh(o->object.size) - offsetof(DataObject, payload));
265 gcry_md_write(f->hmac, &o->field.hash, sizeof(o->field.hash));
266 gcry_md_write(f->hmac, o->field.payload, le64toh(o->object.size) - offsetof(FieldObject, payload));
271 gcry_md_write(f->hmac,
[all...]
H A Djournal-file.h114 gcry_md_hd_t hmac; member in struct:JournalFile
H A Djournal-verify.c1118 if (memcmp(o->tag.tag, gcry_md_read(f->hmac, 0), TAG_LENGTH) != 0) {
H A Djournal-file.c198 if (f->hmac)
199 gcry_md_close(f->hmac);

Completed in 22 milliseconds