X-Git-Url: http://git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=hmac.h;h=71108ab65d9a1679d55801cbe7276d851484fe35;hp=44939002f66561a67b04bb30325030dd66291bdb;hb=0024f172c0c10136e5ae18914be014a5b422ffb8;hpb=1ea860909ea670451b5200ccd30aa19241cd081a diff --git a/hmac.h b/hmac.h index 44939002..71108ab6 100644 --- a/hmac.h +++ b/hmac.h @@ -1,8 +1,10 @@ #ifndef HMAC_H #define HMAC_H +#include "qtypes.h" + typedef void (*hashfunc_t) (unsigned char *out, const unsigned char *in, int n); -qboolean hmac( +qbool hmac( hashfunc_t hfunc, int hlen, int hblock, unsigned char *out, const unsigned char *in, int n,