view src/lib/hmac-cram-md5.h @ 22955:812e5c961328

fts: Indexing virtual mailbox didn't always index the last mails
author Timo Sirainen <timo.sirainen@dovecot.fi>
date Thu, 03 May 2018 18:33:00 +0300
parents 8802322d7257
children
line wrap: on
line source

#ifndef HMAC_CRAM_MD5_H
#define HMAC_CRAM_MD5_H

#include "hmac.h"

#define CRAM_MD5_CONTEXTLEN 32

void hmac_md5_get_cram_context(struct hmac_context *ctx,
		unsigned char context_digest[CRAM_MD5_CONTEXTLEN]);
void hmac_md5_set_cram_context(struct hmac_context *ctx,
		const unsigned char context_digest[CRAM_MD5_CONTEXTLEN]);


#endif