diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-07-23 23:52:34 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-07-23 23:52:34 -0400 |
commit | 9242b7c91863bd22871a3526a19d132621707414 (patch) | |
tree | 1817ccc98a974995f1749637e85d2dc9f721beba /bench.h | |
parent | 030de2e457fc7cd6d77d18ebd06c7c8d14954507 (diff) | |
download | cryptopp-git-9242b7c91863bd22871a3526a19d132621707414.tar.gz |
Add UnkeyedRNG, UnkeyedHash and UnkeyedOther
Some RNGs are keyed, like AES/OFB. However, for classification, we treat them as unkeyed.
Diffstat (limited to 'bench.h')
-rw-r--r-- | bench.h | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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
|