X-Git-Url: http://git.meshlink.io/?p=meshlink;a=blobdiff_plain;f=src%2Fprf.c;h=499d819694890e353e571b2e487a49f5d7d8c500;hp=ec8d0c60e58c2a33b666abbb7e301cb9919a66ac;hb=dc0e52cb3e42620c3139e713b373d130aa30b698;hpb=43ffcfc3c3fcd8088a77e9a2ac9cc4013c466158 diff --git a/src/prf.c b/src/prf.c index ec8d0c60..499d8196 100644 --- a/src/prf.c +++ b/src/prf.c @@ -28,7 +28,7 @@ static void memxor(char *buf, char c, size_t len) { } } -static const size_t mdlen = 64; +#define mdlen 64 // TODO: separate key setup from hmac_sha512