/* * Fake-ECDSA.cpp * */ #include "ECDSA/P256Element.h" #include "Tools/mkpath.h" #include "Protocols/fake-stuff.hpp" #include "Protocols/Share.hpp" #include "Processor/Data_Files.hpp" int main() { P256Element::init(); P256Element::Scalar key; gf2n key2; string prefix = PREP_DIR "ECDSA/"; mkdir_p(prefix.c_str()); ofstream outf; write_online_setup(outf, prefix, P256Element::Scalar::pr(), 0, false); generate_mac_keys>(key, key2, 2, prefix); make_mult_triples>(key, 2, 1000, false, prefix); make_inverse>(key, 2, 1000, false, prefix); }