frost: add example file

This commit adds an example file to demonstrate how to use the module.
This commit is contained in:
Jesse Posner committed 2024-07-16 23:36:51 -07:00
1 parent ef15156ffb
commit c2d48a7039
4 files changed
+308 -1

No files matched your search

+11
View File
@@ -195,6 +195,17 @@ musig_example_LDFLAGS += -lbcrypt
endif
TESTS += musig_example
endif
if ENABLE_MODULE_FROST
noinst_PROGRAMS += frost_example
frost_example_SOURCES = examples/frost.c
frost_example_CPPFLAGS = -I$(top_srcdir)/include -DSECP256K1_STATIC
frost_example_LDADD = libsecp256k1.la
frost_example_LDFLAGS = -static
if BUILD_WINDOWS
frost_example_LDFLAGS += -lbcrypt
endif
TESTS += frost_example
endif
endif
### Precomputed tables