mirror of
https://github.com/wolfSSL/wolfssl
synced 2026-05-24 10:18:22 +00:00
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)
22 lines
961 B
Text
22 lines
961 B
Text
# vim:ft=automake
|
|
# All paths should be given relative to the root
|
|
|
|
if BUILD_EXAMPLE_CLIENTS
|
|
noinst_PROGRAMS += examples/client/client
|
|
noinst_HEADERS += examples/client/client.h
|
|
examples_client_client_SOURCES = examples/client/client.c
|
|
examples_client_client_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD) $(WOLFSENTRY_LIB)
|
|
examples_client_client_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
|
|
if BUILD_SWDEV
|
|
examples_client_client_SOURCES += tests/swdev/swdev_loader.c
|
|
examples_client_client_LDADD += $(top_builddir)/tests/swdev/build/swdev.o $(LIBM)
|
|
examples_client_client_DEPENDENCIES += $(top_builddir)/tests/swdev/build/swdev.o
|
|
endif
|
|
examples_client_client_CFLAGS = $(WOLFSENTRY_INCLUDE) $(AM_CFLAGS)
|
|
endif
|
|
EXTRA_DIST += examples/client/client.sln
|
|
EXTRA_DIST += examples/client/client.vcproj
|
|
EXTRA_DIST += examples/client/client.vcxproj
|
|
|
|
dist_example_DATA+= examples/client/client.c
|
|
DISTCLEANFILES+= examples/client/.libs/client
|