feat(cpp): use cxx (was cbindgen) and mv interface in a workspace

This commit is contained in:
Mayeul@Zama
2022-04-13 09:26:30 +02:00
committed by rudy-6-4
parent 8f3cb77d95
commit fee5b10b0e
14 changed files with 243 additions and 5 deletions

View File

@@ -0,0 +1,11 @@
#include "concrete-optimizer.hpp"
int main(int argc, char *argv[]) {
auto solution = concrete_optimizer::optimise_bootstrap(1, 128, 1, .05);
if (solution.glwe_polynomial_size != 1024) {
return 1;
}
return 0;
}