mirror of
https://github.com/shadps4-emu/ext-cryptopp.git
synced 2024-11-23 09:59:42 +00:00
Add ChaCha20Poly1305 benchmarks (GH #724)
This commit is contained in:
parent
7c3414b072
commit
cb674918b3
@ -247,6 +247,7 @@ void Benchmark2(double t, double hertz)
|
||||
}
|
||||
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/CCM");
|
||||
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/EAX");
|
||||
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("ChaCha20/Poly1305");
|
||||
}
|
||||
|
||||
std::cout << "\n</TABLE>" << std::endl;
|
||||
|
@ -39,6 +39,7 @@
|
||||
#include "rc5.h"
|
||||
#include "skipjack.h"
|
||||
#include "blowfish.h"
|
||||
#include "chachapoly.h"
|
||||
|
||||
// Aggressive stack checking with VS2005 SP1 and above.
|
||||
#if (_MSC_FULL_VER >= 140050727)
|
||||
@ -70,6 +71,8 @@ void RegisterFactories4()
|
||||
RegisterAuthenticatedSymmetricCipherDefaultFactories<CCM<AES> >();
|
||||
RegisterAuthenticatedSymmetricCipherDefaultFactories<GCM<AES> >();
|
||||
RegisterAuthenticatedSymmetricCipherDefaultFactories<EAX<AES> >();
|
||||
RegisterAuthenticatedSymmetricCipherDefaultFactories<ChaCha20Poly1305>();
|
||||
|
||||
RegisterSymmetricCipherDefaultFactories<CBC_Mode<ARIA> >(); // For test vectors
|
||||
RegisterSymmetricCipherDefaultFactories<CTR_Mode<ARIA> >();
|
||||
RegisterSymmetricCipherDefaultFactories<CTR_Mode<Camellia> >();
|
||||
|
Loading…
Reference in New Issue
Block a user