I want to get benchmarks for sha512 hmac through cryptopp

There is a line for sha1 hmac benchmarks already in the suite and this
runs fine.
BenchMarkByName<MessageAuthenticationCode>("HMAC(SHA-1");

but when i copy it and modify it for sha-512 as follows:
BenchMarkByName<MessageAuthenticationCode>("HMAC(SHA-512");

I get the following error:
CryptoPP::Exception caught: ObjectFactoryRegistry: could not find
factory for algorithm HMAC(SHA-512)

Any idea what the problem is here and how i can make it run for sha512
hmac?

Note also the benchmarks for sha 512 works fine for me
BenchMarkByNameKeyLess<HashTransformation>("SHA-512");

Regadrs
Jonathan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to