/* * hyper.cpp * */ #include "Math/gfpvar.h" #include "Protocols/Shamir.hpp" int main(int argc, char** argv) { assert(argc > 2); gfpvar::init_field(argv[3]); vector> hyper; int t = atoi(argv[1]); int n = atoi(argv[2]); Shamir>::get_hyper(hyper, t, n); octetStream os; os.store(hyper); ofstream out(Shamir>::hyper_filename(t, n)); os.output(out); }