Re: MAC problems



Joseph Ashwood wrote:
[I was out of town]

"Antony Clements" <antony.clements@xxxxxxxxxxxxxxx> wrote in message news:45ef36a7$0$9771$afc38c87@xxxxxxxxxxxxxxxxxxxxxxx
I'm running a 64-bit core so it should be natively aware of 64-bit instructions if a 64-bit OS is used.

Actually the 64-bit ness would be in the compilation process. The 64-bit OS is generally only necessary for certain types of 64-bit wizardry, but computations performed on 64-bit operands should be available natively on a 32-bit OS, just as 32-bit operands were available on 32-bit CPUs running 16-bit OSs years ago. Without a full 64-bit OS you probably won't see the full speed potential, but with SHA-512 the difference should be an epsilon. Grab a copy of a real implementation of SHA-512, or SHA-256 you'll see a huge speed improvement, considering the inefficiency of the implementation you currently have it is fairly unlikely that it is actually SHA anything, it is probably something else entirely that resulted from an incorrect implementation.
Joe


IIRC AC is a fan of MSVB - if you are using 64 bit unsigned integers be aware that they do not work properly.
.


Quantcast