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 :
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,
Icingtaupe
( Ho .. I hope I'm in the right section .. )
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
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,
Icingtaupe
( Ho .. I hope I'm in the right section .. )
Shameless self promotion here but you might have some luck with my SHA implementation.
Aligned_malloc and Aligned_free require the "processor pack".
Thanks Eoin, I've modded it a bit in order to accept files, and it work perfectly :)
Thanks again :)
Thanks again :)