Add UnkeyedRNG, UnkeyedHash and UnkeyedOther

Some RNGs are keyed, like AES/OFB. However, for classification, we treat them as unkeyed.
pull/450/head
Jeffrey Walton 2017-07-23 23:52:34 -04:00
parent 030de2e457
commit 9242b7c918
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
1 changed files with 4 additions and 2 deletions

View File

@ -16,8 +16,10 @@ NAMESPACE_BEGIN(Test)
// More granular control over benchmarks
enum TestClass {
Unkeyed=1,SharedKeyMAC=2,SharedKeyStream=4,SharedKeyBlock=8,SharedKeyOther=16,
PublicKeyAgreement=32,PublicKeyEncryption=64,PublicKeySignature=128,PublicKeyOther=256,
UnkeyedRNG=1,UnkeyedHash=2,UnkeyedOther=4,
SharedKeyMAC=8,SharedKeyStream=16,SharedKeyBlock=32,SharedKeyOther=64,
PublicKeyAgreement=128,PublicKeyEncryption=256,PublicKeySignature=512,PublicKeyOther=1024,
Unkeyed=UnkeyedRNG|UnkeyedHash|UnkeyedOther,
SharedKey=SharedKeyMAC|SharedKeyStream|SharedKeyBlock|SharedKeyOther,
PublicKey=PublicKeyAgreement|PublicKeyEncryption|PublicKeySignature|PublicKeyOther,
All=Unkeyed|SharedKey|PublicKey