summaryrefslogtreecommitdiff
path: root/bench2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-01-27 01:41:53 -0500
committerJeffrey Walton <noloader@gmail.com>2019-01-27 01:41:53 -0500
commite388f2d88d7f4b2b52f60d5254ab27aaebcfa06e (patch)
tree85983c1001a7314f065ecb45b4003c01861d8ae0 /bench2.cpp
parent6cd2d0a06a57fd800d2c590055eb741f870ac2ec (diff)
downloadcryptopp-git-e388f2d88d7f4b2b52f60d5254ab27aaebcfa06e.tar.gz
Add Poly1305TLS algorithm (GH #727)
This is the IETF's rendition of Poly1305 that forgoes AES and the nonce, and uses 16-bytes of the key directly to mac the message
Diffstat (limited to 'bench2.cpp')
-rw-r--r--bench2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/bench2.cpp b/bench2.cpp
index 5612ad85..edf07c8e 100644
--- a/bench2.cpp
+++ b/bench2.cpp
@@ -125,6 +125,7 @@ void Benchmark2(double t, double hertz)
BenchMarkByName<MessageAuthenticationCode>("CMAC(AES)");
BenchMarkByName<MessageAuthenticationCode>("DMAC(AES)");
BenchMarkByName<MessageAuthenticationCode>("Poly1305(AES)");
+ BenchMarkByName<MessageAuthenticationCode>("Poly1305TLS");
BenchMarkByName<MessageAuthenticationCode>("BLAKE2s");
BenchMarkByName<MessageAuthenticationCode>("BLAKE2b");
BenchMarkByName<MessageAuthenticationCode>("SipHash-2-4");