mercredi 4 mars 2020

Performance tests between software SHA256 Library and HW SHA256 in C

I would like to compare performance (execution time) between software (basic sha256 lib with init,update,final) and hardware SHA256. I would like to make short input data tests and long input data tests. I would like to measure time needed to hash many like 1 million for example individual blocks of 100 or so bytes.

And then ,I would like to make the opposite case with 1 block of 1M Bytes. I suppose with long inputs HW SHA256 will be better.

What would be the best way to make those tests (by the way I already found how to get time between the execution) ?

Aucun commentaire:

Enregistrer un commentaire