33class Verifier :
public VerifierLayers<Field> {
34 using super = VerifierLayers<Field>;
36 using typename super::Elt;
44 if (why ==
nullptr || circ ==
nullptr || proof ==
nullptr ||
45 V ==
nullptr || X ==
nullptr) {
52 tss.write_input(X.get());
54 if (!(super::circuit(why, &cl, circ, proof, &ch, std::move(V), tss,
61 X->bind_all(circ->logc, cl.q, F);
68 for (
size_t hand = 0; hand < 2; ++hand) {
69 VH[hand]->bind_all(cl.logv, cl.g[hand], F);
70 Elt got = VH[hand]->scalar();
71 if (got != cl.claim[hand]) {
72 *why =
"got != cl.claim[hand]";