implemented a speed test for public key algorithms
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
|
|
||||||
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
|
INCLUDES = -I$(top_srcdir)/src/libstrongswan -I$(top_srcdir)/src/charon
|
||||||
|
|
||||||
AM_CFLAGS = -rdynamic
|
AM_CFLAGS = -rdynamic -lrt
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libstrongswan-unit-tester.la
|
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_sqlite.c \
|
||||||
tests/test_mutex.c \
|
tests/test_mutex.c \
|
||||||
tests/test_rsa_gen.c \
|
tests/test_rsa_gen.c \
|
||||||
|
tests/test_pubkey_speed.c \
|
||||||
tests/test_cert.c \
|
tests/test_cert.c \
|
||||||
tests/test_med_db.c \
|
tests/test_med_db.c \
|
||||||
tests/test_aes.c \
|
tests/test_aes.c \
|
||||||
|
|||||||
@@ -30,6 +30,7 @@ DEFINE_TEST("MySQL operations", test_mysql, FALSE)
|
|||||||
DEFINE_TEST("SQLite operations", test_sqlite, FALSE)
|
DEFINE_TEST("SQLite operations", test_sqlite, FALSE)
|
||||||
DEFINE_TEST("mutex primitive", test_mutex, FALSE)
|
DEFINE_TEST("mutex primitive", test_mutex, FALSE)
|
||||||
DEFINE_TEST("RSA key generation", test_rsa_gen, 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("RSA subjectPublicKeyInfo loading", test_rsa_load_any, FALSE)
|
||||||
DEFINE_TEST("X509 certificate", test_cert_x509, FALSE)
|
DEFINE_TEST("X509 certificate", test_cert_x509, FALSE)
|
||||||
DEFINE_TEST("Mediation database key fetch", test_med_db, FALSE)
|
DEFINE_TEST("Mediation database key fetch", test_med_db, FALSE)
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user