This is a minimalist and complete implementation of Shamir's secret sharing algorithm as described in JACM1979. The goal is to provide a generic and efficient implementation.
You will need a C90 compiler, CMake 3.6+, and OpenSSL 1.1+.
To build and run the tests:
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=<path> ..
cmake --build . --target install
cmake --build . --target test
In case of bugs/questions, please contact me on Github.