 | >SHA1 unrolled : 2170 clocks / 512 bits
I might sound dumb but how do you guys count these 'clocks'? Are they given by some sort of a tool that you've got or you just count them manually looking at the ARM Datasheet? But then there's a difference between N, S & I states, do you just ignore it for simplicity?
I've got a highly optimised SHA-1 as well and I'm thinking of the way to compare it with your results. The measured speed would be meaningless as my device has slow memory (hence, my figures are worse then yours significantly), the code size is irrelevant to me - the function is completely unrolled. If you explain me about the 'clocks' - this sounds as a descent comparison criterion.
Thanks.
|
|