I need to find a SHA-256 hash function delay on a device which has 200 MHz CPU speed. How could I do that, is there anyone who has the answer for much faster or slower device?
The speed depends largely on the implementation and on the CPU specifics. A very rough estimate of the speed to be expected is to extrapolate cycles per byte numbers to your particular device.
The numbers do vary, but let's be conservative and assume your SHA-256 implementation takes about 25 cycles/byte. Taking the reciprocal tells you that you get 1/25 of a byte per cyle. A 200 MHz processor has 200 mio cycles per second, so this gives you a theoretical throughput of 8 mio bytes/s, which is ~ 7,63 MB/s.
But this is just a very rough guess, if you want exact numbers, then the best thing you can do is to just benchmark the whole thing yourself.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With