You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
341 B

6 years ago
6 years ago
6 years ago
6 years ago
  1. include "../../circuit/escalarmul.circom";
  2. template Main() {
  3. signal input in[256];
  4. signal output out[2];
  5. var i;
  6. component escalarMul = EscalarMul(256);
  7. for (i=0; i<256; i++) {
  8. in[i] ==> escalarMul.in[i];
  9. }
  10. escalarMul.out[0] ==> out[0];
  11. escalarMul.out[1] ==> out[1];
  12. }
  13. component main = Main();