mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-06 01:20:50 +02:00
6fb617aba9
Extend the swdev callback to handle ECC operations: keygen, ECDH, sign, verify, get-size, get-sig-size. Relax WOLF_CRYPTO_CB_ONLY_ECC guards in the test suite so that tests run under swdev, and wire wc_SwDev_Init/Cleanup into testsuite, client, and server. Two tests are intentionally kept excluded even with swdev because they call raw ECC math primitives (wc_ecc_mulmod, on-curve validation in wc_ecc_import_x963) that are stripped below the cryptocb dispatch layer: - ecc_mulmod_test (wolfcrypt/test/test.c) - test_wc_ecc_import_x963_off_curve (tests/api/test_ecc.c)
33 lines
1.3 KiB
Plaintext
33 lines
1.3 KiB
Plaintext
# vim:ft=automake
|
|
# included from Top Level Makefile.am
|
|
# All paths should be given relative to the root
|
|
|
|
|
|
if BUILD_TESTS
|
|
check_PROGRAMS += testsuite/testsuite.test
|
|
noinst_PROGRAMS += testsuite/testsuite.test
|
|
testsuite_testsuite_test_SOURCES = \
|
|
wolfcrypt/test/test.c \
|
|
examples/client/client.c \
|
|
examples/echoclient/echoclient.c \
|
|
examples/echoserver/echoserver.c \
|
|
examples/server/server.c \
|
|
examples/ocsp_responder/ocsp_responder.c \
|
|
testsuite/testsuite.c
|
|
testsuite_testsuite_test_CFLAGS = -DNO_MAIN_DRIVER $(AM_CFLAGS) $(WOLFSENTRY_INCLUDE)
|
|
testsuite_testsuite_test_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD) $(WOLFSENTRY_LIB)
|
|
testsuite_testsuite_test_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
|
|
if BUILD_SWDEV
|
|
testsuite_testsuite_test_SOURCES += tests/swdev/swdev_loader.c
|
|
testsuite_testsuite_test_LDADD += $(top_builddir)/tests/swdev/build/swdev.o $(LIBM)
|
|
testsuite_testsuite_test_DEPENDENCIES += $(top_builddir)/tests/swdev/build/swdev.o
|
|
endif
|
|
endif
|
|
EXTRA_DIST += testsuite/testsuite.sln
|
|
EXTRA_DIST += testsuite/testsuite.vcproj
|
|
EXTRA_DIST += testsuite/testsuite.vcxproj
|
|
EXTRA_DIST += testsuite/utils.h
|
|
EXTRA_DIST += input
|
|
EXTRA_DIST += quit
|
|
DISTCLEANFILES+= testsuite/.libs/testsuite.test
|