Searched refs:hmac (Results 1 - 4 of 4) sorted by relevance
/systemd/src/journal/ |
H A D | journal-authenticate.c | 54 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 D | journal-file.h | 114 gcry_md_hd_t hmac; member in struct:JournalFile
|
H A D | journal-verify.c | 1118 if (memcmp(o->tag.tag, gcry_md_read(f->hmac, 0), TAG_LENGTH) != 0) {
|
H A D | journal-file.c | 198 if (f->hmac) 199 gcry_md_close(f->hmac);
|
Completed in 22 milliseconds