implemented a speed test for public key algorithms

This commit is contained in:
Martin Willi 2009-06-08 19:02:31 +02:00
parent 3240cab978
commit 08874d6ae2
3 changed files with 1055 additions and 1 deletions

View File

@ -1,7 +1,7 @@
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
AM_CFLAGS = -rdynamic
AM_CFLAGS = -rdynamic -lrt
plugin_LTLIBRARIES = libstrongswan-unit-tester.la
@ -14,6 +14,7 @@ libstrongswan_unit_tester_la_SOURCES = unit_tester.c unit_tester.h tests.h \
tests/test_sqlite.c \
tests/test_mutex.c \
tests/test_rsa_gen.c \
tests/test_pubkey_speed.c \
tests/test_cert.c \
tests/test_med_db.c \
tests/test_aes.c \

View File

@ -30,6 +30,7 @@ DEFINE_TEST("MySQL operations", test_mysql, FALSE)
DEFINE_TEST("SQLite operations", test_sqlite, FALSE)
DEFINE_TEST("mutex primitive", test_mutex, FALSE)
DEFINE_TEST("RSA key generation", test_rsa_gen, FALSE)
DEFINE_TEST("PublicKey speed test", test_pubkey_speed, FALSE)
DEFINE_TEST("RSA subjectPublicKeyInfo loading", test_rsa_load_any, FALSE)
DEFINE_TEST("X509 certificate", test_cert_x509, FALSE)
DEFINE_TEST("Mediation database key fetch", test_med_db, FALSE)

File diff suppressed because it is too large Load Diff