aboutsummaryrefslogtreecommitdiff
path: root/smc.h
diff options
context:
space:
mode:
authorMarkus Teich <markus.teich@stusta.mhn.de>2016-06-13 21:01:14 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-06-13 21:01:14 +0200
commit557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618 (patch)
tree1804896d2e6d2ffb14936a6570b96c65e230143f /smc.h
parent745dff3ac02a97d5686270fd142a31ad6e5badb2 (diff)
add first ZKP including test case
Diffstat (limited to 'smc.h')
-rw-r--r--smc.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/smc.h b/smc.h
new file mode 100644
index 0000000..d5a13cf
--- /dev/null
+++ b/smc.h
@@ -0,0 +1,10 @@
+
+#ifndef _BRANDT_SMC_H
+#define _BRANDT_SMC_H
+
+#include <gcrypt.h>
+
+void smc_zkp_dl (gcry_mpi_point_t v, gcry_mpi_point_t g, gcry_mpi_t x, gcry_mpi_point_t *a, gcry_mpi_t *c, gcry_mpi_t *r);
+int smc_zkp_dl_check (gcry_mpi_point_t v, gcry_mpi_point_t g, gcry_mpi_point_t a, gcry_mpi_t c, gcry_mpi_t r);
+
+#endif