diff options
author | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-13 21:01:14 +0200 |
---|---|---|
committer | Markus Teich <markus.teich@stusta.mhn.de> | 2016-06-13 21:01:14 +0200 |
commit | 557fbe2cc32f3ff6d8c2c0c8aa272f7b55f45618 (patch) | |
tree | 1804896d2e6d2ffb14936a6570b96c65e230143f /smc.h | |
parent | 745dff3ac02a97d5686270fd142a31ad6e5badb2 (diff) |
add first ZKP including test case
Diffstat (limited to 'smc.h')
-rw-r--r-- | smc.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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 |