Mercurial > dovecot > core-2.2
view src/lib/hmac-cram-md5.h @ 15172:8802322d7257
lib: Generalize hmac to be hash independent
author | Florian Zeitz <florob@babelmonkeys.de> |
---|---|
date | Thu, 30 Aug 2012 00:43:56 +0200 |
parents | |
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