Hi everyone,

I'm sorry to disturb all of you with a such ( stupid ) thing, but .. I really don't get this working ._.

I was looking for some SHA1 hashing' implementation for a tool which check file's checksum, and found the Jan.Wassenberg algo', optimized .. all seems okay.

The bad point is that I can't include it in my own project. It seems to have some unresolved externals, like malloc / free, which are C macros / specific routine. Erk.

I've tried to compile the .asm code he give, same thing, it give me a .obj file ( which I link to my own .obj ), and the linker give me the same error message :

error LNK2001: unresolved external symbol __imp___aligned_malloc
error LNK2001: unresolved external symbol __imp___aligned_free

Eek. Tried to include in some others ways the .o / .h etc after conversion to MASM format, and same thing >_<

Does someone know how to do it, or, better, have a MASM version of this code ? It could be very helpful ..

Thanks for you help,


( Ho .. I hope I'm in the right section .. )
Posted on 2006-06-24 18:53:26 by Icingtaupe
Shameless self promotion here but you might have some luck with my SHA implementation.
Posted on 2006-06-24 20:11:57 by Eóin
Aligned_malloc and Aligned_free require the "processor pack".
Posted on 2006-06-25 01:15:21 by ti_mo_n
Thanks Eoin, I've modded it a bit in order to accept files, and it work perfectly :)

Thanks again :)
Posted on 2006-06-26 15:59:30 by Icingtaupe