#16 How to build a beecrypt.dll in Windows?

open
nobody
None
5
2011-05-28
2011-05-28
Anonymous
No

I've been running into some difficulties trying to build beecrypt for Windows. Maybe the biggest problem has to do with these style struct definitions:

const hashFunction sha384 = {
.name = "SHA-384",
.paramsize = sizeof(sha384Param),
.blocksize = 128,
.digestsize = 48,
.reset = (hashFunctionReset) sha384Reset,
.update = (hashFunctionUpdate) sha384Update,
.digest = (hashFunctionDigest) sha384Digest
};

So far I haven't found a way to get VS 2010 to compile those.

I'm not sure if this means I need to compile using my Cygwin setup, my mingw setup, or something else.

Discussion